Liking cljdoc? Tell your friends :D

vinary-tree.libdictenstein

Idiomatic immutable-data facade over libdictenstein's Java FFM bindings.

Idiomatic immutable-data facade over libdictenstein's Java FFM bindings.
raw docstring

abi-versionclj

(abi-version)

Native ABI version (LDICT_ABI_VERSION); always 1 for this family.

Native ABI version (LDICT_ABI_VERSION); always 1 for this family.
sourceraw docstring

api-revisionclj

(api-revision)

Compatible-additions revision within the ABI version (LDICT_API_REVISION).

Compatible-additions revision within the ABI version (LDICT_API_REVISION).
sourceraw docstring

checkpoint!clj

(checkpoint! dictionary)
source

clear!clj

(clear! dictionary)
source

close!clj

(close! resource)
source

compact!clj

(compact! dictionary)
source

contains-substring?clj

(contains-substring? dictionary pattern)
source

contains-u64?clj

(contains-u64? dictionary tokens)
source

contains?clj

(contains? dictionary term)
source

create-persistent-artrieclj

(create-persistent-artrie path)
(create-persistent-artrie path unit-domain)
source

create-persistent-vocabularyclj

(create-persistent-vocabulary path)
source

double-array-trieclj

(double-array-trie entries)
(double-array-trie entries unit-domain)

Build an immutable DAT from a map/sequence of [term value] pairs.

Build an immutable DAT from a map/sequence of [term value] pairs.
sourceraw docstring

dynamic-dawgclj

(dynamic-dawg)
(dynamic-dawg unit-domain)

Construct an empty full-CRUD DynamicDAWG.

Construct an empty full-CRUD DynamicDAWG.
sourceraw docstring

entriesclj

Alias for snapshot; returns an immutable persistent vector.

Alias for snapshot; returns an immutable persistent vector.
sourceraw docstring

entry-eductionclj

(entry-eduction dictionary)
(entry-eduction dictionary xform)

Return an eduction over one newly captured immutable revision.

Return an eduction over one newly captured immutable revision.
sourceraw docstring

entry-seqclj

(entry-seq dictionary)

Return a seq over one newly captured immutable revision.

Return a seq over one newly captured immutable revision.
sourceraw docstring

frequencyclj

(frequency dictionary pattern)
source

getclj

(get dictionary term)

Return {:present? boolean :value unsigned-integer-or-nil}.

Return {:present? boolean :value unsigned-integer-or-nil}.
sourceraw docstring

get-u64clj

(get-u64 dictionary tokens)

Return {:present? boolean :value unsigned-integer-or-nil} for u64 tokens.

Return {:present? boolean :value unsigned-integer-or-nil} for u64 tokens.
sourceraw docstring

open-entry-streamclj

(open-entry-stream dictionary)
(open-entry-stream dictionary batch-size)

Open a closeable, single-pass iterator over one immutable revision.

Open a closeable, single-pass iterator over one immutable revision.
sourceraw docstring

open-persistent-artrieclj

(open-persistent-artrie path)
(open-persistent-artrie path unit-domain)
source

open-persistent-vocabularyclj

(open-persistent-vocabulary path)
source

put!clj

(put! dictionary term value)
source

put-all!clj

(put-all! dictionary entries)
source

put-u64!clj

(put-u64! dictionary tokens value)

Insert or update a full-range u64-token term.

Insert or update a full-range u64-token term.
sourceraw docstring

reduce-entriesclj

(reduce-entries dictionary reducing-function initial)
(reduce-entries dictionary batch-size reducing-function initial)

Resource-scoped streaming reduce over one immutable revision.

Resource-scoped streaming reduce over one immutable revision.
sourceraw docstring

remove!clj

(remove! dictionary term)
source

remove-u64!clj

(remove-u64! dictionary tokens)
source

scdawgclj

(scdawg)
(scdawg unit-domain)

Construct an empty substring-indexing SCDAWG.

Construct an empty substring-indexing SCDAWG.
sourceraw docstring

sizeclj

(size dictionary)
source

snapshotclj

(snapshot dictionary)

Capture one immutable revision as a persistent vector of entry maps.

The vector is host-owned, lexicographically ordered, and naturally supports seq, reduce, transduce, and repeated traversal after the dictionary closes.

Capture one immutable revision as a persistent vector of entry maps.

The vector is host-owned, lexicographically ordered, and naturally supports
seq, reduce, transduce, and repeated traversal after the dictionary closes.
sourceraw docstring

stream-seqclj

(stream-seq stream)

Adapt an open EntryStream to a lazy seq of immutable Clojure entry maps.

Consume the result inside with-open; abandoning a lazy seq does not itself close its native cursor.

Adapt an open EntryStream to a lazy seq of immutable Clojure entry maps.

Consume the result inside with-open; abandoning a lazy seq does not itself
close its native cursor.
sourceraw docstring

transduce-entriesclj

(transduce-entries dictionary xform reducing-function initial)
(transduce-entries dictionary batch-size xform reducing-function initial)

Resource-scoped streaming transduction over one immutable revision.

Resource-scoped streaming transduction over one immutable revision.
sourceraw docstring

vocabulary-termclj

(vocabulary-term vocabulary index)
source

with-entry-streamcljmacro

(with-entry-stream [binding dictionary & [batch-size]] & body)

Bind a stream for body and close it after normal return, reduced traversal, or exception. Binding forms are [name dictionary] or [name dictionary batch-size].

Bind a stream for body and close it after normal return, reduced traversal,
or exception. Binding forms are [name dictionary] or
[name dictionary batch-size].
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close