porter_2_stemmer 3.0.2 porter_2_stemmer: ^3.0.2 copied to clipboard
Reduce a word to its root form using the Porter English stemming algorithm.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add porter_2_stemmer
With Flutter:
$ flutter pub add porter_2_stemmer
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
porter_2_stemmer: ^3.0.2
Alternatively, your editor might support dart pub get
or flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:porter_2_stemmer/porter_2_stemmer.dart';