The first issue I found that I would like to fix is the capitalization of headers.
For example, “A General Introduction” is translated as “Unha Introdución Xeral”, but I want it translated as “Unha introdución xeral”. At the point when I pass the source string to Apertium I know that the source string that I am passing Apertium is a header string, so I can actually workaround the issue outside of Apertium. This is not a perfect aproach, as I might end up lowercasing proper nouns, but the headers that I am translating do not usually have those. However, ideally I would like Apertium to detect that the text is capitalized as a header (all words, or combinations or nouns and other, are capitalized), and to uncapitalize words But before I go that way, I would like to know if this can be done on the Apertium side instead somehow, and if so, whether that would be a good approach, or whether I should perform the changes on the translated string myself nonetheless. I’ve seen documentation related to capitalization both in the wiki and the documentation PDF, but none of them seem to cover this specific type of issue. I could pass Apertium additional parameters. Hence, I guess that I can use a custom formatter (?) meant only for this use case, but that seems rather hackish. And I would have again the issue of lowercasing words that are actually meant to be uppercase. In https://www.mail-archive.com/[email protected]/msg04402.html they mention some kind of Apertium scripting mechanism that may work for my case, but I am guessing that it would work on any string, and again I would uncapitalize words that are not meant to be lowercase. Anyway, any feedback on this matter is really appreciated. ------------------------------------------------------------------------------ Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer http://p.sf.net/sfu/Zoho _______________________________________________ Apertium-stuff mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/apertium-stuff
