nlpcore.protocols

NLP core protocols

Corpus

protocol

members

build-corpus!

(build-corpus! this)
Build and save corpus.

get-corpus

(get-corpus this)
Get corpus

default-module-impl

Model

protocol

members

get-model

(get-model this)
Get the model

load-model!

(load-model! this)
Load the model

save-model!

(save-model! this)
Save the model

train-model!

(train-model! this)
Train the model

Module

protocol

members

get-features

(get-features this)
Get module features as a map

get-id

(get-id this)
Get module id

get-logger

(get-logger this)
Get current logger

get-version

(get-version this)
Get nlpcore version

set-logger!

(set-logger! this newlogger)
Set current logger

Tool

protocol

members

apply-tool

(apply-tool this text opts)
Apply the tool to a text using opts map

build-tool!

(build-tool! this)
(Re)Build the tool