Skip to content

Latest commit

 

History

History
46 lines (30 loc) · 821 Bytes

README.md

File metadata and controls

46 lines (30 loc) · 821 Bytes

Texter

A Collection of base NLP toolz.

  • language detection
  • stopword filter

Installation

Install the gem and add to the application's Gemfile by executing:

$ bundle add aredotna/texter

API

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

Development

iunstall dependencies:

$ bundle install

run specs:

bundle exec rspec

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/aredotna/texter.

License

The gem is available as open source under the terms of the MIT License.