-
Notifications
You must be signed in to change notification settings - Fork 2
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
Problem using --exclude in lemma testing #63
Comments
the exclude should be parsed by the script before it reaches grep actually, I think it just got doubled somewhere in the reorg, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have just noticed that the lemma generation test does not seem to like the
--exclude
option, at least not as it is used in thegenerate-POS-lemmas.sh
scripts. For example, inlang-sma/src/fst/morphology/test
, I get this error when runningmake devtest
:Digging a bit into this revealed that:
--exclude
should be used with=
--exclude
is used for excluding certain files, but we want to exclude certain patterns, so it is not suitable anyways.Most guides suggest piping from
grep
intogrep -v
to exclude patterns, as grep does not do both (inclusion and exclusion matching) in a single run.(I put this issue here as it concerns all the
lang-
repositories, not one in particular. Please move if it should rather be put under another repo.)The text was updated successfully, but these errors were encountered: