Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
  • 2 commits
  • 3 files changed
  • 0 comments
  • 1 contributor
6 project.clj
... ... @@ -0,0 +1,6 @@
  1 +(defproject decloder "1.0.0-SNAPSHOT"
  2 + :description "FIXME: write description"
  3 + :dependencies [[org.clojure/clojure "1.3.0"]]
  4 +
  5 + :jvm-opts ["-Xmx512m"]
  6 + :main decloder.core)
3  src/decloder/core.clj
@@ -15,7 +15,8 @@
15 15
16 16
17 17 (defn -main []
18   - (time (decloder.model/init-engine))
  18 + (let [model (decloder.model/init-engine)]
19 19 ;(read-sentences)
20 20 ;(translate-sentences)
  21 + )
21 22 )
3  src/decloder/model.clj
@@ -62,6 +62,7 @@
62 62 (let [voc-src (read-voc VOC_SRC)
63 63 voc-trg (read-voc VOC_TRG)
64 64 lex-prob (read-lex-prob LEX_PROB)]
65   - ;lex-prob
  65 + ;lex-prob
  66 + {:voc-src voc-src, :voc-trg voc-trg, :lex-prob lex-prob}
66 67 ))
67 68

No commit comments for this range

Something went wrong with that request. Please try again.