Skip to content

A collection of Text processing tools.

License

Notifications You must be signed in to change notification settings

aredotna/texter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

4f6de9b · Apr 23, 2023

History

15 Commits
Apr 20, 2023
Apr 7, 2023
Apr 23, 2023
Apr 6, 2023
Apr 23, 2023
Apr 7, 2023
Apr 2, 2023
Apr 6, 2023
Apr 2, 2023
Apr 7, 2023
Apr 2, 2023
Apr 10, 2023
Apr 2, 2023
Apr 23, 2023

Repository files navigation

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.

About

A collection of Text processing tools.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages