fixing typo
git-svn-id: https://russianmorphology.googlecode.com/svn/trunk@98 d817d54c-26ab-11de-abc9-2f7d1455ff7a
This commit is contained in:
@ -22,6 +22,6 @@ public interface Morphology {
|
||||
|
||||
List<String> getNormalForms(String s);
|
||||
|
||||
List<String> getMorfInfo(String s);
|
||||
List<String> getMorphInfo(String s);
|
||||
|
||||
}
|
||||
|
@ -73,7 +73,7 @@ public class MorphologyImpl implements Morphology {
|
||||
return result;
|
||||
}
|
||||
|
||||
public List<String> getMorfInfo(String s) {
|
||||
public List<String> getMorphInfo(String s) {
|
||||
ArrayList<String> result = new ArrayList<String>();
|
||||
int[] ints = decoderEncoder.encodeToArray(revertWord(s));
|
||||
int ruleId = findRuleId(ints);
|
||||
|
@ -14,7 +14,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.apache.lucene.morphology.analayzer;
|
||||
package org.apache.lucene.morphology.analyzer;
|
||||
|
||||
import org.apache.lucene.analysis.TokenFilter;
|
||||
import org.apache.lucene.analysis.TokenStream;
|
@ -14,7 +14,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.apache.lucene.morphology.analayzer;
|
||||
package org.apache.lucene.morphology.analyzer;
|
||||
|
||||
import org.apache.lucene.analysis.Analyzer;
|
||||
import org.apache.lucene.analysis.LowerCaseFilter;
|
||||
@ -29,18 +29,18 @@ import java.io.IOException;
|
||||
import java.io.InputStream;
|
||||
import java.io.Reader;
|
||||
|
||||
public class MorphlogyAnalayzer extends Analyzer {
|
||||
public class MorphologyAnalyzer extends Analyzer {
|
||||
private LuceneMorphology luceneMorph;
|
||||
|
||||
public MorphlogyAnalayzer(LuceneMorphology luceneMorph) {
|
||||
public MorphologyAnalyzer(LuceneMorphology luceneMorph) {
|
||||
this.luceneMorph = luceneMorph;
|
||||
}
|
||||
|
||||
public MorphlogyAnalayzer(String pathToMorph, LetterDecoderEncoder letterDecoderEncoder) throws IOException {
|
||||
public MorphologyAnalyzer(String pathToMorph, LetterDecoderEncoder letterDecoderEncoder) throws IOException {
|
||||
luceneMorph = new LuceneMorphology(pathToMorph, letterDecoderEncoder);
|
||||
}
|
||||
|
||||
public MorphlogyAnalayzer(InputStream inputStream, LetterDecoderEncoder letterDecoderEncoder) throws IOException {
|
||||
public MorphologyAnalyzer(InputStream inputStream, LetterDecoderEncoder letterDecoderEncoder) throws IOException {
|
||||
luceneMorph = new LuceneMorphology(inputStream, letterDecoderEncoder);
|
||||
}
|
||||
|
Reference in New Issue
Block a user