Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'Dir/LR' and 'Dir/RL' marks at the end of a lexc file line must be converted to <e r="LR"> and <e r="RL"> attributes, respectively #2

Open
IlnarSelimcan opened this issue Apr 24, 2018 · 2 comments

Comments

@IlnarSelimcan
Copy link

IlnarSelimcan commented Apr 24, 2018

Other marks, namely Use/MT and Err/Orth (there might be others) to my knowledge currently don't have corresponding attributes in .dix files, but nonetheless must be preserved, e.g. in comment attributes.

@Techievena
Copy link
Owner

Any wiki or doc that has the complete list of the marks to be restored?

@IlnarSelimcan
Copy link
Author

@Techievena , http://wiki.apertium.org/wiki/Apertium-kaz . So, it's the 4 marks already mentioned:
Dir/LR, Dir/RL, Use/MT, Err/Orth plus marks starting with Der/, e.g. Der/Pass, Der/Caus and Der/Coop. But technically all of them are in fact comments. I think preserving comments when converting a .lexc to .dix is a good idea in general.

Dir/LR or Dir/RL marks must become 'r' attributes of the <e>ntry, but for other comments (in particular the ones spanning multiple lines), I think it's fine if they end up insdie of a <!-- -->. Talk to @flammie about this too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants