Next / Previous / Contents / Shipman's homepage

7.6. eng-normalize: Normal form of an English name

In some places, English names may be given in the normal order, e.g., “Gray Hawk”, or in inverted order, e.g., “Hawk, Gray”. This function converts inverted names to normalized form.

nomcompile3
# eng-normalize(eng) ==
#   if eng contains a comma ->
#     (part after the comma, stripped) + " " + (part up to the
#     comma, stripped)
#   else -> eng