Apache OpenNLP is a machine learning based toolkit for the processing of natural language text.
Treat
Treat supplies Ruby developers with a framework for natural language processing.

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
- 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
- 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
- Website
- github.com/louismullie/treat
- Category
- Development › Programming Languages
- 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.
rb-libsvm provides Ruby bindings for the LIBSVM machine learning library.
ML.NET provides an open source, cross platform machine learning framework for .NET applications.
The MLJ project provides machine learning tools and a framework for Julia.
Python.org is the official site for the Python programming language and its documentation.
The shimmytok project provides a pure Rust GGUF tokenizer compatible with llama.cpp and ready for WebAssembly.
Popular in Programming Languages
Well-known listings from the same topic.
Treat FAQ
Is Treat currently maintained?
Can Treat extract text from PDF files?
Does Treat include machine learning tools?
Tell us and an editor will check it.
Claim the listing and suggest updates yourself. An editor checks every claim first.












