Return-Path: X-Original-To: apmail-ctakes-commits-archive@www.apache.org Delivered-To: apmail-ctakes-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1FF8B10A8D for ; Wed, 1 Jan 2014 23:40:06 +0000 (UTC) Received: (qmail 36985 invoked by uid 500); 1 Jan 2014 23:40:06 -0000 Delivered-To: apmail-ctakes-commits-archive@ctakes.apache.org Received: (qmail 36954 invoked by uid 500); 1 Jan 2014 23:40:06 -0000 Mailing-List: contact commits-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 commits@ctakes.apache.org Received: (qmail 36947 invoked by uid 99); 1 Jan 2014 23:40:06 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Jan 2014 23:40:05 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Jan 2014 23:39:55 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id B14962388868; Wed, 1 Jan 2014 23:39:32 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1554701 [1/2] - in /ctakes/branches/ytex: ctakes-ytex-res/src/main/resources/org/apache/ctakes/ytex/ ctakes-ytex-res/src/main/resources/org/apache/ctakes/ytex/kernel/ ctakes-ytex-uima/ ctakes-ytex-uima/conceptGraph/ ctakes-ytex-uima/desc/a... Date: Wed, 01 Jan 2014 23:39:31 -0000 To: commits@ctakes.apache.org From: vjapache@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20140101233932.B14962388868@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: vjapache Date: Wed Jan 1 23:39:31 2014 New Revision: 1554701 URL: http://svn.apache.org/r1554701 Log: add unit tests fix ehcache/hiberante warnings simplify concept graph path resolution Removed: ctakes/branches/ytex/ctakes-ytex-uima/conceptGraph/ ctakes/branches/ytex/ctakes-ytex-uima/desc/analysis_engine/YTEXPipelineNoDBConsumer.xml ctakes/branches/ytex/ctakes-ytex-uima/src/test/java/org/apache/ctakes/ytex/uima/DBCollectionReaderTest.java Modified: ctakes/branches/ytex/ctakes-ytex-res/src/main/resources/org/apache/ctakes/ytex/beans-datasource.xml ctakes/branches/ytex/ctakes-ytex-res/src/main/resources/org/apache/ctakes/ytex/beans-kernel-sim.xml ctakes/branches/ytex/ctakes-ytex-res/src/main/resources/org/apache/ctakes/ytex/kernel/ehcache.xml ctakes/branches/ytex/ctakes-ytex-res/src/main/resources/org/apache/ctakes/ytex/ytex.properties.mssql.example ctakes/branches/ytex/ctakes-ytex-res/src/main/resources/org/apache/ctakes/ytex/ytex.properties.mysql.example ctakes/branches/ytex/ctakes-ytex-uima/desc/analysis_engine/AggregatePlaintextUMLSProcessor.xml ctakes/branches/ytex/ctakes-ytex-uima/desc/analysis_engine/SenseDisambiguatorAnnotator.xml ctakes/branches/ytex/ctakes-ytex-uima/pom.xml ctakes/branches/ytex/ctakes-ytex-uima/src/test/java/org/apache/ctakes/ytex/uima/annotators/DBConsumerTest.java ctakes/branches/ytex/ctakes-ytex-uima/src/test/java/org/apache/ctakes/ytex/uima/annotators/DictionaryLookupAnnotatorTest.java ctakes/branches/ytex/ctakes-ytex-uima/src/test/java/org/apache/ctakes/ytex/uima/annotators/SenseDisambiguatorAnnotatorTest.java ctakes/branches/ytex/ctakes-ytex/README ctakes/branches/ytex/ctakes-ytex/scripts/build-classpath.xml ctakes/branches/ytex/ctakes-ytex/scripts/data/hsql/umls/create_view.sql ctakes/branches/ytex/ctakes-ytex/src/main/java/org/apache/ctakes/ytex/dao/DBUtil.java ctakes/branches/ytex/ctakes-ytex/src/main/java/org/apache/ctakes/ytex/kernel/dao/ConceptDao.java ctakes/branches/ytex/ctakes-ytex/src/main/java/org/apache/ctakes/ytex/kernel/dao/ConceptDaoImpl.java ctakes/branches/ytex/ctakes-ytex/src/main/java/org/apache/ctakes/ytex/kernel/metric/ConceptSimilarityServiceImpl.java ctakes/branches/ytex/ctakes-ytex/src/test/java/org/apache/ctakes/ytex/ConceptDaoTest.java Modified: ctakes/branches/ytex/ctakes-ytex-res/src/main/resources/org/apache/ctakes/ytex/beans-datasource.xml URL: http://svn.apache.org/viewvc/ctakes/branches/ytex/ctakes-ytex-res/src/main/resources/org/apache/ctakes/ytex/beans-datasource.xml?rev=1554701&r1=1554700&r2=1554701&view=diff ============================================================================== --- ctakes/branches/ytex/ctakes-ytex-res/src/main/resources/org/apache/ctakes/ytex/beans-datasource.xml (original) +++ ctakes/branches/ytex/ctakes-ytex-res/src/main/resources/org/apache/ctakes/ytex/beans-datasource.xml Wed Jan 1 23:39:31 2014 @@ -38,7 +38,8 @@ http://www.springframework.org/schema/ao ${hibernate.jdbc.batch_size} ${hibernate.order_inserts} ${hibernate.order_updates} - /org/apache/ctakes/ytex/kernel/ehcache.xml + org/apache/ctakes/ytex/kernel/ehcache.xml + org/apache/ctakes/ytex/kernel/ehcache.xml Modified: ctakes/branches/ytex/ctakes-ytex-res/src/main/resources/org/apache/ctakes/ytex/beans-kernel-sim.xml URL: http://svn.apache.org/viewvc/ctakes/branches/ytex/ctakes-ytex-res/src/main/resources/org/apache/ctakes/ytex/beans-kernel-sim.xml?rev=1554701&r1=1554700&r2=1554701&view=diff ============================================================================== --- ctakes/branches/ytex/ctakes-ytex-res/src/main/resources/org/apache/ctakes/ytex/beans-kernel-sim.xml (original) +++ ctakes/branches/ytex/ctakes-ytex-res/src/main/resources/org/apache/ctakes/ytex/beans-kernel-sim.xml Wed Jan 1 23:39:31 2014 @@ -6,12 +6,19 @@ http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-2.5.xsd http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.5.xsd"> - + + + + + @@ -28,21 +35,25 @@ http://www.springframework.org/schema/ao - - - - + \ No newline at end of file Modified: ctakes/branches/ytex/ctakes-ytex-res/src/main/resources/org/apache/ctakes/ytex/kernel/ehcache.xml URL: http://svn.apache.org/viewvc/ctakes/branches/ytex/ctakes-ytex-res/src/main/resources/org/apache/ctakes/ytex/kernel/ehcache.xml?rev=1554701&r1=1554700&r2=1554701&view=diff ============================================================================== --- ctakes/branches/ytex/ctakes-ytex-res/src/main/resources/org/apache/ctakes/ytex/kernel/ehcache.xml (original) +++ ctakes/branches/ytex/ctakes-ytex-res/src/main/resources/org/apache/ctakes/ytex/kernel/ehcache.xml Wed Jan 1 23:39:31 2014 @@ -1,1065 +1,17 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + Modified: ctakes/branches/ytex/ctakes-ytex-res/src/main/resources/org/apache/ctakes/ytex/ytex.properties.mssql.example URL: http://svn.apache.org/viewvc/ctakes/branches/ytex/ctakes-ytex-res/src/main/resources/org/apache/ctakes/ytex/ytex.properties.mssql.example?rev=1554701&r1=1554700&r2=1554701&view=diff ============================================================================== --- ctakes/branches/ytex/ctakes-ytex-res/src/main/resources/org/apache/ctakes/ytex/ytex.properties.mssql.example (original) +++ ctakes/branches/ytex/ctakes-ytex-res/src/main/resources/org/apache/ctakes/ytex/ytex.properties.mssql.example Wed Jan 1 23:39:31 2014 @@ -21,7 +21,6 @@ db.password= db.type=mssql db.driver=com.microsoft.sqlserver.jdbc.SQLServerDriver db.initStatements= -ytex.beanRefContext=classpath*:beanRefContext.xml hibernate.dialect=org.hibernate.dialect.SQLServerDialect # transaction isolation level Modified: ctakes/branches/ytex/ctakes-ytex-res/src/main/resources/org/apache/ctakes/ytex/ytex.properties.mysql.example URL: http://svn.apache.org/viewvc/ctakes/branches/ytex/ctakes-ytex-res/src/main/resources/org/apache/ctakes/ytex/ytex.properties.mysql.example?rev=1554701&r1=1554700&r2=1554701&view=diff ============================================================================== --- ctakes/branches/ytex/ctakes-ytex-res/src/main/resources/org/apache/ctakes/ytex/ytex.properties.mysql.example (original) +++ ctakes/branches/ytex/ctakes-ytex-res/src/main/resources/org/apache/ctakes/ytex/ytex.properties.mysql.example Wed Jan 1 23:39:31 2014 @@ -17,7 +17,6 @@ db.url=jdbc:mysql://localhost:3306/ytex? db.type=mysql db.driver=com.mysql.jdbc.Driver db.initStatements= -ytex.beanRefContext=classpath*:beanRefContext.xml hibernate.dialect=org.hibernate.dialect.MySQLMyISAMDialect # transaction isolation level Modified: ctakes/branches/ytex/ctakes-ytex-uima/desc/analysis_engine/AggregatePlaintextUMLSProcessor.xml URL: http://svn.apache.org/viewvc/ctakes/branches/ytex/ctakes-ytex-uima/desc/analysis_engine/AggregatePlaintextUMLSProcessor.xml?rev=1554701&r1=1554700&r2=1554701&view=diff ============================================================================== --- ctakes/branches/ytex/ctakes-ytex-uima/desc/analysis_engine/AggregatePlaintextUMLSProcessor.xml (original) +++ ctakes/branches/ytex/ctakes-ytex-uima/desc/analysis_engine/AggregatePlaintextUMLSProcessor.xml Wed Jan 1 23:39:31 2014 @@ -1,209 +1,253 @@ - + - org.apache.uima.java - - - Identical to ctakes-clinical-pipeline/desc/analysis_engine/AggregatePlaintextUMLSProcessor.xml with the following changes: - substitute ytex SegmentRegexAnnotator for SimpleSegmentAnnotator; - substitute ytex SentenceDetectorAnnotator for SentenceDetectorAnnotator; - substitute ytex DictionaryLookupAnnotator for DictionaryLookupAnnotatorUMLS - - - false - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - AggregatePlaintextUMLSProcessor - Runs the complete pipeline for annotating clinical documents in plain text format using the built in UMLS (SNOMEDCT and RxNORM) dictionaries. This uses the dictionary lookup/desc/DictionaryLookupAnnotatorUMLS.xml -and requires an UMLS license. Please update DictionaryLookupAnnotatorUMLS.xml file with your UMLS username and password. - - - - - - ChunkCreatorClass - String - false - true - - Chunker/ChunkCreatorClass - - - - - - ChunkCreatorClass - - org.apache.ctakes.chunker.ae.PhraseTypeChunkCreator - - - - - - SegmentRegexAnnotator - SentenceDetectorAnnotator - TokenizerAnnotator - LvgAnnotator - ContextDependentTokenizerAnnotator - POSTagger - - Chunker - AdjustNounPhraseToIncludeFollowingNP - AdjustNounPhraseToIncludeFollowingPPNP - LookupWindowAnnotator - DictionaryLookupAnnotatorDB - - - - - Ordering - For subiterator - 1.0 - - org.apache.ctakes.typesystem.type.textspan.Segment - org.apache.ctakes.typesystem.type.textspan.Sentence - org.apache.ctakes.typesystem.type.syntax.BaseToken - - - org.apache.ctakes.typesystem.type.textspan.Sentence - org.apache.ctakes.typesystem.type.textsem.IdentifiedAnnotation - - - - - - - - org.apache.ctakes.typesystem.type.syntax.NewlineToken - org.apache.ctakes.typesystem.type.textsem.IdentifiedAnnotation - org.apache.ctakes.typesystem.type.syntax.WordToken - org.apache.ctakes.typesystem.type.syntax.VP - org.apache.ctakes.typesystem.type.refsem.UmlsConcept - org.apache.ctakes.typesystem.type.syntax.UCP - org.apache.ctakes.typesystem.type.textsem.TimeAnnotation - org.apache.ctakes.typesystem.type.syntax.SymbolToken - org.apache.ctakes.typesystem.type.textspan.Sentence - org.apache.ctakes.typesystem.type.textspanSegment - org.apache.ctakes.typesystem.type.syntax.SBAR - org.apache.ctakes.typesystem.type.textsem.RomanNumeralAnnotation - org.apache.ctakes.typesystem.type.textsem.RangeAnnotation - org.apache.ctakes.typesystem.type.syntax.PunctuationToken - org.apache.ctakes.typesystem.type.Property - org.apache.ctakes.typesystem.type.Properties - org.apache.ctakes.typesystem.type.textsem.PersonTitleAnnotation - org.apache.ctakes.typesystem.type.syntax.PRT - org.apache.ctakes.typesystem.type.syntax.PP - org.apache.ctakes.typesystem.type.OntologyConcept - org.apache.ctakes.typesystem.type.syntax.NumToken - org.apache.ctakes.typesystem.type.syntax. - org.apache.ctakes.typesystem.type.textsem.MeasurementAnnotation - org.apache.ctakes.typesystem.type.textspan.LookupWindowAnnotation - org.apache.ctakes.typesystem.type.syntax.Lemma - org.apache.ctakes.typesystem.type.syntax.LST - org.apache.ctakes.typesystem.type.syntax.INTJ - org.apache.ctakes.typesystem.type.textsem.FractionAnnotation - org.apache.ctakes.typesystem.type.structured.DocumentID - uima.tcas.DocumentAnnotation - org.apache.ctakes.typesystem.type.textsem.DateAnnotation - org.apache.ctakes.typesystem.type.CopySrcAnnotation - org.apache.ctakes.typesystem.type.CopyDestAnnotation - org.apache.ctakes.typesystem.type.ContractionToken - org.apache.ctakes.typesystem.type.textsem.ContextAnnotation - org.apache.ctakes.typesystem.type.syntax.Chunk - org.apache.ctakes.typesystem.type.syntax.CONJP - org.apache.ctakes.typesystem.type.syntax.BaseToken - uima.cas.AnnotationBase - uima.tcas.Annotation - org.apache.ctakes.typesystem.type.syntax.ADVP - org.apache.ctakes.typesystem.type.syntax.ADJP - - - - - - true - true - false - - - + org.apache.uima.java + + + Identical to + ctakes-clinical-pipeline/desc/analysis_engine/AggregatePlaintextUMLSProcessor.xml + with the following changes: + substitute ytex SegmentRegexAnnotator for SimpleSegmentAnnotator; + substitute ytex SentenceDetectorAnnotator for SentenceDetectorAnnotator; + substitute ytex DictionaryLookupAnnotator for + DictionaryLookupAnnotatorUMLS + add SenseDisambiguatorAnnotator + + + false + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + AggregatePlaintextUMLSProcessor + Runs the complete pipeline for annotating clinical + documents in plain text format using the built in UMLS (SNOMEDCT and + RxNORM) dictionaries. This uses the dictionary + lookup/desc/DictionaryLookupAnnotatorUMLS.xml + and requires an UMLS license. Please update + DictionaryLookupAnnotatorUMLS.xml file with your UMLS username and + password. + + + + + + ChunkCreatorClass + String + false + true + + Chunker/ChunkCreatorClass + + + + + + ChunkCreatorClass + + org.apache.ctakes.chunker.ae.PhraseTypeChunkCreator + + + + + + + SegmentRegexAnnotator + SentenceDetectorAnnotator + TokenizerAnnotator + LvgAnnotator + ContextDependentTokenizerAnnotator + POSTagger + + Chunker + AdjustNounPhraseToIncludeFollowingNP + AdjustNounPhraseToIncludeFollowingPPNP + LookupWindowAnnotator + DictionaryLookupAnnotatorDB + SenseDisambiguatorAnnotator + + + + + Ordering + For subiterator + 1.0 + + org.apache.ctakes.typesystem.type.textspan.Segment + org.apache.ctakes.typesystem.type.textspan.Sentence + org.apache.ctakes.typesystem.type.syntax.BaseToken + + + org.apache.ctakes.typesystem.type.textspan.Sentence + org.apache.ctakes.typesystem.type.textsem.IdentifiedAnnotation + + + + + + + + + org.apache.ctakes.typesystem.type.syntax.NewlineToken + + org.apache.ctakes.typesystem.type.textsem.IdentifiedAnnotation + + org.apache.ctakes.typesystem.type.syntax.WordToken + + org.apache.ctakes.typesystem.type.syntax.VP + + org.apache.ctakes.typesystem.type.refsem.UmlsConcept + + org.apache.ctakes.typesystem.type.syntax.UCP + + org.apache.ctakes.typesystem.type.textsem.TimeAnnotation + + org.apache.ctakes.typesystem.type.syntax.SymbolToken + + org.apache.ctakes.typesystem.type.textspan.Sentence + + org.apache.ctakes.typesystem.type.textspanSegment + + org.apache.ctakes.typesystem.type.syntax.SBAR + + org.apache.ctakes.typesystem.type.textsem.RomanNumeralAnnotation + + org.apache.ctakes.typesystem.type.textsem.RangeAnnotation + + org.apache.ctakes.typesystem.type.syntax.PunctuationToken + + org.apache.ctakes.typesystem.type.Property + + org.apache.ctakes.typesystem.type.Properties + + org.apache.ctakes.typesystem.type.textsem.PersonTitleAnnotation + + org.apache.ctakes.typesystem.type.syntax.PRT + + org.apache.ctakes.typesystem.type.syntax.PP + + org.apache.ctakes.typesystem.type.OntologyConcept + + org.apache.ctakes.typesystem.type.syntax.NumToken + + org.apache.ctakes.typesystem.type.syntax. + + org.apache.ctakes.typesystem.type.textsem.MeasurementAnnotation + + org.apache.ctakes.typesystem.type.textspan.LookupWindowAnnotation + + org.apache.ctakes.typesystem.type.syntax.Lemma + + org.apache.ctakes.typesystem.type.syntax.LST + + org.apache.ctakes.typesystem.type.syntax.INTJ + + org.apache.ctakes.typesystem.type.textsem.FractionAnnotation + + org.apache.ctakes.typesystem.type.structured.DocumentID + + uima.tcas.DocumentAnnotation + org.apache.ctakes.typesystem.type.textsem.DateAnnotation + + org.apache.ctakes.typesystem.type.CopySrcAnnotation + + org.apache.ctakes.typesystem.type.CopyDestAnnotation + + org.apache.ctakes.typesystem.type.ContractionToken + + org.apache.ctakes.typesystem.type.textsem.ContextAnnotation + + org.apache.ctakes.typesystem.type.syntax.Chunk + + org.apache.ctakes.typesystem.type.syntax.CONJP + + org.apache.ctakes.typesystem.type.syntax.BaseToken + + uima.cas.AnnotationBase + uima.tcas.Annotation + org.apache.ctakes.typesystem.type.syntax.ADVP + + org.apache.ctakes.typesystem.type.syntax.ADJP + + + + + + + true + true + false + + + Modified: ctakes/branches/ytex/ctakes-ytex-uima/desc/analysis_engine/SenseDisambiguatorAnnotator.xml URL: http://svn.apache.org/viewvc/ctakes/branches/ytex/ctakes-ytex-uima/desc/analysis_engine/SenseDisambiguatorAnnotator.xml?rev=1554701&r1=1554700&r2=1554701&view=diff ============================================================================== --- ctakes/branches/ytex/ctakes-ytex-uima/desc/analysis_engine/SenseDisambiguatorAnnotator.xml (original) +++ ctakes/branches/ytex/ctakes-ytex-uima/desc/analysis_engine/SenseDisambiguatorAnnotator.xml Wed Jan 1 23:39:31 2014 @@ -2,7 +2,7 @@ org.apache.uima.java true - ytex.uima.annotators.SenseDisambiguatorAnnotator + org.apache.ctakes.ytex.uima.annotators.SenseDisambiguatorAnnotator SenseDisambiguatorAnnotator @@ -26,7 +26,7 @@ - + @@ -34,7 +34,7 @@ - edu.mayo.bmi.uima.core.type.NamedEntity + org.apache.ctakes.typesystem.type.textsem.IdentifiedAnnotation