public final class DictionaryDecompounderTokenFilter extends TokenFilter
Constructor and Description |
---|
DictionaryDecompounderTokenFilter() |
Modifier and Type | Method and Description |
---|---|
Integer |
getMaxSubwordSize()
Get the maxSubwordSize property: The maximum subword size.
|
Integer |
getMinSubwordSize()
Get the minSubwordSize property: The minimum subword size.
|
Integer |
getMinWordSize()
Get the minWordSize property: The minimum word size.
|
List<String> |
getWordList()
Get the wordList property: The list of words to match against.
|
Boolean |
isOnlyLongestMatch()
Get the onlyLongestMatch property: A value indicating whether to add
only the longest matching subword to the output.
|
DictionaryDecompounderTokenFilter |
setMaxSubwordSize(Integer maxSubwordSize)
Set the maxSubwordSize property: The maximum subword size.
|
DictionaryDecompounderTokenFilter |
setMinSubwordSize(Integer minSubwordSize)
Set the minSubwordSize property: The minimum subword size.
|
DictionaryDecompounderTokenFilter |
setMinWordSize(Integer minWordSize)
Set the minWordSize property: The minimum word size.
|
DictionaryDecompounderTokenFilter |
setOnlyLongestMatch(Boolean onlyLongestMatch)
Set the onlyLongestMatch property: A value indicating whether to add
only the longest matching subword to the output.
|
DictionaryDecompounderTokenFilter |
setWordList(List<String> wordList)
Set the wordList property: The list of words to match against.
|
getName, setName
public List<String> getWordList()
public DictionaryDecompounderTokenFilter setWordList(List<String> wordList)
wordList
- the wordList value to set.public Integer getMinWordSize()
public DictionaryDecompounderTokenFilter setMinWordSize(Integer minWordSize)
minWordSize
- the minWordSize value to set.public Integer getMinSubwordSize()
public DictionaryDecompounderTokenFilter setMinSubwordSize(Integer minSubwordSize)
minSubwordSize
- the minSubwordSize value to set.public Integer getMaxSubwordSize()
public DictionaryDecompounderTokenFilter setMaxSubwordSize(Integer maxSubwordSize)
maxSubwordSize
- the maxSubwordSize value to set.public Boolean isOnlyLongestMatch()
public DictionaryDecompounderTokenFilter setOnlyLongestMatch(Boolean onlyLongestMatch)
onlyLongestMatch
- the onlyLongestMatch value to set.Copyright © 2020 Microsoft Corporation. All rights reserved.