-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#5 add default ACTION in standard oracle with i == len(sent)
- Loading branch information
1 parent
4cc3313
commit c7caf7d
Showing
8 changed files
with
75 additions
and
13 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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# sent_id = email-enronsent39_01-0078 | ||
# text = Enron needs to use this situation to quickly get our viewpoints up into the PUCT and ERCOT ISO on what is driving these problems and our proposed fixes. | ||
1 Enron Enron PROPN NNP Number=Sing 2 nsubj 2:nsubj _ | ||
2 needs need VERB VBZ Mood=Ind|Number=Sing|Person=3|Tense=Pres|VerbForm=Fin 0 root 0:root _ | ||
3 to to PART TO _ 4 mark 4:mark _ | ||
4 use use VERB VB VerbForm=Inf 2 xcomp 2:xcomp _ | ||
5 this this DET DT Number=Sing|PronType=Dem 6 det 6:det _ | ||
6 situation situation NOUN NN Number=Sing 4 obj 4:obj _ | ||
7 to to PART TO _ 9 mark 9:mark _ | ||
8 quickly quickly ADV RB _ 9 advmod 9:advmod _ | ||
9 get get VERB VB VerbForm=Inf 4 advcl 4:advcl _ | ||
10 our we PRON PRP$ Number=Plur|Person=1|Poss=Yes|PronType=Prs 11 nmod:poss 11:nmod:poss _ | ||
11 viewpoints viewpoint NOUN NNS Number=Plur 9 obj 9:obj _ | ||
12 up up ADV RB _ 9 advmod 9:advmod _ | ||
13 into into ADP IN _ 18 case 18:case _ | ||
14 the the DET DT Definite=Def|PronType=Art 18 det 18:det _ | ||
15 PUCT PUCT PROPN NNP Number=Sing 18 compound 18:compound _ | ||
16 and and CCONJ CC _ 17 cc 17:cc _ | ||
17 ERCOT ERCOT PROPN NNP Number=Sing 11 conj 11:conj _ | ||
18 ISO iso NOUN NN Number=Sing 9 obl 9:obl _ | ||
19 on on SCONJ IN _ 20 case 20:case _ | ||
20 what what PRON WP PronType=Int 9 obl 9:obl _ | ||
21 is be AUX VBZ Mood=Ind|Number=Sing|Person=3|Tense=Pres|VerbForm=Fin 22 aux 22:aux _ | ||
22 driving drive VERB VBG Tense=Pres|VerbForm=Part 20 acl:relcl 20:acl:relcl _ | ||
23 these these DET DT Number=Plur|PronType=Dem 24 det 24:det _ | ||
24 problems problem NOUN NNS Number=Plur 22 obj 22:obj _ | ||
25 and and CCONJ CC _ 28 cc 28:cc _ | ||
26 our we PRON PRP$ Number=Plur|Person=1|Poss=Yes|PronType=Prs 28 nmod:poss 28:nmod:poss _ | ||
27 proposed propose VERB VBN Tense=Past|VerbForm=Part 28 amod 28:amod _ | ||
28 fixes fix NOUN NNS Number=Plur 20 conj 20:conj SpaceAfter=No | ||
29 . . PUNCT . _ 2 punct 2:punct _ |
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,26 @@ | ||
#! /bin/bash | ||
########################################### | ||
# | ||
########################################### | ||
|
||
# constants | ||
baseDir=$(cd `dirname "$0"`;pwd) | ||
. $baseDir/../admin/util.sh | ||
|
||
|
||
####################### | ||
# variables | ||
####################### | ||
PY=$baseDir/../app/transitionparser/standard.py | ||
TRAIN_DATA=$baseDir/../test/fixtures/standard.recursion.conllu | ||
MODEL=$baseDir/../tmp/standard.fixtures.model | ||
EPOCH=1 | ||
LOG_VERBOSITY=1 # info | ||
|
||
# functions | ||
|
||
|
||
# main | ||
[ -z "${BASH_SOURCE[0]}" -o "${BASH_SOURCE[0]}" = "$0" ] || return | ||
set -x | ||
train $PY $LOG_VERBOSITY $MODEL $TRAIN_DATA $EPOCH |
#5 return REDUCE_L as the ACTION