forked from nikitakit/self-attentive-parser
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
166 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,92 @@ | ||
# Based on new.prm (and by extension COLLINS.prm) | ||
# The only change from new.prm is increasing MAX_ERROR. The evaluation should be | ||
# identical to the standard setup, except that evalb won't give up early for a | ||
# parser that has just started training and does not yet produce good results. | ||
|
||
##------------------------------------------## | ||
## Debug mode ## | ||
## 0: No debugging ## | ||
## 1: print data for individual sentence ## | ||
## 2: print detailed bracketing info ## | ||
##------------------------------------------## | ||
DEBUG 0 | ||
|
||
##------------------------------------------## | ||
## MAX error ## | ||
## Number of error to stop the process. ## | ||
## This is useful if there could be ## | ||
## tokanization error. ## | ||
## The process will stop when this number## | ||
## of errors are accumulated. ## | ||
##------------------------------------------## | ||
MAX_ERROR 10000 | ||
|
||
##------------------------------------------## | ||
## Cut-off length for statistics ## | ||
## At the end of evaluation, the ## | ||
## statistics for the senetnces of length## | ||
## less than or equal to this number will## | ||
## be shown, on top of the statistics ## | ||
## for all the sentences ## | ||
##------------------------------------------## | ||
CUTOFF_LEN 40 | ||
|
||
##------------------------------------------## | ||
## unlabeled or labeled bracketing ## | ||
## 0: unlabeled bracketing ## | ||
## 1: labeled bracketing ## | ||
##------------------------------------------## | ||
LABELED 1 | ||
|
||
##------------------------------------------## | ||
## Delete labels ## | ||
## list of labels to be ignored. ## | ||
## If it is a pre-terminal label, delete ## | ||
## the word along with the brackets. ## | ||
## If it is a non-terminal label, just ## | ||
## delete the brackets (don't delete ## | ||
## deildrens). ## | ||
##------------------------------------------## | ||
DELETE_LABEL TOP | ||
DELETE_LABEL S1 | ||
DELETE_LABEL -NONE- | ||
DELETE_LABEL , | ||
DELETE_LABEL : | ||
DELETE_LABEL `` | ||
DELETE_LABEL '' | ||
DELETE_LABEL . | ||
DELETE_LABEL ? | ||
DELETE_LABEL ! | ||
|
||
##------------------------------------------## | ||
## Delete labels for length calculation ## | ||
## list of labels to be ignored for ## | ||
## length calculation purpose ## | ||
##------------------------------------------## | ||
DELETE_LABEL_FOR_LENGTH -NONE- | ||
|
||
##------------------------------------------## | ||
## Labels to be considered for misquote ## | ||
## (could be possesive or quote) ## | ||
##------------------------------------------## | ||
QUOTE_LABEL `` | ||
QUOTE_LABEL '' | ||
QUOTE_LABEL POS | ||
|
||
##------------------------------------------## | ||
## These ones are less common, but ## | ||
## are on occasion output by parsers: ## | ||
##------------------------------------------## | ||
QUOTE_LABEL NN | ||
QUOTE_LABEL CD | ||
QUOTE_LABEL VBZ | ||
QUOTE_LABEL : | ||
|
||
##------------------------------------------## | ||
## Equivalent labels, words ## | ||
## the pairs are considered equivalent ## | ||
## This is non-directional. ## | ||
##------------------------------------------## | ||
EQ_LABEL ADVP PRT | ||
|
||
# EQ_WORD Example example |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters