27 lines
634 B
Markdown
27 lines
634 B
Markdown
# lancaster_stemmer
|
|
|
|
Gleam implementation of the Lancaster (Paice/Husk) Stemmer
|
|
|
|
[](https://hex.pm/packages/lancaster_stemmer)
|
|
[](https://hexdocs.pm/lancaster_stemmer/)
|
|
|
|
```sh
|
|
gleam add lancaster_stemmer@1
|
|
```
|
|
```gleam
|
|
import lancaster_stemmer
|
|
|
|
pub fn main() -> Nil {
|
|
lancaster_stemmer.stem("breathe", lancaster_stemmer.default_rules())
|
|
}
|
|
```
|
|
|
|
Further documentation can be found at <https://hexdocs.pm/lancaster_stemmer>.
|
|
|
|
## Development
|
|
|
|
```sh
|
|
gleam run # Run the project
|
|
gleam test # Run the tests
|
|
```
|