This is the mail archive of the
xconq7@sources.redhat.com
mailing list for the Xconq project.
Re: Swedis Place Name Generator
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.