diff options
author | redpony <redpony@ec762483-ff6d-05da-a07a-a48fb63a330f> | 2010-07-09 15:36:45 +0000 |
---|---|---|
committer | redpony <redpony@ec762483-ff6d-05da-a07a-a48fb63a330f> | 2010-07-09 15:36:45 +0000 |
commit | 5aaa5f008678286c8df57ff136b2d11ceeddeebc (patch) | |
tree | 07603c0e808bac2d87dca717d45b5eada5e8ef6a /gi/pipeline/local-gi-pipeline.pl | |
parent | ddf3ddba142ff08eb8c9504357074a6636283b33 (diff) |
stub out clis
git-svn-id: https://ws10smt.googlecode.com/svn/trunk@198 ec762483-ff6d-05da-a07a-a48fb63a330f
Diffstat (limited to 'gi/pipeline/local-gi-pipeline.pl')
-rwxr-xr-x | gi/pipeline/local-gi-pipeline.pl | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gi/pipeline/local-gi-pipeline.pl b/gi/pipeline/local-gi-pipeline.pl index 99b487db..a705af3b 100755 --- a/gi/pipeline/local-gi-pipeline.pl +++ b/gi/pipeline/local-gi-pipeline.pl @@ -43,8 +43,12 @@ my $TOPIC_TRAIN = "$PYPTOOLS/pyp-contexts-train"; assert_exec($SORT_KEYS, $REDUCER, $EXTRACTOR, $PYP_TOPICS_TRAIN, $S2L, $C2D, $TOPIC_TRAIN); +my $BACKOFF_GRAMMAR; +my $TAGGED_CORPUS; + my $OUTPUT = './giwork'; usage() unless &GetOptions('base_phrase_max_size=i' => \$BASE_PHRASE_MAX_SIZE, + 'backoff_grammar' => \$BACKOFF_GRAMMAR, 'output=s' => \$OUTPUT, 'model=s' => \$MODEL, 'topics=i' => \$NUM_TOPICS, @@ -54,6 +58,7 @@ usage() unless &GetOptions('base_phrase_max_size=i' => \$BASE_PHRASE_MAX_SIZE, 'em-iterations=i' => \$NUM_EM_PR_ITERS, 'pr-scale=f' => \$PR_SCALE, 'pr-threads=i' => \$PR_THREADS, + 'tagged_corpus=s' => \$TAGGED_CORPUS, ); usage() unless scalar @ARGV == 1; |