Skip to content

Commit

Permalink
fix bug, function tr
Browse files Browse the repository at this point in the history
  • Loading branch information
delihiros committed Mar 16, 2014
1 parent 7ce9562 commit a10f48f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/opennlp/treebank.clj
Expand Up @@ -177,7 +177,7 @@
(let [t (or tag-fn symbol)]
(if (= :E (first ptree))
{:tag
(t (second (second ptree))) :chunk (map tr (drop 2 ptree))}
(t (second (second ptree))) :chunk (map #(tr % tag-fn) (drop 2 ptree))}
(second ptree))))

(defn make-tree
Expand Down

0 comments on commit a10f48f

Please sign in to comment.