File: metaphone.h

package info (click to toggle)
serpento 0.3.6
  • links: PTS
  • area: main
  • in suites: woody
  • size: 292 kB
  • ctags: 381
  • sloc: python: 1,644; ansic: 666; perl: 157; sh: 116; makefile: 72
file content (14 lines) | stat: -rw-r--r-- 400 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/*
**  MAXMETAPH is the length of the Metaphone code.
**
**  Four is a good compromise value for English names. For comparing words
**  which are not names or for some non-English names, use a longer code
**  length for more precise matches.
**
**  The default here is 10.
*/

#define MAXMETAPH 10

unsigned short int metaphone(const char *Word, char *Metaph, unsigned short int Flag);