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
diff --git a/langid/langid.py b/langid/langid.py
index 3c39275..36a9159 100644
--- a/langid/langid.py
+++ b/langid/langid.py
@@ -226,7 +226,7 @@
# to speed up processing.
for lang in langs:
if lang not in nb_classes:
- raise ValueError, "Unknown language code %s" % lang
+ raise ValueError("Unknown language code %s" % lang)
subset_mask = np.fromiter((l in langs for l in nb_classes), dtype=bool)
self.nb_classes = [ c for c in nb_classes if c in langs ]
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: