-
Notifications
You must be signed in to change notification settings - Fork 3
/
cl-mecab.asd
37 lines (34 loc) · 1.12 KB
/
cl-mecab.asd
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
#|
This file is a part of cl-mecab project.
Copyright (c) 2016 carrotflakes ([email protected])
|#
#|
Author: carrotflakes ([email protected])
|#
(in-package :cl-user)
(defpackage cl-mecab-asd
(:use :cl :asdf))
(in-package :cl-mecab-asd)
(defsystem cl-mecab
:version "0.1"
:author "carrotflakes"
:license "LLGPL"
:depends-on (:cffi
:split-sequence)
:components ((:module "src"
:components
((:file "cl-mecab"))))
:description "Interface of MeCab that is a morpheme analyzer"
:long-description
#.(with-open-file (stream (merge-pathnames
#p"README.markdown"
(or *load-pathname* *compile-file-pathname*))
:if-does-not-exist nil
:direction :input)
(when stream
(let ((seq (make-array (file-length stream)
:element-type 'character
:fill-pointer t)))
(setf (fill-pointer seq) (read-sequence seq stream))
seq)))
:in-order-to ((test-op (test-op cl-mecab-test))))