mirror of https://github.com/apache/lucene.git
Add breif descriptions for supported parameters
This commit is contained in:
parent
4c45557826
commit
4c27b839e5
|
@ -34,6 +34,12 @@ import org.apache.lucene.analysis.util.TokenFilterFactory;
|
||||||
* </analyzer>
|
* </analyzer>
|
||||||
* </fieldType>
|
* </fieldType>
|
||||||
* </pre>
|
* </pre>
|
||||||
|
*
|
||||||
|
* <p>
|
||||||
|
* Supports the following attributes:
|
||||||
|
* <ul>
|
||||||
|
* <li>tags: List of stop tags. if not specified, {@link KoreanPartOfSpeechStopFilter#DEFAULT_STOP_TAGS} is used.</li>
|
||||||
|
* </ul>
|
||||||
* @lucene.experimental
|
* @lucene.experimental
|
||||||
*/
|
*/
|
||||||
public class KoreanPartOfSpeechStopFilterFactory extends TokenFilterFactory {
|
public class KoreanPartOfSpeechStopFilterFactory extends TokenFilterFactory {
|
||||||
|
|
|
@ -32,6 +32,7 @@ import org.apache.lucene.util.AttributeFactory;
|
||||||
import org.apache.lucene.util.IOUtils;
|
import org.apache.lucene.util.IOUtils;
|
||||||
import org.apache.lucene.analysis.util.ResourceLoader;
|
import org.apache.lucene.analysis.util.ResourceLoader;
|
||||||
import org.apache.lucene.analysis.util.ResourceLoaderAware;
|
import org.apache.lucene.analysis.util.ResourceLoaderAware;
|
||||||
|
import org.apache.lucene.analysis.ko.KoreanTokenizer.DecompoundMode;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Factory for {@link KoreanTokenizer}.
|
* Factory for {@link KoreanTokenizer}.
|
||||||
|
@ -46,7 +47,16 @@ import org.apache.lucene.analysis.util.ResourceLoaderAware;
|
||||||
* />
|
* />
|
||||||
* </analyzer>
|
* </analyzer>
|
||||||
* </fieldType>
|
* </fieldType>
|
||||||
</pre>
|
* </pre>
|
||||||
|
*
|
||||||
|
* <p>
|
||||||
|
* Supports the following attributes:
|
||||||
|
* <ul>
|
||||||
|
* <li>userDictionary: User dictionary path.</li>
|
||||||
|
* <li>userDictionaryEncoding: User dictionary encoding.</li>
|
||||||
|
* <li>decompoundMode: Decompound mode. Either 'none', 'discard', 'mixed'. Default is discard. See {@link DecompoundMode}</li>
|
||||||
|
* <li>outputUnknownUnigrams: If true outputs unigrams for unknown words.</li>
|
||||||
|
* </ul>
|
||||||
* @lucene.experimental
|
* @lucene.experimental
|
||||||
*/
|
*/
|
||||||
public class KoreanTokenizerFactory extends TokenizerFactory implements ResourceLoaderAware {
|
public class KoreanTokenizerFactory extends TokenizerFactory implements ResourceLoaderAware {
|
||||||
|
|
Loading…
Reference in New Issue