Swedis Place Name Generator

Erik Sigra freeciv@home.se
Mon Oct 2 07:01:00 GMT 2000


Erik Sigra wrote:
> Have you thought about a rule called "replace", that works similar to
> reject, but instead of rejecting, it replaces? For example:
> 
> (mainpart (replace preliminary-mainpart (hh h) (rrr rr)))
> 
> This would fix "Southhall" and "Norrryd".

[Argumentation continued]

And, it would be possible to add a '|' to each firstpart and then do a:

(mainpart (replace preliminary-mainpart (a|å å)
					(e|ö erö)
					(h|h h)
					(rrr rr)
					(s|s s)
					(| "")
	  )
)

This would fix such things as "Ekeö" -> "Ekerö", "Markaås" -> "Markås",
"Kristiansstad" -> "Kristianstad", "Jakobsstad" -> "Jakobstad". And it
would give much more flexibility in general.


More information about the Xconq7 mailing list