IdentifiedAnnotationBuilder - apache/ctakes GitHub Wiki
- Author: SPF , chip-nlp
- Version: %I%
-
Since: 9/26/2020
-
Parameters:
-
begintext span character index -
endtext span character index
-
-
Returns: this builder
-
Parameters:
-
textSpantext span character indices
-
-
Returns: this builder
public IdentifiedAnnotationBuilder creator( final Function<JCas, ? extends IdentifiedAnnotation> creator )
Allow for creation of IdentifiedAnnotations outside those created/determined by Semantic Group
-
Parameters:
-
creatorsome IdentifiedAnnotation creation function, e.g.TimeAnnotation::new
-
-
Returns: this builder
-
Parameters:
-
semanticGroupfor the annotation
-
-
Returns: this builder
-
Parameters:
-
semanticGroupname for the annotation
-
-
Returns: this builder
-
Parameters:
-
semanticTypefor the annotation
-
-
Returns: this builder
-
Parameters:
-
semanticTypename for the annotation
-
-
Returns: this builder
-
Parameters:
-
tuirepresenting the primary semantic type.
-
-
Returns: this builder
-
Parameters:
-
tuirepresenting the primary semantic type.
-
-
Returns: this builder
-
Parameters:
-
cuiconcept unique identifier
-
- Returns: this builder
-
Deprecated
-
Parameters:
-
textpreferred
-
- Returns: this builder
-
Deprecated
@Deprecated public IdentifiedAnnotationBuilder addSchemaCode( final String schema, final String code )
Can be used multiple times
-
Parameters:
-
schemaname of an encoding schema. e.g. SNOMEDCT_US -
codecode for this annotation in that schema
-
- Returns: this builder
-
Deprecated
-
Parameters:
-
textSpan- -
docLength-
-
-
Returns: false if the span is unspecified, reversed, or outside the document text.
Builds the IdentifiedAnnotation and stores it in the jCas. The same as .build( jcas )
-
Parameters:
-
jcasye olde ...
-
-
Returns: an IdentifiedAnnotation with properties specified or null if the cui or span are illegal.
Builds the IdentifiedAnnotation and stores it in the jCas. The same as .put( jcas )
-
Parameters:
-
jcasye olde ...
-
- Returns: an IdentifiedAnnotation with properties specified or null if the cui or span are illegal.