Constructor CJKBigramFilter
CJKBigramFilter(TokenStream)
Declaration
public CJKBigramFilter(TokenStream in)
Parameters
Type | Name | Description |
---|---|---|
TokenStream | in | Input TokenStream |
CJKBigramFilter(TokenStream, CJKScript)
Declaration
public CJKBigramFilter(TokenStream in, CJKScript flags)
Parameters
Type | Name | Description |
---|---|---|
TokenStream | in | Input TokenStream |
CJKScript | flags |
CJKBigramFilter(TokenStream, CJKScript, Boolean)
Create a new CJKBigramFilter, specifying which writing systems should be bigrammed, and whether or not unigrams should also be output.
Declaration
public CJKBigramFilter(TokenStream in, CJKScript flags, bool outputUnigrams)
Parameters
Type | Name | Description |
---|---|---|
TokenStream | in | Input TokenStream |
CJKScript | flags | |
System.Boolean | outputUnigrams | true if unigrams for the selected writing systems should also be output. when this is false, this is only done when there are no adjacent characters to form a bigram. |