Remove Android.bp.

This crate does not appear to be used anywhere, at least by Soong.

It would be nice to delete it because it hasn't been updated upstream in
a long time, and is problematic because it includes undeclared GPL code
(which we have deleted).

Removing Android.bp is a first step to getting rid of the crate
entirely.

Bug: http://b/339424309
Test: treehugger
Change-Id: I4020e10b1b189ee06f15ff46c9cca7f7908a8fae
1 file changed
tree: 6ebba5a27a080841f7a6b8cb7bb997d2b4fa40c1
  1. algorithms/
  2. examples/
  3. src/
  4. Cargo.toml
  5. Cargo.toml.orig
  6. cargo_embargo.json
  7. LICENSE
  8. METADATA
  9. MODULE_LICENSE_BSD
  10. MODULE_LICENSE_MIT
  11. OWNERS
  12. README.md
README.md

Rust Stemmers

This crate implements some stemmer algorithms found in the snowball project which are compiled to rust using the rust-backend of the snowball compiler.

Supported Algorithms

  • Arabic
  • Danish
  • Dutch
  • English
  • French
  • German
  • Greek
  • Hungarian
  • Italian
  • Norwegian
  • Portuguese
  • Romanian
  • Russian
  • Spanish
  • Swedish
  • Tamil
  • Turkish

Usage

extern crate rust_stemmers;
use rust_stemmers::{Algorithm, Stemmer};

// Create a stemmer for the english language
let en_stemmer = Stemmer::create(Algorithm::English);

// Stemm the word "fruitlessly"
// Please be aware that all algorithms expect their input to only contain lowercase characters.
assert_eq!(en_stemmer.stem("fruitlessly"), "fruitless");

Related Projects

  • The stemmer crate provides bindings to the C Snowball implementation.