lib/opener/language_identifier/detector.rb in opener-language-identifier-4.2.0 vs lib/opener/language_identifier/detector.rb in opener-language-identifier-4.2.1
- old
+ new
@@ -46,10 +46,14 @@
'en' => 1.0,
'es' => 0.9,
'it' => 0.9,
'fr' => 0.9,
'de' => 0.9,
- 'nl' => 0.9
+ 'nl' => 0.9,
+
+ # These languages are disabled (for the time being) due to conflicting
+ # with other (OpeNER) languages too often.
+ 'af' => 0.0, # conflicts with Dutch
}
##
# The default priority for non OpeNER languages.
#