yake 0.1.1 copy "yake: ^0.1.1" to clipboard
yake: ^0.1.1 copied to clipboard

Pure-Dart port of YAKE! (Yet Another Keyword Extractor) — unsupervised, single-document, language-independent keyword and keyphrase extraction with no models, corpora or network access.

example/main.dart

import 'package:yake/yake.dart';

void main() {
  final yake = Yake(stopwords: englishStopwords);
  const text =
      'The payment gateway migration is blocked on the Stripe webhook '
      'signature. Marco said the payment gateway migration slips to next '
      'sprint unless the webhook fix lands. QA needs a staging build with '
      'the webhook fix by Thursday.';
  for (final k in yake.extract(text, top: 5)) {
    print('${k.score.toStringAsFixed(4)}  ${k.keyword} (x${k.count})');
  }
}
0
likes
145
points
114
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Pure-Dart port of YAKE! (Yet Another Keyword Extractor) — unsupervised, single-document, language-independent keyword and keyphrase extraction with no models, corpora or network access.

Repository (GitHub)
View/report issues

Topics

#nlp #keyword-extraction #text-analysis

License

MIT (license)

More

Packages that depend on yake