Treat supplies Ruby developers with a framework for natural language processing.

github.com/louismullie/treat
Treat homepage screenshot

About Treat

Treat is a Ruby toolkit for natural language processing and computational linguistics. The project aims to provide a framework that is not tied to one language or one algorithm. It covers tasks such as document retrieval, text chunking, segmentation and tokenization, natural language parsing, part-of-speech tagging, keyword extraction, and named entity recognition.

The repository carries a warning that the gem is unmaintained. The lead developer says they are seeking developers to help maintain and expand the project.

Key features

  • Text extractors for PDF, HTML, XML, Word, AbiWord, OpenOffice and image formats
  • Text chunkers, sentence segmenters, tokenizers, and parsers, including Stanford and Enju
  • WordNet interface and several part-of-speech taggers for English
  • Language, date/time, LDA topic word, and TF*IDF keyword extraction
  • Stemmers, conjugators, declensors, and number inflection for words
  • Machine learning with decision trees, multilayer perceptrons, LIBLINEAR, and LIBSVM
Best for: Ruby developers who want to explore natural language processing and computational linguistics and are comfortable working with an unmaintained codebase.
Good for
  • Covers many NLP tasks in a single Ruby framework
  • Extracts text from several document formats, including PDF and Word
  • Includes lexical resources such as a WordNet interface
Watch out for
  • The repository states that the gem is unmaintained
  • The listed part-of-speech taggers are described as being for English
  • The lead developer is seeking contributors to maintain the project

Treat at a glance

Type
Open-source project
Pricing
Not confirmed. Check the site
Open source
Not stated
Language
English
Last checked
Oct 6, 2026 · Online when checked
Listed
Oct 5, 2026

Treat alternatives

Tools and sites you could use instead, ranked by how closely they match.

All 24 alternatives

Popular in Programming Languages

Well-known listings from the same topic.

All 66

Treat FAQ

Is Treat currently maintained?
The repository displays a warning that the gem is unmaintained. The lead developer says they are actively seeking developers to help maintain and expand the project.
Can Treat extract text from PDF files?
Yes. The project lists text extractors for PDF, HTML, XML, Word, AbiWord, OpenOffice, and image formats.
Does Treat include machine learning tools?
The feature list includes decision trees, multilayer perceptrons, LIBLINEAR, and LIBSVM.
Is something wrong or out of date?

Tell us and an editor will check it.

Own this website?

Claim the listing and suggest updates yourself. An editor checks every claim first.

Claim this listing