Minor javadoc fixup.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1580860 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Dawid Weiss 2014-03-24 14:05:09 +00:00
parent ed22afea8a
commit 0bd8cc3eb5
1 changed files with 6 additions and 1 deletions

View File

@ -35,7 +35,7 @@ public class MorfologikAnalyzer extends Analyzer {
private final Version version;
/**
* Builds an analyzer with the default Morfologik's dictionary (polimorf).
* Builds an analyzer with an explicit dictionary resource.
*
* @param version Lucene compatibility version
* @param dictionaryResource A constant specifying which dictionary to choose. The
@ -49,9 +49,14 @@ public class MorfologikAnalyzer extends Analyzer {
this.version = version;
this.dictionary = dictionaryResource;
}
/**
* Builds an analyzer with the default Morfologik's Polish dictionary.
*/
public MorfologikAnalyzer(final Version version) {
this(version, MorfologikFilterFactory.DEFAULT_DICTIONARY_RESOURCE);
}
/**
* Creates a
* {@link org.apache.lucene.analysis.Analyzer.TokenStreamComponents}