animalClassifier
Module Contents
Functions
|
Count total unique words in the input text and returns an animal type. |
- animalClassifier.animalClassifier(text)
Count total unique words in the input text and returns an animal type.
- Parameters
text (str) – text to be analyzed
- Returns
the corresponding animal species
- Return type
str
Example
>>> animalClassifier("what do you think?") "duck"