Class JapaneseTokenizerFactory
Factory for JapaneseTokenizer.
<fieldType name="text_ja" class="solr.TextField">
<analyzer>
<tokenizer class="solr.JapaneseTokenizerFactory"
mode="NORMAL"
userDictionary="user.txt"
userDictionaryEncoding="UTF-8"
discardPunctuation="true"
/>
<filter class="solr.JapaneseBaseFormFilterFactory"/>
</analyzer>
</fieldType>
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Lucene.Net.Analysis.Ja
Assembly: Lucene.Net.Analysis.Kuromoji.dll
Syntax
public class JapaneseTokenizerFactory : TokenizerFactory, IResourceLoaderAware
Constructors
| Improve this Doc View SourceJapaneseTokenizerFactory(IDictionary<String, String>)
Creates a new JapaneseTokenizerFactory.
Declaration
public JapaneseTokenizerFactory(IDictionary<string, string> args)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IDictionary<System.String, System.String> | args |
Methods
| Improve this Doc View SourceCreate(AttributeSource.AttributeFactory, TextReader)
Declaration
public override Tokenizer Create(AttributeSource.AttributeFactory factory, TextReader input)
Parameters
Type | Name | Description |
---|---|---|
AttributeSource.AttributeFactory | factory | |
System.IO.TextReader | input |
Returns
Type | Description |
---|---|
Tokenizer |
Overrides
| Improve this Doc View SourceInform(IResourceLoader)
Declaration
public virtual void Inform(IResourceLoader loader)
Parameters
Type | Name | Description |
---|---|---|
IResourceLoader | loader |