Permalink
Browse files

Changed return type of init-engine()

  • Loading branch information...
1 parent 9e9f579 commit 000719df7590cdb86304791aa92d084055add923 @julosaure committed Sep 11, 2012
Showing with 4 additions and 2 deletions.
  1. +2 −1 src/decloder/core.clj
  2. +2 −1 src/decloder/model.clj
@@ -15,7 +15,8 @@
(defn -main []
- (time (decloder.model/init-engine))
+ (let [model (decloder.model/init-engine)]
;(read-sentences)
;(translate-sentences)
+ )
)
@@ -62,6 +62,7 @@
(let [voc-src (read-voc VOC_SRC)
voc-trg (read-voc VOC_TRG)
lex-prob (read-lex-prob LEX_PROB)]
- ;lex-prob
+ ;lex-prob
+ {:voc-src voc-src, :voc-trg voc-trg, :lex-prob lex-prob}
))

0 comments on commit 000719d

Please sign in to comment.