Property | Type | Description | |
---|---|---|---|
AdvancedFinalize | void | ||
BasicFinalize | void | ||
IntermediateFinalize | void | ||
ProcessDigit | void | ||
ProcessPunctuation | void | ||
PunctuationSequencePatternPrefix | string | ||
PunctuationSequencePatternSuffix | string |
Method | Description | |
---|---|---|
FinalizeResult ( string desiredKey, List |
|
|
ProcessPunctationTokens ( |
Initializes a new instance of the ProcessPunctationTokens class.
|
|
ProcessToken ( ITextToken tok, string desiredKey, List |
Extract the punctuation sequences from this token
|
|
ProcessWhitespaceOrParagraph ( bool fIsParaStart ) : void |
Add whitespace to the list unless the last item in the list is already whitespace
|
Method | Description | |
---|---|---|
AdvancedFinalize ( |
Treat each punctuation and whitespace sequence as a single string. It is called advanced since many more inventory items for the user to look at, and only advanced users (we hope) will look at these results.
|
|
BasicFinalize ( string desiredKey, List |
Basic finalize is complicated because it generates a pattern for every punctuation mark. An exception is if multiple consecutive periods occur, then a string of periods will be in one pattern.
|
|
IntermediateFinalize ( string desiredKey, List |
Treat each punctuation sequence as a single string, breaking the pattern at each whitespace (Except for whitespace between pairs of quotes that are both in the same direction (both opening or closing quotes).
|
|
ProcessDigit ( ITextToken tok, int i ) : void |
Add a number to the list
|
|
ProcessPunctuation ( ITextToken tok, int i ) : void |
Add punctuation to list
|
|
PunctuationSequencePatternPrefix ( int index ) : string |
Look at previous non-punctuation tokens, the first token that is found determines the prefix for this pattern for example, if it finds whitespace token, it returns a prefix of _
|
|
PunctuationSequencePatternSuffix ( int index ) : string |
Look at following non-punctuation tokens, the first token that is found determines the suffix for this pattern for example, if it finds whitespace token, it returns a suffix of _
|
public FinalizeResult ( string desiredKey, List |
||
desiredKey | string | |
result | List |
|
addWhitespace | bool | |
return | void |
public ProcessPunctationTokens ( |
||
categorizer | The categorizer. | |
quotationCategorizer | The quotation categorizer. | |
level | CheckingLevel | Indicator to determine how much to combine contiguous /// punctuation sequences into patterns. Advanced = All contiguous punctuation and /// whitespace characters form a single pattern; Intermediate = Contiguous punctuation /// forms a single pattern (delimeted by whitespace); Basic = Each punctuation character /// stands alone. In all three modes, whitespace before and/or after a punctuation token /// indicates whether is is word-initial, word-medial, word-final, or isolated |
return | System |
public ProcessToken ( ITextToken tok, string desiredKey, List |
||
tok | ITextToken | |
desiredKey | string | |
result | List |
|
return | void |
public ProcessWhitespaceOrParagraph ( bool fIsParaStart ) : void | ||
fIsParaStart | bool | True for the token to be a paragraph start, false otherwise. /// |
return | void |