Uploaded image for project: 'cTAKES'
  1. cTAKES
  2. CTAKES-253

YTEX ctakes patches port

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.1.0
    • Fix Version/s: 3.1.1
    • Component/s: ctakes-core
    • Labels:
      None
    • Environment:
      platform independent

      Description

      This patch contains a variety of hardening fixes from the ytex distribution for ctakes (originally developed for ctakes 2.5, but the bugs remain in ctakes 3.2).

      • ctakes-context-tokenizer\src\main\java\org\apache\ctakes\contexttokenizer\ae\ContextDependentTokenizerAnnotator.java
        add null check: changed to avoid NPE in case BaseToken is null. Also ignore newline tokens (they should be treated as whitespace).
      • ctakes-core\src\main\java\org\apache\ctakes\core\fsm\adapters\NumberTokenAdapter.java
        add null check: ignore empty numbertokens
      • ctakes-core\src\main\java\org\apache\ctakes\core\fsm\machine\DateFSM.java
        Modified to include years in dates

        Attachments

        1. jira-ctakes-core.zip
          7 kB
          Vijay Garla

          Activity

            People

            • Assignee:
              chenpei Pei Chen
              Reporter:
              vjapache Vijay Garla
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: