****Docs for the metaphone component****
-----------------------------------------
Using the metaphone algorithm as a function call:

1. Add mtph2 to your uses clause.

2. Call it passing pchars (make sure the third arguement is large enough to hold the answer).
-----------------------------------------
Use as a DLL:

compile metaphon.dpr
>\progra~1\borland\delphi~1\bin\dcc32 metaphon.dpr

or use the IDE

Call from your 
-----------------------------------------
Using the metaphone component:

Install: Add the file metaphon.pas into a package and recompile.

Files involved: metaphon.pas, mtph2.pas

Properties:


OutLength : Integer

Outlength will chop off the output metaphone string to be this many
characters or less, even if the input string would make a longer
metaphone string.


InString : String

InString is the input property for the component.


OutString : String

OutString is the output property for the component.



Methods:

Procedure Execute;

Translates whatever string is in the InString property into a
metaphone string of OutLength characters or less and places it
into the OutString property.

Procedure Metaphone(InStr : String; Length : integer; var Res : string);

This procedure is used if you don't want to go through the hassle of
setting InString, calling the Execute method and then reading the
Oustring property.


Also:

Probably the easiest way to use this component is not as a component
at all: Change the word "Library" at the top of metaphon.dpr to the
word "Unit", and save it as a .pas file.

Then in your code, just reference the file in your uses clause like
this:

uses Windows, xxx, metaphon;
                   ^^^^^^^^


