From 5de9c6af0b08ce15390fb2cc64c7e158cfc12d69 Mon Sep 17 00:00:00 2001 From: Adrien Grand Date: Tue, 28 May 2013 12:53:16 +0000 Subject: [PATCH] Remove HyphenationCompoundWordTokenFilter and DictionaryCompoundWordTokenFilter from the list of offset offenders. git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1486913 13f79535-47bb-0310-9956-ffa450edef68 --- .../test/org/apache/lucene/analysis/core/TestRandomChains.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/lucene/analysis/common/src/test/org/apache/lucene/analysis/core/TestRandomChains.java b/lucene/analysis/common/src/test/org/apache/lucene/analysis/core/TestRandomChains.java index 35d21112988..ccba6812f7b 100644 --- a/lucene/analysis/common/src/test/org/apache/lucene/analysis/core/TestRandomChains.java +++ b/lucene/analysis/common/src/test/org/apache/lucene/analysis/core/TestRandomChains.java @@ -59,7 +59,6 @@ import org.apache.lucene.analysis.charfilter.NormalizeCharMap; import org.apache.lucene.analysis.cjk.CJKBigramFilter; import org.apache.lucene.analysis.commongrams.CommonGramsFilter; import org.apache.lucene.analysis.commongrams.CommonGramsQueryFilter; -import org.apache.lucene.analysis.compound.DictionaryCompoundWordTokenFilter; import org.apache.lucene.analysis.compound.HyphenationCompoundWordTokenFilter; import org.apache.lucene.analysis.compound.TestCompoundWordTokenFilter; import org.apache.lucene.analysis.compound.hyphenation.HyphenationTree; @@ -165,8 +164,6 @@ public class TestRandomChains extends BaseTokenStreamTestCase { for (Class c : Arrays.>asList( ReversePathHierarchyTokenizer.class, PathHierarchyTokenizer.class, - HyphenationCompoundWordTokenFilter.class, - DictionaryCompoundWordTokenFilter.class, // TODO: it seems to mess up offsets!? WikipediaTokenizer.class, // TODO: doesn't handle graph inputs