Skip to content

Blazingly fast library for computational linguistics

License

Notifications You must be signed in to change notification settings

jacksonllee/rustling

Repository files navigation

Rustling

PyPI crates.io

Rustling is a blazingly fast library of tools for computational linguistics. It is written in Rust, with Python bindings.

Documentation: Python | Rust

Features

  • Word Segmentation — Models for segmenting unsegmented text into words

    • LongestStringMatching — Greedy left-to-right longest match segmenter
    • RandomSegmenter — Random baseline segmenter
  • Part-of-speech Tagging

    • AveragedPerceptronTagger - Averaged perceptron tagger

Performance

See benchmarks

Installation

Python

pip install rustling

Rust

cargo add rustling

License

MIT License