-
Notifications
You must be signed in to change notification settings - Fork 22
CalendarUtil
Can create TimeMention, Date, Time, and Calendar classes based upon text, annotations, etc.
- Author: SPF , chip-nlp
- Version: %I%
-
Since: 1/8/2019
-
Parameters:
-
jCasye olde ... -
beginbegin index in doc text -
endend index in doc text
-
-
Returns: TimeMention with normalized date and time and character offsets
static public TimeMention createTimeMention( final JCas jCas, final int begin, final int end, final Calendar calendar )
-
Parameters:
-
jCasye olde ... -
beginbegin index in doc text -
endend index in doc text -
calendarsome calendar with actual date information
-
-
Returns: TimeMention with normalized date and time and character offsets
-
Parameters:
-
jCasye olde ... -
textdoc text
-
-
Returns: TimeMention with normalized date and time and no character offsets
-
Parameters:
-
jCasye olde ... -
calendarsome calendar with actual date information
-
-
Returns: TimeMention with normalized date and time and no character offsets
-
Parameters:
-
jCasye olde ... -
textsome text representing actual date information
-
-
Returns: Type System Date with filled day, month, year values
-
Parameters:
-
jCasye olde ... -
calendarsome calendar with actual date information
-
-
Returns: Type System Date with filled day, month, year values
-
Parameters:
-
jCasye olde ... -
textsome text representing actual time information
-
-
Returns: Type System Time with filled day, month, year values
-
Parameters:
-
jCasye olde ... -
calendarsome calendar with actual time information
-
-
Returns: Type System Time with filled day, month, year values
-
Parameters:
-
annotation-
-
-
Returns: Calendar parsed from annotation, or {@link #NULL_CALENDAR}.
-
Parameters:
-
text-
-
-
Returns: Calendar parsed from text, or {@link #NULL_CALENDAR}.
-
Parameters:
-
timeMention-
-
-
Returns: Calendar created using preset date information in the TimeMention or its covered text, or {@link #NULL_CALENDAR}.
-
Parameters:
-
typeDateType System Date, usually in a {@link TimeMention}.
-
-
Returns: Calendar created using preset date information, or {@link #NULL_CALENDAR}.
-
Parameters:
-
text-
-
- Returns: positive int value of text or {@link Integer#MIN_VALUE} if not possible.
- Java API
- Running a Pipeline
- Working with Data
- Utilities
- Text Searching
patient
AbstractPatientConsumer
AbstractPatientFileWriter
PatientNoteCollector
PatientNoteStore
PatientViewUtil
pipeline
PipeBitLocator
PipelineBuilder
PiperFileReader
PiperFileRunner
resource
FileLocator
util
CalendarUtil
MutableUimaContext
NumberedSuffixComparator
Pair
RelationArgumentUtil
StringUtil
annotation
ConceptBuilder
EssentialAnnotationUtil
IdentifiedAnnotationBuilder
IdentifiedAnnotationUtil
OntologyConceptUtil
SemanticGroup
SemanticTui
doc
DocIdUtil
JCasBuilder
TextBySectionBuilder
TextBySentenceBuilder
log
DotLogger
FinishedLogger
regex
RegexSpanFinder
TimeoutMatcher
textspan
DefaultAspanComparator
DefaultTextSpanComparator
DefaultTextSpan
TextSpan
