evaluate-chunk

Class summary
chunk-evaluation-result
Method summary
bind-statements chunk-evaluation-result
bindings chunk-evaluation-result
chunk chunk-evaluation-result
copy-object (e chunk-evaluation-result)
evaluation-tree chunk-evaluation-result
print-object (result chunk-evaluation-result) stream
score chunk-evaluation-result
target-entity chunk-evaluation-result
Function summary
evaluate-chunk chunk ontology &key configuration (evaluation-result-scoring-fn (function simple-evaluation-result-scoring)) (chunk-evaluation-result-class (quote chunk-evaluation-result)) (notify t)
simple-evaluation-result-scoring evaluation-result ontology
Macro summary
insert-evaluation-result result list
sorted-list-insert item list &key (predicate (quote <)) (key (quote identity))
chunk-evaluation-result    [Class]

Represents the one result of a chunk evaluation

:score    [Initarg]
:chunk    [Initarg]
:evaluation-tree    [Initarg]
:target-entity    [Initarg]
:bind-statements    [Initarg]
:bindings    [Initarg]
score    [Slot]

A score that is used to rank results (higher == better)

chunk    [Slot]

The evaluated chunk.

evaluation-tree    [Slot]

The top node of the evaluation search tree

target-entity    [Slot]

The value of the binding that corresponds to the target var

bind-statements    [Slot]

IRL representations of those bindings that are target or source variables of the chunk and that are not given in the wrapped chunk

bindings    [Slot]

A list of bindings (one solution of the irl program)

bindings   chunk-evaluation-result  [Generic function]

Returns and (with setf) changes the bindings of the specified chunk-evaluation-result

bind-statements   chunk-evaluation-result  [Generic function]

Returns and (with setf) changes the bind-statements of the specified chunk-evaluation-result

target-entity   chunk-evaluation-result  [Generic function]

Returns and (with setf) changes the target-entity of the specified chunk-evaluation-result

evaluation-tree   chunk-evaluation-result  [Generic function]

Returns and (with setf) changes the evaluation-tree of the specified chunk-evaluation-result

chunk   chunk-evaluation-result  [Generic function]

Returns and (with setf) changes the chunk of the specified chunk-evaluation-result

score   chunk-evaluation-result  [Generic function]

Returns and (with setf) changes the score of the specified chunk-evaluation-result

copy-object   (e chunk-evaluation-result)  [Method]
print-object   (result chunk-evaluation-result) stream  [Method]
evaluate-chunk   chunk ontology &key configuration (evaluation-result-scoring-fn (function simple-evaluation-result-scoring)) (chunk-evaluation-result-class (quote chunk-evaluation-result)) (notify t)  [Function]
simple-evaluation-result-scoring   evaluation-result ontology  [Function]

A default for evaluation-result-scoring-fn

sorted-list-insert   item list &key (predicate (quote <)) (key (quote identity))  [Macro]

inserts item into list ordered by predicate

insert-evaluation-result   result list  [Macro]

inserts an evaluation result into a list, sorted by score