diff options
author | Jon Bratseth <bratseth@yahoo-inc.com> | 2018-01-15 11:36:47 +0100 |
---|---|---|
committer | Jon Bratseth <bratseth@yahoo-inc.com> | 2018-01-15 11:36:47 +0100 |
commit | f3aaa08db00c9df1758fb1ab863ebba13ca043d3 (patch) | |
tree | 7c66b71ef6d77c54d2a756b720d02ce1a2f16e63 /indexinglanguage/src | |
parent | 6bca358e80a11455ee7ef387dfe5f50719460000 (diff) |
Nonfunctional changes only
Diffstat (limited to 'indexinglanguage/src')
-rw-r--r-- | indexinglanguage/src/main/java/com/yahoo/vespa/indexinglanguage/linguistics/LinguisticsAnnotator.java | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/indexinglanguage/src/main/java/com/yahoo/vespa/indexinglanguage/linguistics/LinguisticsAnnotator.java b/indexinglanguage/src/main/java/com/yahoo/vespa/indexinglanguage/linguistics/LinguisticsAnnotator.java index ef94f67d6e6..2b2dcc90e41 100644 --- a/indexinglanguage/src/main/java/com/yahoo/vespa/indexinglanguage/linguistics/LinguisticsAnnotator.java +++ b/indexinglanguage/src/main/java/com/yahoo/vespa/indexinglanguage/linguistics/LinguisticsAnnotator.java @@ -1,16 +1,21 @@ // Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.vespa.indexinglanguage.linguistics; -import java.util.HashMap; -import java.util.Map; - -import com.yahoo.document.annotation.*; +import com.yahoo.document.annotation.Annotation; +import com.yahoo.document.annotation.AnnotationTypes; +import com.yahoo.document.annotation.Span; +import com.yahoo.document.annotation.SpanList; +import com.yahoo.document.annotation.SpanTree; +import com.yahoo.document.annotation.SpanTrees; import com.yahoo.document.datatypes.StringFieldValue; import com.yahoo.language.Linguistics; import com.yahoo.language.process.StemMode; import com.yahoo.language.process.Token; import com.yahoo.language.process.Tokenizer; +import java.util.HashMap; +import java.util.Map; + import static com.yahoo.language.LinguisticsCase.toLowerCase; /** @@ -110,7 +115,7 @@ public class LinguisticsAnnotator { } return; } - if (!token.isIndexable()) { + if ( ! token.isIndexable()) { return; } } |