Wrap ClearNLP SRL.
Currently the propbank trained version is used. The main classification
function is label
.
Wrap ClearNLP SRL. Currently the propbank trained version is used. The main classification function is [[label]].
(classify-sent-trees sent-trees)
(classify-sent-trees sent-trees classify-fn)
Return the max likelihood (by score returned from parse-sentences
) tree
set. The returned value is a list of sentences most likely to be correct.
Return the max likelihood (by score returned from [[parse-sentences]]) tree set. The returned value is a list of sentences most likely to be correct.
(dependency-labels)
Return dependency labels (under the head level and at the function tag level).
Return dependency labels (under the head level and at the function tag level).
Token minimum position that contains a label to help decide the best SRL labeled sentence to choose.
Token minimum position that contains a label to help decide the best SRL labeled sentence to choose.
(head-dependency-labels)
Return all argument labels for head dependencies.
Return all argument labels for head dependencies.
(head-function-tags)
Return function tags (under the head level).
Return function tags (under the head level).
(label tokens)
Label (classify) and return the tokenized sequence tokens of a sentence.
Label (classify) and return the tokenized sequence **tokens** of a sentence. * **tokens** are a sequence of strings that make up a sentence
(parse-sentences sents)
Returns a list of hashs each having a list of sentence trees of the form: ({:sent, :score, :tree) ...}. Each element's :tree value is a list of DEPTree instances. Parameter is an object returned from [[parse-todo/parse]].
Returns a list of hashs each having a list of sentence trees of the form: ({:sent, :score, :tree) ...}. Each element's :tree value is a list of DEPTree instances. Parameter is an object returned from [[parse-todo/parse]].
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close