ctakes-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From seanfi...@apache.org
Subject svn commit: r1742322 - /ctakes/trunk/ctakes-core/src/main/java/org/apache/ctakes/core/util/OntologyConceptUtil.java
Date Wed, 04 May 2016 19:36:13 GMT
Author: seanfinan
Date: Wed May  4 19:36:13 2016
New Revision: 1742322

URL: http://svn.apache.org/viewvc?rev=1742322&view=rev
Log:
UmlsConcept directly from FeatureStructure

Modified:
    ctakes/trunk/ctakes-core/src/main/java/org/apache/ctakes/core/util/OntologyConceptUtil.java

Modified: ctakes/trunk/ctakes-core/src/main/java/org/apache/ctakes/core/util/OntologyConceptUtil.java
URL: http://svn.apache.org/viewvc/ctakes/trunk/ctakes-core/src/main/java/org/apache/ctakes/core/util/OntologyConceptUtil.java?rev=1742322&r1=1742321&r2=1742322&view=diff
==============================================================================
--- ctakes/trunk/ctakes-core/src/main/java/org/apache/ctakes/core/util/OntologyConceptUtil.java
(original)
+++ ctakes/trunk/ctakes-core/src/main/java/org/apache/ctakes/core/util/OntologyConceptUtil.java
Wed May  4 19:36:13 2016
@@ -88,7 +88,7 @@ final public class OntologyConceptUtil {
     * @return stream of all Umls Concepts associated with the annotation
     */
    static public Stream<UmlsConcept> getUmlsConceptStream( final IdentifiedAnnotation
annotation ) {
-      return getOntologyConceptStream( annotation )
+      return Arrays.stream( getConceptFeatureStructures( annotation ) )
             .filter( UmlsConcept.class::isInstance )
             .map( fs -> (UmlsConcept)fs );
    }



Mime
View raw message