Skip to main content

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

Phonetic Encoder generates phonetic codes for words using Soundex and Metaphone algorithms. These codes represent how words sound, enabling fuzzy matching of similar-sounding names.

Phonetic Encoder API - Dart/Flutter Client #

Phonetic Encoder generates phonetic codes for words using Soundex and Metaphone algorithms. These codes represent how words sound, enabling fuzzy matching of similar-sounding names.

pub package License: MIT

This is the Dart/Flutter client for the Phonetic Encoder API.

Installation #

Add this to your pubspec.yaml:

dependencies:
  apiverve_phonetic: ^1.2.6

Then run:

dart pub get
# or for Flutter
flutter pub get

Usage #

import 'package:apiverve_phonetic/apiverve_phonetic.dart';

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

  try {
    final response = await client.execute({
      'word': 'smith',
      'algorithm': 'both'
    });

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

Response #

{
  "status": "ok",
  "error": null,
  "data": {
    "word": "smith",
    "soundex": "S530",
    "metaphone": "SM0"
  }
}

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
328
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Phonetic Encoder generates phonetic codes for words using Soundex and Metaphone algorithms. These codes represent how words sound, enabling fuzzy matching of similar-sounding names.

Homepage
Repository (GitHub)
View/report issues
Contributing

License

MIT (license)

Dependencies

http, http_parser

More

Packages that depend on apiverve_phonetic