Anonymous user
NYSIIS: Difference between revisions
m
→{{header|Caché ObjectScript}}
m (Allow for small suffix/honours list (too large otherwise)) |
|||
Line 17:
{
ClassMethod
{
// check algorithm and name
Line 51:
Set pCode=""
For piece=1:1:$Length(pName, " ") {
If pAlgorithm="nysiis" Set pCode=pCode_..
}
If pTruncate {
Line 64:
}
ClassMethod
{
/*
Line 129:
{{out|Examples}}
<pre>
USER>For { Read !, name Quit:name="" Set sc=##class(Utils.Phonetic).
knight -> NAGT
|