Word Management
Select a random word!
Using this function is very simple! Just use the Textify.Words
namespace in any piece of code you want to use the function, as in: using Textify.Data.Analysis.Words;
The WordManager
class contains the following functions (asynchronous functions are suffixed with the Async
word):
InitializeWords()
GetWords()
GetRandomWord()
GetRandomWordConditional()
These functions call the InitializeWords()
function to download the list of words and installs the list of words to the words list for the two above functions to use.
If the conditional version is used, you can specify the maximum length of the word, the prefix of the word, the postfix of the word, and the exact word length.
You can also select one of the following flavors of the word list:
Words
WordsFull
WordsDirty
WordsDirtyFull
BadWords
CommonWords
CommonWordsDirty
Swearing filter
Textify provides a swearing filter that lets you sanitize your sentences from any possible profanity. You can find it under the ProfanityManager
class in the Textify.Data.Analysis.Words.Profanity
namespace.
The profanity filter can analyze your sentences in four ways:
Thorough
Shallow
Mitigated
Partial
You can analyze and filter your sentence from profanities using these functions:
GetProfanities()
FilterProfanities()
Last updated