![]() |
BogaNet 1.4.0
|
Filter to remove excessive punctuation. More...
Public Member Functions | |
virtual bool | Contains (string text, params string[]? sourceNames) |
Searches for bad words in a text. | |
virtual List< string > | GetAll (string text, params string[]? sourceNames) |
Searches for bad words in a text. | |
virtual string | ReplaceAll (string text, params string[]? sourceNames) |
Searches and replaces all bad words in a text. | |
Properties | |
virtual Regex | RegularExpression [get, set] |
RegEx to find excessive punctuation. | |
virtual int? | CharacterNumber [get, set] |
Defines the number of allowed punctuations in a row. | |
![]() | |
static T | Instance [get] |
![]() |
Filter to remove excessive punctuation.
|
virtual |
Searches for bad words in a text.
text | Text to check |
sourceNames | Relevant sources (e.g. "english", optional) |
Implements BogaNet.BWF.Filter.IFilter.
|
virtual |
Searches for bad words in a text.
text | Text to check |
sourceNames | Relevant sources (e.g. "english", optional) |
Implements BogaNet.BWF.Filter.IFilter.
|
virtual |
Searches and replaces all bad words in a text.
text | Text to check |
sourceNames | Relevant sources (e.g. "english", optional) |
Implements BogaNet.BWF.Filter.IFilter.
|
getset |
Defines the number of allowed punctuations in a row.
Implements BogaNet.BWF.Filter.IPunctuationFilter.
|
getset |
RegEx to find excessive punctuation.
Implements BogaNet.BWF.Filter.IPunctuationFilter.