Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add an unsure boolean key per file result #15

Closed
Nixinova opened this issue Jun 22, 2022 · 1 comment · Fixed by #19
Closed

Add an unsure boolean key per file result #15

Nixinova opened this issue Jun 22, 2022 · 1 comment · Fixed by #19
Labels
classification Related to classifying files enhancement New feature or request implemented This feature has been added output Related to the output or display

Comments

@Nixinova
Copy link
Owner

It would be useful to be able to tell if LinguistJS is sure of a classification result or if it fell back to the default language.
This could be done with an unsure: true|false key per-file.

@Nixinova Nixinova added enhancement New feature or request classification Related to classifying files labels Jun 22, 2022
@Nixinova
Copy link
Owner Author

In progress work : 31a44cd

@Nixinova Nixinova added the in progress This is being worked on label Jan 12, 2023
Nixinova added a commit that referenced this issue Jun 29, 2023
Contains files that are classified using the fallback language and lists what languages it could be.
Lists files and a list of matches under files.alternatives.
Resolves #15
@Nixinova Nixinova added implemented This feature has been added and removed in progress This is being worked on labels Jun 29, 2023
@Nixinova Nixinova added the output Related to the output or display label Mar 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
classification Related to classifying files enhancement New feature or request implemented This feature has been added output Related to the output or display
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant