Coverage report: /home/ellis/comp/core/lib/nlp/pkg.lisp

KindCoveredAll%
expression010 0.0
branch00nil
Key
Not instrumented
Conditionalized out
Executed
Not executed
 
Both branches taken
One branch taken
Neither branch taken
1
 (defpackage :nlp/data
2
   (:use :cl :std)
3
   (:export 
4
    :language-data
5
    :*language-data*
6
    :stop-words-lookup
7
    :stop-words))
8
 
9
 (defpackage :nlp/stem/porter
10
   (:use :cl :std :rdb)
11
   (:export :stem))
12
 
13
 (defpackage :nlp/tokenize
14
   (:use :cl :std :cl-ppcre :nlp/data :nlp/stem/porter)
15
   (:export :word-tokenize :sentence-tokenize))
16
 
17
 (defpackage :nlp/doc
18
   (:use :cl :std :nlp/data :nlp/tokenize)
19
   (:export 
20
    :document
21
    :documents
22
    :add-document
23
    :document-collection
24
    :keywords
25
    :dictionary
26
    :term-count
27
    :document-frequency
28
    :inverse-document-frequency
29
    :tf-idf-vectorize-documents
30
    :termp
31
    :string-contents
32
    :rank
33
    :term-frequency
34
    :extract-keywords
35
    :tf-vectorize-documents
36
    :vector-data))
37
 
38
 (defpackage :nlp/textrank
39
   (:use :cl :std :nlp/doc :nlp/tokenize)
40
   (:export 
41
    :summarize-text :edges :document-vertex))
42
 
43
 (defpackage :nlp/dbscan
44
   (:use :cl :std :nlp/doc :nlp/textrank :nlp/tokenize)
45
   (:export 
46
    :document-cluster :clusters :get-cluster :distance
47
    :generate-document-distance-vectors
48
    :cluster :neighbors :clusters
49
    :dbscan))
50
 
51
 (defpackage :nlp/section
52
   (:use :cl :std :nlp/doc :nlp/dbscan :nlp/tokenize)
53
   (:export :extract-sections))
54
 
55
 (defpackage :nlp/string
56
   (:use :cl)
57
   (:export    
58
    #:hamming
59
    #:levenshtein
60
    #:damerau-levenshtein
61
    #:norm-levenshtein
62
    #:norm-damerau-levenshtein
63
    #:overlap
64
    #:jaccard
65
    #:jaro
66
    #:jaro-winkler))
67
 
68
 (defpackage :nlp/fuzzy
69
   (:use :cl)
70
   (:export :fuzzy-match))
71
 
72
 (pkg:defpkg :nlp
73
   (:use :cl)
74
   (:use-reexport
75
    :nlp/data
76
    :nlp/tokenize
77
    :nlp/doc
78
    :nlp/stem/porter
79
    :nlp/textrank
80
    :nlp/dbscan
81
    :nlp/section
82
    :nlp/fuzzy))