zensols.nlparse.stanford

Wraps the Stanford CoreNLP parser.

coref-tree-to-map

(coref-tree-to-map anon)

parse

(parse utterance)

Parse natural language utterance.

See zensols.nlparse.parse/parse for a superset hierarchy of what this returns.

See with-context and create-context.

parse-debug

(parse-debug utterance)

Print the Stanford CoreNLP object representation of the utterance.

parse-object

(parse-object utterance)

Parse utterance and return an edu.stanford.nlp.pipeline.Annotation object.

pr-anon

(pr-anon anon & {:keys [full-class-name?], :or {full-class-name? false}})

Print out all of the anontation data for an object, but not it’s children.

pr-anon-deep

(pr-anon-deep anon)

Recursively iterate through an annotation object and print it’s data.