Skip to content

Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance

less logging in new language detection

Michael Peter Christen135a123a773c
diff --git a/source/net/yacy/document/language/Identificator.java b/source/net/yacy/document/language/Identificator.java
index 100627ee1..eff63dc34 100644
--- a/source/net/yacy/document/language/Identificator.java
+++ b/source/net/yacy/document/language/Identificator.java
@@ -64,7 +64,8 @@ public final class Identificator {
if(probabilities.isEmpty()) return null;
this.language = this.detector.getProbabilities().get(0);
} catch (LangDetectException e) {
- ConcurrentLog.logException(e);
+ // this contains mostly the message "no features in text"
+ //ConcurrentLog.logException(e);
return null;
}
// Return language only if probability is higher than 30% to account for missing language profiles