Skip to main content

apiverve_lemmatizer 1.2.6 copy "apiverve_lemmatizer: ^1.2.6" to clipboard
apiverve_lemmatizer: ^1.2.6 copied to clipboard

Text Lemmatizer reduces inflected words in submitted text down to their dictionary base forms. It confirms when valid lemmas exist, while paid plans return each lemma with its occurrence count.

Text Lemmatizer API - Dart/Flutter Client #

Text Lemmatizer reduces inflected words in submitted text down to their dictionary base forms. It confirms when valid lemmas exist, while paid plans return each lemma with its occurrence count.

pub package License: MIT

This is the Dart/Flutter client for the Text Lemmatizer API.

Installation #

Add this to your pubspec.yaml:

dependencies:
  apiverve_lemmatizer: ^1.2.6

Then run:

dart pub get
# or for Flutter
flutter pub get

Usage #

import 'package:apiverve_lemmatizer/apiverve_lemmatizer.dart';

void main() async {
  final client = LemmatizerClient('YOUR_API_KEY');

  try {
    final response = await client.execute({
      'text': 'The cats ran from door to door'
    });

    print('Status: ${response.status}');
    print('Data: ${response.data}');
  } catch (e) {
    print('Error: $e');
  }
}

Response #

{
  "status": "ok",
  "error": null,
  "data": {
    "found": 3,
    "lemmas": {
      "cat": 1,
      "ran": 1,
      "door": 2
    }
  }
}

API Reference #

Authentication #

All requests require an API key. Get yours at apiverve.com.

License #

MIT License - see LICENSE for details.


Built with Dart for APIVerve

0
likes
130
points
826
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Text Lemmatizer reduces inflected words in submitted text down to their dictionary base forms. It confirms when valid lemmas exist, while paid plans return each lemma with its occurrence count.

Homepage
Repository (GitHub)
View/report issues
Contributing

License

MIT (license)

Dependencies

http, http_parser

More

Packages that depend on apiverve_lemmatizer