-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathproject.clj
65 lines (59 loc) · 3.14 KB
/
project.clj
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
(defproject com.zensols.nlp/parse "0.1.0-SNAPSHOT"
:description "A library for parsing natural language feature creation."
:url "https://github.com/plandes/clj-nlp-parse"
:license {:name "MIT"
:url "https://opensource.org/licenses/MIT"
:distribution :repo}
:plugins [[lein-codox "0.10.3"]
[lein-javadoc "0.3.0"]
[org.clojars.cvillecsteele/lein-git-version "1.2.7"]]
:codox {:metadata {:doc/format :markdown}
:project {:name "NLP Parsing and Feature Creation"}
:output-path "target/doc/codox"
:source-uri "https://github.com/plandes/clj-nlp-parse/blob/v{version}/{filepath}#L{line}"}
:javadoc-opts {:package-names ["zensols.stanford.nlp"]
:output-dir "target/doc/apidocs"}
:git-version {:root-ns "zensols.nlparse"
:path "src/clojure/zensols/nlparse"
:version-cmd "git describe --match v*.* --abbrev=4 --dirty=-dirty"}
:source-paths ["src/clojure"]
:java-source-paths ["src/java"]
:javac-options ["-Xlint:unchecked"]
:jar-exclusions [#".gitignore"]
:test-selectors {:non-threadsafe (complement :threadsafe)
:threadsafe :threadsafe}
:dependencies [[org.clojure/clojure "1.8.0"]
;; feature creation
[com.zensols.nlp/feature "0.0.10"
:exclusions [org.slf4j/slf4j-api]]
;; base dep
[com.zensols.tools/actioncli "0.0.27"]
;;; NLP
;; Stanford CoreNLP
[edu.stanford.nlp/stanford-corenlp "3.8.0"]
[edu.stanford.nlp/stanford-corenlp "3.8.0" :classifier "models"]
;; stopword
[com.zensols/stopword-annotator "2.2"]
;; config DSL
[instaparse "1.4.5"]
;; ClearNLP for semantic role labeling
[com.clearnlp/clearnlp "2.0.2"]
[com.clearnlp/clearnlp-dictionary "1.0"]
[com.clearnlp/clearnlp-general-en-dep "1.2"]
[com.clearnlp/clearnlp-general-en-pos "1.1"]
[com.clearnlp/clearnlp-general-en-srl "1.1"]]
:profiles {:1.9 {:dependencies [[org.clojure/clojure "1.9.0"]]}
:appassem {:aot :all}
:snapshot {:git-version {:version-cmd "echo -snapshot"}}
:dev
{:dependencies [[edu.stanford.nlp/stanford-corenlp "3.8.0" :classifier "javadoc"]
[edu.stanford.nlp/stanford-corenlp "3.8.0" :classifier "sources"]
[com.clearnlp/clearnlp "2.0.2" :classifier "sources"]
[org.apache.logging.log4j/log4j-core "2.7"]
[org.apache.logging.log4j/log4j-slf4j-impl "2.7"
:exclusions [org.slf4j/slf4j-api]]
[org.apache.logging.log4j/log4j-1.2-api "2.7"]
[org.apache.logging.log4j/log4j-jcl "2.7"]
[com.zensols.gui/tabres "0.0.6"]]}
:test {:jvm-opts ["-Dlog4j.configurationFile=test-resources/test-log4j2.xml"
"-Xmx12g"]}})