<s>
The	O
New	B-Algorithm
York	I-Algorithm
State	I-Algorithm
Identification	I-Algorithm
and	I-Algorithm
Intelligence	I-Algorithm
System	I-Algorithm
Phonetic	O
Code	O
,	O
commonly	O
known	O
as	O
NYSIIS	B-Algorithm
,	O
is	O
a	O
phonetic	B-Algorithm
algorithm	I-Algorithm
devised	O
in	O
1970	O
as	O
part	O
of	O
the	O
New	B-Algorithm
York	I-Algorithm
State	I-Algorithm
Identification	I-Algorithm
and	I-Algorithm
Intelligence	I-Algorithm
System	I-Algorithm
(	O
now	O
a	O
part	O
of	O
the	O
New	O
York	O
State	O
Division	O
of	O
Criminal	O
Justice	O
Services	O
)	O
.	O
</s>
<s>
It	O
features	O
an	O
accuracy	O
increase	O
of	O
2.7	O
%	O
over	O
the	O
traditional	O
Soundex	B-Algorithm
algorithm	O
.	O
</s>
<s>
The	O
first	O
character	O
of	O
the	O
NYSIIS	B-Algorithm
code	O
is	O
the	O
first	O
character	O
of	O
the	O
name	O
.	O
</s>
<s>
If	O
the	O
current	O
position	O
letter	O
is	O
equal	O
to	O
the	O
last	O
letter	O
placed	O
in	O
the	O
code	O
then	O
set	O
the	O
pointer	O
to	O
point	O
to	O
the	O
next	O
letter	O
and	O
go	O
to	O
step	O
5.The	O
next	O
character	O
of	O
the	O
NYSIIS	B-Algorithm
code	O
is	O
the	O
current	O
position	O
letter.Increment	O
the	O
pointer	O
to	O
point	O
at	O
the	O
next	O
letter.Go	O
to	O
step	O
5	O
.	O
</s>
<s>
If	O
the	O
last	O
character	O
of	O
the	O
NYSIIS	B-Algorithm
code	O
is	O
the	O
letter	O
'	O
S	O
 '	O
then	O
remove	O
it	O
.	O
</s>
<s>
If	O
the	O
last	O
two	O
characters	O
of	O
the	O
NYSIIS	B-Algorithm
code	O
are	O
the	O
letters	O
'	O
AY	O
 '	O
then	O
replace	O
them	O
with	O
the	O
single	O
character	O
'	O
Y	O
 '	O
.	O
</s>
<s>
If	O
the	O
last	O
character	O
of	O
the	O
NYSIIS	B-Algorithm
code	O
is	O
the	O
letter	O
'	O
A	O
 '	O
then	O
remove	O
this	O
letter	O
.	O
</s>
