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
Also the "langdetect" gives very strange and not consistent results when there is a mix of two languages:
with the code:
from langdetect import detect,detect_langs
t = 'This is fromage, baguette et croissant and also you can imagine ça pourrait être english or french'
for i in range (6):
print('Test ',i)
print(detect_langs(t))
print(detect(t))
It gives:
Test 0
[fr:0.5714279843168742, en:0.4285717922216604]
fr
Test 1
[en:0.7142837816924028, fr:0.28571557060660485]
en
Test 2
[fr:0.5714299506390116, en:0.42856986113627804]
fr
Test 3
[en:0.7142838481684115, fr:0.2857161439607298]
en
Test 4
[en:0.8571394586776105, fr:0.14286018540151038]
en
Test 5
[en:0.8571396261756059, fr:0.1428602973501344]
fr
For example:
Would Youtube provide more reliable information here ?
The text was updated successfully, but these errors were encountered: