Cadmium::StringExtension
Instance methods
phonetics(max_length = nil, phonetics = Cadmium::Metaphone)
Sourcepluralize(noun = true)
Sourcesentiment(inject = nil)
Get the sentiment of a string. Same as running
Cadmium::Sentiment.analyze(STRING).
singularize(noun = true)
Sourcesounds_like(word, phonetics = Cadmium::Metaphone)
Sourcestem(stemmer = Cadmium::PorterStemmer)
Sourcetokenize(tokenizer = Cadmium::WordPunctuationTokenizer, *args, **kwargs)
Sourcetokenize_and_phoneticize(keep_stops = false, phonetics = Cadmium::Metaphone)
Sourcetokenize_and_stem(stemmer = Cadmium::PorterStemmer, keep_stops = false)
Source