use of org.apache.tika.language.detect.LanguageDetector in project tika by apache.
the class Lingo24LangDetectorTest method testLanguageLoad.
@Test
public void testLanguageLoad() {
LanguageDetector detector = new Lingo24LangDetector();
assumeTrue(((Lingo24LangDetector) detector).isAvailable());
// Only check a couple
assertTrue(detector.hasModel("ar"));
assertTrue(detector.hasModel("de"));
}
Aggregations