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/texter
The 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 stopwords
iunstall dependencies:
$ bundle install
run specs:
bundle exec rspec
Bug 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.