sethhall / chromium-compact-language-detector

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

language not detecting for 4-5 words #11

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I have put 4-5 words, But CLD not detecting language for that.

What Should be an issue ??

Original issue reported on code.google.com by nileshgo...@gmail.com on 2 Jan 2013 at 12:24

GoogleCodeExporter commented 9 years ago
Try putting those same 4 or 5 words into a standalone foobar.html, open that 
file with Chrome, and see whether Chrome also thinks it's the wrong language?  
If not, there's not much we can do here (you'd need to open an issue w/ 
Chromium).

Original comment by luc...@mikemccandless.com on 2 Jan 2013 at 8:37

GoogleCodeExporter commented 9 years ago
>>import cld
>>cld.detect("I have to update")

Output -:
  ('Unknown', 'un', True, 19, [])

Why I am getting this ??

I should get english language.

Original comment by nileshgo...@gmail.com on 3 Jan 2013 at 5:28

GoogleCodeExporter commented 9 years ago
I suspect that's just too little text for CLD to work?

Original comment by luc...@mikemccandless.com on 3 Jan 2013 at 2:17

GoogleCodeExporter commented 9 years ago

Original comment by luc...@mikemccandless.com on 12 Sep 2013 at 6:42

GoogleCodeExporter commented 9 years ago
4-5 words need to work for CLD even.But unfortunately It is not working.

It should be better to detect each language. In some cases, we can neglect 2-3 
language.

Also, detection should be proper. 

Original comment by nileshgo...@gmail.com on 30 Oct 2013 at 8:28

GoogleCodeExporter commented 9 years ago
You could try opening an issue against he cld project (this project just wraps 
python APIs around cld).

Original comment by luc...@mikemccandless.com on 30 Oct 2013 at 10:26