softonic / language-detection

Automatically exported from code.google.com/p/language-detection
0 stars 0 forks source link

Sometimes probabilities sum much more than one #68

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Run the following command several times: java -jar lib/langdetect.jar 
--detectlang -d profiles /tmp/foo -a 0.1
/tmp/foo:[id:2.3424795122886226, tr:0.41968328788890424, es:0.28603564568187495]
  /tmp/foo has the text "olas en la playa"

What is the expected output? What do you see instead?
I expect all the reported probabilities to sum 1, instead a value much higher 
than 1 is reported.

What version of the product are you using? On what operating system?
Latest version on Debian 7.

Original issue reported on code.google.com by skr...@deezer.com on 22 May 2014 at 3:34