|
| Name | Description |
|---|
 | WordCounts |
Initializes a new instance with default values. All counts will be set to 0.
|
 | WordCounts(IListToken) |
Initializes a new instance from the values in the provided token collection.
- Word and abbreviation tokens increment the character count by the length of the
token text and increment the word count by one,
- Char sequence tokens (used in far-east tokenization) increment the word and character
count by the length of the token text,
- Punctuation tokens only increment the character count, by the length of the token text,
- Date, time, variable, number, measurement, acronym, uri, and other text placeable tokens
increment the word and character count like words do, but also increment the placeables count,
- Tag tokens increment the tag and placeable counts, but not the word or character counts,
- Whitespace tokens do not increment any counts (even not the character count),
- All other token types do not increment any counts.
- The segment count is set to 1, independent on the number and type of the tokens.
|
 | WordCounts(WordCounts) |
Initializes a new instance with the values of another instance, creating a deep copy.
|
 | WordCounts(IListToken, Boolean, Boolean, Boolean, Boolean) |
Initializes a new instance from the values in the provided token collection.
- Word and abbreviation tokens increment the character count by the length of the
token text and increment the word count by one,
- Char sequence tokens (used in far-east tokenization) increment the word and character
count by the length of the token text,
- Punctuation tokens only increment the character count, by the length of the token text,
- Date, time, variable, number, measurement, acronym, uri, and other text placeable tokens
increment the word and character count like words do, but also increment the placeables count,
- Tag tokens increment the tag and placeable counts, but not the word or character counts,
- Whitespace tokens do not increment any counts (even not the character count),
- All other token types do not increment any counts.
- The segment count is set to 1, independent on the number and type of the tokens.
|