adding name and middel name to russian morphology

git-svn-id: https://russianmorphology.googlecode.com/svn/trunk@53 d817d54c-26ab-11de-abc9-2f7d1455ff7a
This commit is contained in:
alexander.a.kuznetsov
2009-10-04 19:28:00 +00:00
parent b95e7f59d5
commit 2cba2dd37e
8 changed files with 791949 additions and 378542 deletions

View File

@ -68,7 +68,7 @@ public class StatiticsCollector implements WordProccessor {
}
public void saveHeuristic() throws IOException {
public void saveHeuristic(String fileName) throws IOException {
Map<Integer, Integer> dist = new TreeMap<Integer, Integer>();
Set<Heuristic> prevSet = null;
@ -116,7 +116,7 @@ public class StatiticsCollector implements WordProccessor {
}
}
Morph morph = new Morph(ints, rulesId, heuristics, grammaReader.getGrammaInfoAsArray());
morph.writeToFile("sep.txt");
morph.writeToFile(fileName);
}
private String revertWord(String s) {