Skip to content

Commit 90c455a

Browse files
committed
-one .put call
1 parent 8152881 commit 90c455a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/org/clojurenlp/core.clj

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,8 +137,7 @@
137137

138138
([properties-map]
139139
(let [props (Properties.)]
140-
(.putAll props properties-map)
141-
(.put props "annotators" "tokenize, ssplit, pos, lemma, ner")
140+
(.putAll props (assoc properties-map "annotators" "tokenize, ssplit, pos, lemma, ner"))
142141
(StanfordCoreNLP. props true))))
143142

144143
(defn- annotate-text

0 commit comments

Comments
 (0)