;;;; -*- Mode: LISP -*- ;;;; (in-package :asdf) (assert (boundp 'cl-user::*open-nlp-path*) () "Before loading this system, you need to download opennlp and its models, build opennl, put the models in a directory called models inside of the opennlp distribution, and (setq cl-user::*open-nlp-path* ") (let ((open-nlp-jar (merge-pathnames "output/opennlp-tools-1.3.0.jar" (truename cl-user::*open-nlp-path*))) (open-nlp-lib (merge-pathnames "lib/" (truename cl-user::*open-nlp-path*)))) (eval `(defsystem :open-nlp :name "open nlp" :components ((:module jars :components ((:jar-file "opennlp-tools-1.3.0.jar" :pathname ,open-nlp-jar) (:jar-directory "lib" :pathname ,open-nlp-lib))) (:module parsing :pathname "" :components ((:file "first") (:file "penn-treebank-tags")) :depends-on (jars)) ) :depends-on (jss)))) ;;;; eof