A Collection of base NLP toolz.
- language detection
- stopword filter
Install the gem and add to the application's Gemfile by executing:
$ bundle add aredotna/texterThe Texter::Content object:
tc = Texter::Content.new(text: 'some longer text')
tc.lang #=> 'en', language iso code
tc.paragraphs #=> ["some longer text"], splits text on newline, etc
tc.filtered #=> "longer text", removes stopwordsiunstall dependencies:
$ bundle installrun specs:
bundle exec rspecBug reports and pull requests are welcome on GitHub at https://github.com/aredotna/texter.
The gem is available as open source under the terms of the MIT License.