jakc13

Untitled

Nov 27th, 2012
157
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.53 KB | None | 0 0
  1. Based on great work on the london map, trying to recreate this for my local town.
  2. According to CENSUS, Greek is 2nd most spoken language at home, but had 2 in 40k results returned as Greek...
  3.  
  4. If I enter a clear phrase into Google Translate, and get the greek output, and then throw this at CLD, it never seems to be able to get it right.
  5.  
  6. >>> cld.detect("Σήμερα ο καιρός είναι ζεστός", pickSummaryLanguage=False, removeWeakMatches=True)
  7. ('RUSSIAN', 'ru', True, 22, [('RUSSIAN', 'ru', 31, 1.303780964797914)])
Advertisement
Add Comment
Please, Sign In to add comment