Not the answer, but might have some useful clues in ... here's a snippet to
make a tagger from the Stanford library:
(ns processor.tagger
(:require [clojure.data.xml :as xml]
[clojure.string :as string])
(:import (edu.stanford.nlp.tagger.maxent TaggerConfig MaxentTagger)))
;; Configuration information for the Stanford POS tagger
(def conf
(TaggerConfig.
(into-array ["-model"
"resources/models/english-caseless-left3words-distsim.tagger"
"-outputFormat" "xml"
"-outputFormatOptions" "lemmatize"])))
(def tagger (MaxentTagger.
"resources/models/english-caseless-left3words-distsim.tagger" conf))
Jony
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your
first post.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
---
You received this message because you are subscribed to the Google Groups
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.