Details
-
New Feature
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
Something like `singularize('movies')` => `'movie'` could be very useful in a combination of `tokenize()` for English NLP on Hivemall.
Implementation mostly relies on regexp as:
- Jave example: https://github.com/sundrio/sundrio/blob/master/codegen/src/main/java/io/sundr/codegen/functions/Singularize.java
- One of the most famous Python implementation https://github.com/clips/pattern/blob/master/pattern/text/en/inflect.py#L445-L623
Attachments
Issue Links
- links to