commit | 7e7449ce8e79a0b992689218c57f7cdf42513744 | [log] [tgz] |
---|---|---|
author | James Farrell <[email protected]> | Thu Oct 24 16:20:55 2024 +0000 |
committer | James Farrell <[email protected]> | Thu Oct 24 16:20:55 2024 +0000 |
tree | 6ebba5a27a080841f7a6b8cb7bb997d2b4fa40c1 | |
parent | c7b322df3f6d9da4b06279c1b6af02cd8f472d6a [diff] |
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
This crate implements some stemmer algorithms found in the snowball project which are compiled to rust using the rust-backend of the snowball compiler.
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");