Skip to content

Commit

Permalink
Updated to use the training id start variable in startup.lisp
Browse files Browse the repository at this point in the history
  • Loading branch information
dappling committed Jun 15, 2009
1 parent 839d82c commit 2ee2d80
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lisp/common/gpmrs.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@
dir :format :ascii)
(tsdb::do-import-items (format nil "~a/bitext/original" profile_top)
dir :format :bitext)) )
(tsdb::tsdb-do-process dir :condition (format nil "result-id=~a" m)
(tsdb::tsdb-do-process dir :condition (format nil "(result-id=~a) && (i-id>~a)" m gen-start)
:type :generate :overwrite t :gold (format nil "pmrs/~a" n)) )))
4 changes: 3 additions & 1 deletion lisp/common/pmrs.lisp
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
;; Starting common/pmrs.lisp
(setf tsdb::*tsdb-transfer-include-fragments-p* t)
(tsdb::tsdb :home profile_top)
(tsdb::tsdb :list)
Expand All @@ -9,5 +10,6 @@
dir :format :ascii)
(tsdb::do-import-items (format nil "~a/bitext/original" profile_top)
dir :format :bitext)) )
(tsdb::tsdb-do-process dir :condition (format nil "result-id=~a" n)
(tsdb::tsdb-do-process dir :condition (format nil "(result-id=~a) && (i-id>~a)" n transfer-start)
:type :transfer :overwrite t :gold "smrs")))
;; Ending common/pmrs.lisp
2 changes: 1 addition & 1 deletion lisp/common/smrs.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@
(tsdb::do-import-items (format nil "~a/bitext/original" profile_top)
dir :format :bitext))) )
(setf *tsdb-trees-hook* "lkb::parse-tree-structure")
(tsdb::tsdb :process "smrs" :condition "i-wf=1")
(tsdb::tsdb :process "smrs" :condition (format nil "(i-wf=1) && (i-id>~a)" parse-start))

0 comments on commit 2ee2d80

Please sign in to comment.