fixing problem with - in word the english morphology not work correctly because word forms contains it
git-svn-id: https://russianmorphology.googlecode.com/svn/trunk@97 d817d54c-26ab-11de-abc9-2f7d1455ff7a
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@ -32,7 +32,7 @@ import java.util.HashSet;
|
||||
public class EnglishAnalayzerTest {
|
||||
|
||||
@Test
|
||||
public void shoudGiveCorretWords() throws IOException {
|
||||
public void shouldGiveCorrectWords() throws IOException {
|
||||
InputStream stream = this.getClass().getResourceAsStream("/org/apache/lucene/morphology/english/englsih-analayzer-answer.txt");
|
||||
BufferedReader breader = new BufferedReader(new InputStreamReader(stream, "UTF-8"));
|
||||
String[] strings = breader.readLine().replaceAll(" +", " ").trim().split(" ");
|
||||
|
Reference in New Issue
Block a user