Calculates the phonetic code for the given string.
import 'package:phonetics/phonetics.dart';
main() {
print(phonetic('Dart', 'en')); // Returns D630
print(asColognePhonetic('Dart')); // Returns 272
print(asSoundexPhonetic('Dart')); // Returns D630
print(asDoubleMetaphonePhonetic('Dart')); // Returns TRT
print(doubleMetaphoneFuzzyCompare('John', 'Jean'); // Returns true
}
##Soundex
For the English language.
Metaphone
en.wikipedia.org/wiki/Metaphone
Soundex
For the German language.