-
Notifications
You must be signed in to change notification settings - Fork 4
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
Should categories really fallback to /sl if no /tl? #79
Comments
Yes, I've run into this before and agree. Subcategory I've talked with @mr-martian about it before, and it seems like there are two issues involved in its implementation:
My impression is that the first issue is the blocking one. |
A couple of options that come to mind that might address this issue and definitely wouldn't break backwards compatibility:
A compiler option that makes all unspecified clips be Either of those would be pretty easy to implement, but there could very well be an option I haven't thought of that would be more correct. |
I would prefer an all-or-nothing option, but would it be possible to do it as a file pragma? Like the CG subreadings option, we could have Since the rules in the files necessarily will depend on the value of that option, I prefer having it inside the rtx, instead of having to look it up in Makefile.am. (Also, having to remember compile switches while doing rtx-comp manually to debug means one more way I can mess things up at the time when I am the most confused.) |
I've just bumped into this while doing some tests with I agree with @unhammer regarding including the option directly in the file. Using a compiler option will probably lead to confusion. However, I think the two proposed solutions shouldn't be mutually exclusive. Currently I don't really need fallbacks and disabling them entirely would solve my issues, but I can imagine myself using them in the future. In that case, it would be good to have the ability to do something like |
I have implemented @unhammer's I'm leaving this issue open because I like the |
If we have something like
and bidix output is
^good<adj><sint>/OK<adj>$
then I don't want the<sint>
to be output, that's an "inherent" tag (the wordOK
is can't do synthetic comparative/superlative, so it doesn't get a<sint>
). But to ensure that, I have to explicitly say that the attribute should have the tl value, for each such where bidix can remove it:I know I can always be explicit like this, but I would think the default should be to not fallback here, that if bidix removes a tag, it's for a reason. Does anyone actively use sl fallbacks?
@jonorthwash @ftyers @marcriera and anyone else using apertium-recursive
The text was updated successfully, but these errors were encountered: