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

set optimal parameters for unsupported languages #121

Open
abubelinha opened this issue Apr 4, 2022 · 1 comment
Open

set optimal parameters for unsupported languages #121

abubelinha opened this issue Apr 4, 2022 · 1 comment

Comments

@abubelinha
Copy link

Sorry I don't understand a word about how the Bayes / Odds options work in this context.

So I need to figure out what's the best way to go to detect scientific names in non supported languages, like French, Spanish or Portuguese. Would you change something in this example API query?

{
  "text": "Número.\nNom. Passer domesticus L.\nHabit. en las márgenes del Duero, con Quercus toza, Quercus suber L., etc.\nLegit P. Rousseau.\nPasseriformes",
  "noBayes": true,
  "oddsDetails": false,
  "language": "",
  "wordsAround": 0,
  "verification": true,
  "sources": [11,12,1]
}

BTW I suppose "sources" overrides "verification", right?
I mean, it only makes sense to use "verification" (true/false) when you don't provide a list of sources.

@dimus
Copy link
Member

dimus commented Apr 4, 2022

ATM language is more of a placeholder, and I would say it is save to keep defaults for any language. Only German and Eglish have Bayes training sets, and only English went through a thorough trial and error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants