You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 15, 2024. It is now read-only.
In my project I have to port the language detector from CLD2 to CLD3. The CLD2 has a concept of Score, and Percentage of some language in the text. Internally the Score is calculated from a probability (not exposed in my understanding) in some way (my assumption was from the field textBytes that represents the size in bytes of the text, the accuracy and distribution of each label in the text), something like Acc=1-textBytes/Score
In CLD2 the function that normalizes these scores is
In my project I have to port the language detector from CLD2 to CLD3. The CLD2 has a concept of
Score
, andPercentage
of some language in the text. Internally theScore
is calculated from a probability (not exposed in my understanding) in some way (my assumption was from the fieldtextBytes
that represents the size in bytes of the text, the accuracy and distribution of each label in the text), something likeAcc=1-textBytes/Score
In CLD2 the function that normalizes these scores is
That said, since I need to upgrade to CLD3, I have at some point to convert from CLD2
Score
to CLD3 accuracy value. Any hint how to achieve that?Here for reference:
dachev/node-cld#52
The text was updated successfully, but these errors were encountered: