Skip to content

ctakes constituency parser

Sean Finan edited this page Sep 21, 2024 · 4 revisions

Annotation Engines
Output Writers


Annotation Engines

Constituency Parser

Adds Terminal Treebank Nodes, necessary for Coreference Markables.

Source class: ConstituencyParser
Source package: org.apache.ctakes.constituency.parser.ae
Parent class: org.apache.uima.fit.component.JCasAnnotator_ImplBase
Dependencies: Document Id, Sentence
Products: Tree Node

Parameter Description Class Required Default
MaxTokens The token limit for sentences we actually parse. Longer sentences will be ignored. int No
MODEL_FILENAME File containing the opennlp-trained parser model String No org/apache/ctakes/constituency/parser/models/ sharpacq-3.1.bin

Parser Evaluator

..

Source class: ParserEvaluationAnnotator
Source package: org.apache.ctakes.constituency.parser.ae
Parent class: org.apache.uima.fit.component.JCasAnnotator_ImplBase

Parameter Description Class Required Default
ParserModel Parser model file to use for parsing File No org/apache/ctakes/constituency/parser/models/ sharpacqwsj.bin

Thread safe Constituency Parser

Adds Terminal Treebank Nodes, necessary for Coreference Markables.

Source class: ThreadSafeConstituencyParser
Source package: org.apache.ctakes.constituency.parser.concurrent
Parent class: org.apache.ctakes.constituency.parser.ae.ConstituencyParser
Dependencies: Document Id, Sentence
Products: Tree Node

Parameter Description Class Required Default
MaxTokens The token limit for sentences we actually parse. Longer sentences will be ignored. int No
MODEL_FILENAME File containing the opennlp-trained parser model String No org/apache/ctakes/constituency/parser/models/ sharpacq-3.1.bin

Output Writers

Parser Tree Writer

Writes information about TreeBank Nodes to file.

Source class: ParserTreeWriterConsumer
Source package: org.apache.ctakes.constituency.parser.uima.co
Parent class: org.apache.uima.collection.CasConsumer_ImplBase

No available configuration parameters.

Clone this wiki locally