Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
DoubleMetaphone(3)    User Contributed Perl Documentation   DoubleMetaphone(3)

NAME
       Text::DoubleMetaphone - Phonetic	encoding of words.

SYNOPSIS
	 use Text::DoubleMetaphone qw( double_metaphone	);
	 my($code1, $code2) = double_metaphone("Aubrey");

DESCRIPTION
       This module implements a	"sounds	like" algorithm	developed by Lawrence
       Philips which he	published in the June, 2000 issue of C/C++ Users
       Journal.	 Double	Metaphone is an	improved version of Philips' original
       Metaphone algorithm.

       In contrast to the Soundex and Metaphone	algorithms, Double Metaphone
       will sometimes return two encodings for words that can be plausibly
       pronounced multiple ways.

       For additional details, see Philips' discussion of the algorithm	at:

	 http://www.cuj.com/articles/2000/0006/0006d/0006d.htm?topic=articles

FUNCTIONS
       double_metaphone( STRING	)
	   Takes a word	and returns a phonetic encoding.  In an	array context,
	   it returns one or two phonetic encodings for	the word.  In a	scalar
	   context, it returns the first encoding.  The	first encoding is
	   usually based on the	most commonly heard U.S. pronounciation	of the
	   word.

AUTHOR
       Copyright 2000, Maurice Aubrey <maurice@hevanet.com>.  All rights
       reserved.

       This code is based heavily on the C++ implementation by Lawrence
       Philips,	and incorporates several bug fixes courtesy of Kevin Atkinson
       <kevina@users.sourceforge.net>.

       This module is free software; you may redistribute it and/or modify it
       under the same terms as Perl itself.

SEE ALSO
   Man Pages
       Text::Metaphone,	Text::Soundex

   Additional References
       Philips,	Lawrence. C/C++	Users Journal, June, 2000.

       Philips,	Lawrence. Computer Language, Vol. 7, No. 12 (December),	1990.

       Kevin Atkinson (author of the Aspell spell checker) maintains a page
       dedicated to the	Metaphone and Double Metaphone algorithms at
       <http://aspell.sourceforge.net/metaphone/>

perl v5.24.1			  2004-03-26		    DoubleMetaphone(3)

NAME | SYNOPSIS | DESCRIPTION | FUNCTIONS | AUTHOR | SEE ALSO

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=Text::DoubleMetaphone&sektion=3&manpath=FreeBSD+12.1-RELEASE+and+Ports>

home | help