Revert accidentally pushed changes in NoriAnalysisTests
This commit is contained in:
parent
532b91ffa6
commit
e852eb0548
|
@ -98,7 +98,7 @@ public class NoriAnalysisTests extends ESTokenStreamTestCase {
|
||||||
.build();
|
.build();
|
||||||
TestAnalysis analysis = createTestAnalysis(settings);
|
TestAnalysis analysis = createTestAnalysis(settings);
|
||||||
Tokenizer tokenizer = analysis.tokenizer.get("my_tokenizer").create();
|
Tokenizer tokenizer = analysis.tokenizer.get("my_tokenizer").create();
|
||||||
tokenizer.setReader(new StringReader(""));
|
tokenizer.setReader(new StringReader("뿌리가 깊은 나무"));
|
||||||
assertTokenStreamContents(tokenizer, new String[] {"뿌리", "가", "깊", "은", "나무"});
|
assertTokenStreamContents(tokenizer, new String[] {"뿌리", "가", "깊", "은", "나무"});
|
||||||
tokenizer.setReader(new StringReader("가늠표"));
|
tokenizer.setReader(new StringReader("가늠표"));
|
||||||
assertTokenStreamContents(tokenizer, new String[] {"가늠표", "가늠", "표"});
|
assertTokenStreamContents(tokenizer, new String[] {"가늠표", "가늠", "표"});
|
||||||
|
|
Loading…
Reference in New Issue