'Python NLTK solution to shorten people's names
How do you convert these input to the desired output using Python's NLTK module?
Katherine --> Kat or Kath
Abraham --> Abe
Emma --> Em or Emz
Patrick --> Pat
Christopher --> Chris
Lucy --> Lucy
Should I train my own model or there are built-ins that can solve this?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
