please send me code up cmake Pada Sab, 1 Mar 2025, 04.23, Kevin Brubeck Unhammer <unham...@fsfe.org> menulis:
> Hi, > > I would probably do this with the newish preference system[1]. That lets > you have overlapping sets of preferences. There's a tiny bit of setup to > get it going, but after that you can do things like > > <e> <p><l>estornudo</l><r>sternutation</r></p><par n="n"/></e> > <e> <p><l>estornudo</l><r>sneeze</r></p><par n="n"/></e> > > which gives an ambiguous output, and then a disambiguation rule which > selects the right word depending on the chosen variant > > SELECT ("sternutation"i) IF (0 ("esturnudo") + (VAR:medical)); > REMOVE ("sternutation"i) IF (0 ("esturnudo")); > > (It's kind of hard to come up with these examples, since often it makes > more sense to just pick something from context, not from user > preference.) > > What language pair is this about? > > > [1] > https://wiki.apertium.org/wiki/Dialectal_or_standard_variation#Overlapping_variants > > > [CC: apertium-stuff mailing list] > > > > Your question is almost identical to one I answered a week ago. The > answer > > was: Yes. That can be done with either > > https://wiki.apertium.org/wiki/Dialectal_or_standard_variation (best > > option) or https://wiki.apertium.org/wiki/Translation_memory > > > > -- Tino Didriksen > > > > > > On Tue, 25 Feb 2025 at 12:28, Sergio Martinez < > sergio.martinez...@gmail.com> > > wrote: > > > >> Good Morning > >> > >> My name is Sergio and I am developing a project in group for my school > >> using Apertium. I saw you are one of the admins of the project and I > wanted > >> to consult with you directly about some doubts that I can't solve > myself. > >> > >> We need to implement translations that vary depending on the 'User > Group'. > >> Is there a way to achieve this? Ideally, I’d like to have a section in > the > >> dictionary that stores 'special terms' for specific user groups. For > >> example, an engineer would see more technical terms compared to a > regular > >> user. > >> > >> Can you give me some advice on how to implement this? > >> > >> Thanks for your time > >> Sergio > > > > _______________________________________________ > Apertium-stuff mailing list > Apertium-stuff@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/apertium-stuff >
_______________________________________________ Apertium-stuff mailing list Apertium-stuff@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/apertium-stuff