Keep digits and ordinals in soldier names (3rd, ASN fragments).
Keep short initials such as FH in soldier names.
Line 346: Line 346:
end
end
return lowBare
return lowBare
end
if isAllCapsLetters(w) and mw.ustring.len(bare) >= 2 and mw.ustring.len(bare) <= 3
and not mw.ustring.find(mw.ustring.upper(bare), '[AEIOUY]') then
return w
end
end