Maple Professional
Maple Academic
Maple Student Edition
Maple Personal Edition
Maple Player
Maple Player for iPad
MapleSim Professional
MapleSim Academic
Maple T.A. - Testing & Assessment
Maple T.A. MAA Placement Test Suite
Möbius - Online Courseware
Machine Design / Industrial Automation
Aerospace
Vehicle Engineering
Robotics
Power Industries
System Simulation and Analysis
Model development for HIL
Plant Modeling for Control Design
Robotics/Motion Control/Mechatronics
Other Application Areas
Mathematics Education
Engineering Education
High Schools & Two-Year Colleges
Testing & Assessment
Students
Financial Modeling
Operations Research
High Performance Computing
Physics
Live Webinars
Recorded Webinars
Upcoming Events
MaplePrimes
Maplesoft Blog
Maplesoft Membership
Maple Ambassador Program
MapleCloud
Technical Whitepapers
E-Mail Newsletters
Maple Books
Math Matters
Application Center
MapleSim Model Gallery
User Case Studies
Exploring Engineering Fundamentals
Teaching Concepts with Maple
Maplesoft Welcome Center
Teacher Resource Center
Student Help Center
StringTools[Metaphone] - Metaphone function
Calling Sequence
Metaphone( s )
Parameters
s
-
Maple string
Description
The Metaphone(s) command implements the Metaphone algorithm.
The metaphone of a name is a phonetic hash of the consonant sounds in the name. It is designed to be an improvement on the traditional soundex algorithm. Metaphones have the property that words, which are pronounced similarly, produce the same metaphone and can thus be used to simplify searches in databases where the pronunciation but not the spelling is known.
While the soundex algorithm hashes words to a four character string consisting of a letter followed by three digits, the metaphone of a word produces a varying length string consisting entirely of consonants, with the possible exception of a leading vowel.
Examples
See Also
string, StringTools, StringTools[Soundex]
References
Philips, Lawrence. "Hanging on the Metaphone." Computer Language. December 1990, pp. 38-44.
Download Help Document