Return-Path: X-Original-To: apmail-ctakes-notifications-archive@www.apache.org Delivered-To: apmail-ctakes-notifications-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 03AE611224 for ; Mon, 28 Apr 2014 02:45:27 +0000 (UTC) Received: (qmail 43818 invoked by uid 500); 28 Apr 2014 02:45:26 -0000 Delivered-To: apmail-ctakes-notifications-archive@ctakes.apache.org Received: (qmail 43770 invoked by uid 500); 28 Apr 2014 02:45:25 -0000 Mailing-List: contact notifications-help@ctakes.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ctakes.apache.org Delivered-To: mailing list notifications@ctakes.apache.org Received: (qmail 43591 invoked by uid 99); 28 Apr 2014 02:45:19 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Apr 2014 02:45:19 +0000 Date: Mon, 28 Apr 2014 02:45:19 +0000 (UTC) From: "ASF subversion and git services (JIRA)" To: notifications@ctakes.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CTAKES-253) YTEX ctakes patches port MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CTAKES-253?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13982717#comment-13982717 ] ASF subversion and git services commented on CTAKES-253: -------------------------------------------------------- Commit 1590549 from [~vjapache] in branch 'ctakes/trunk' [ https://svn.apache.org/r1590549 ] #CTAKES-253, CTAKES-292 ytex merge > YTEX ctakes patches port > ------------------------ > > Key: CTAKES-253 > URL: https://issues.apache.org/jira/browse/CTAKES-253 > Project: cTAKES > Issue Type: Bug > Components: ctakes-core > Affects Versions: 3.1.0 > Environment: platform independent > Reporter: vijay > Assignee: Pei Chen > Fix For: 3.1.1 > > Attachments: jira-ctakes-core.zip > > > 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 -- This message was sent by Atlassian JIRA (v6.2#6252)