Open ButteredGroove opened 5 years ago
You do not need to use the --include
flag when using directly the --trainfile
or --testfile
options and in fact, doing so ignores your argument to --testfile
. This is not great design, will try to fix this.
why yield osentence in Predict of arc_hybrid.py? Is it really predictable?
I don't understand your question?
I means it looks like only reading tagged label from the dev file when I predict.
Ah ok, no, we do predict inside the Predict function, see https://github.com/UppsalaNLP/uuparser/blob/a7632d7483edcf264ef949a83275ae2637de54c9/barchybrid/src/arc_hybrid.py#L146 and https://github.com/UppsalaNLP/uuparser/blob/a7632d7483edcf264ef949a83275ae2637de54c9/barchybrid/src/arc_hybrid.py#L147
in the apply_transition function
How do I generate predictions from a test file? I've tried each of the following, but all used the dev file instead of the test file:
I had to rename the test data file as the dev file to generate test predictions. What did I miss?