Liking cljdoc? Tell your friends :D

opennlp.span


between-spanclj

(between-span a b)

Return a span of the area between two spans A and B. Type of new span is :between.

Return a span of the area between two spans A and B. Type of new span is
:between.
sourceraw docstring

contains-span?clj

(contains-span? s1 s2)

Return true if s1 is contains spans s2.

Return true if s1 is contains spans s2.
sourceraw docstring

end-of-span?clj

(end-of-span? span k)

Return true if location k is the end of span.

Return true if location k is the end of span.
sourceraw docstring

in-span?clj

(in-span? span k)

Return true if location k is in span. We assume span is [i,j).

Return true if location k is in span. We assume span is [i,j).
sourceraw docstring

intersection-spanclj

(intersection-span A B)

Return the intersection of two spans as a span. Type of new span is :intersection.

Return the intersection of two spans as a span. Type of new span is
:intersection.
sourceraw docstring

make-spanclj

(make-span start end type)

Make a native span object.

Make a native span object.
sourceraw docstring

merge-spansclj

(merge-spans A B)

Given two overlapping spans where the first comes before the second, return a merged span with the type of the first.

Given two overlapping spans where the first comes before the second, return a
merged span with the type of the first.
sourceraw docstring

right-of-span?clj

(right-of-span? span k)

Return true if location k is to the right of span.

Return true if location k is to the right of span.
sourceraw docstring

shift-spanclj

(shift-span span i)

Shift a span by i positions.

Shift a span by i positions.
sourceraw docstring

span-disjoint?clj

(span-disjoint? A B)

Return true of A does not overlap B.

Return true of A does not overlap B.
sourceraw docstring

span-lengthclj

(span-length s)

Return the length of the span.

Return the length of the span.
sourceraw docstring

span-overlaps?clj

(span-overlaps? A B)

Return true if A overlaps B.

Return true if A overlaps B.
sourceraw docstring

subs-spanclj

(subs-span s span)

Return the substring corresponding to the span.

Return the substring corresponding to the span.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close