fixing typo

git-svn-id: https://russianmorphology.googlecode.com/svn/trunk@98 d817d54c-26ab-11de-abc9-2f7d1455ff7a
This commit is contained in:
alexander.a.kuznetsov
2010-05-30 06:18:58 +00:00
parent 7bf8ef7d6f
commit e8399999c3
14 changed files with 55 additions and 55 deletions

View File

@ -22,6 +22,6 @@ public interface Morphology {
List<String> getNormalForms(String s);
List<String> getMorfInfo(String s);
List<String> getMorphInfo(String s);
}

View File

@ -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);

View File

@ -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;

View File

@ -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);
}