https://github.com/parolkar/inflectionist
Complex linguistic processing on top of ActiveSupport's Inflections in form of a plugin
https://github.com/parolkar/inflectionist
Last synced: 8 months ago
JSON representation
Complex linguistic processing on top of ActiveSupport's Inflections in form of a plugin
- Host: GitHub
- URL: https://github.com/parolkar/inflectionist
- Owner: parolkar
- License: mit
- Created: 2009-04-01T10:14:04.000Z (about 17 years ago)
- Default Branch: master
- Last Pushed: 2009-04-27T19:51:33.000Z (about 17 years ago)
- Last Synced: 2024-05-19T00:05:09.845Z (almost 2 years ago)
- Language: Ruby
- Homepage:
- Size: 83 KB
- Stars: 10
- Watchers: 2
- Forks: 7
- Open Issues: 1
-
Metadata Files:
- Readme: README
- License: MIT-LICENSE
Awesome Lists containing this project
README
Inflectionist
=============
The old school ActiveSupport's inflections allowed you to pluralize, singularize , humanize etc. And when you wanted little more complex linguistic processing , you found nothing. Here comes Inflectionist for your rescue. It is an extension to ActiveSupport inflections available in form of a rails plugin. For now, this will allow you to find simple past tense of any given word.
Example
=======
With this plugin installed in your rails app, you will be able to perform operations on strings this way...
"create".to_past_tense => "created"
"buy".to_past_tense => "bought"
"fight".to_past_tense => "fought"
"market".to_past_tense => "marketed"
"animate".to_past_tense => "animated"
"fluctuate".to_past_tense => "fluctuated"
"tag".to_past_tense => "tagged"
"feel".to_past_tense => "felt"
Installation
============
script/plugin install git://github.com/parolkar/inflectionist.git
Goals & TODO
============
1.) Implement past to present tense conversion
2.) Implement more complex linguistic processing
3.) Add more inflections
Copyright (c) 2009 Er Abhishek Parolkar, released under the MIT license