Legal Words Option
LegalWordsOption object is used to set the options provided in LegalWords Java object. Option fields and various default setting are shown in the following table:
Name | type | Notes | JDI (STRI) Default | STI Default |
---|---|---|---|---|
useMinLength | boolean | flag of check min. length | true | true |
minLength | int | value of min. length | 3 | 3 |
removeStopWord | boolean | flag of remove stopwords | true | true |
useRestrictWord | boolean | flag of use restrictwords only | true | true |
useMinSignal | boolean | flag of check min. signal | true | false |
minSignal | int | value of min. signal | 2 | N/A |
useMaxSignal | boolean | flag of check max. signal | true | false |
maxSignal | int | value of max. signal | 510754 | N/A |
useMinWc | boolean | flag of check min. word count | false | false |
minWc | int | value of min. word count | 2 | 2 |
useMinDc | boolean | flag of check min document count | false | false |
minDc | int | value of min. document count | 2 | 2 |