Package org.apache.stanbol.enhancer.nlp.dependency

Examples of org.apache.stanbol.enhancer.nlp.dependency.GrammaticalRelation


            throw new IllegalStateException("Unable to parse GrammaticalRelationTag. The value of the "
                                            + "'tag' field MUST have a textual value (json: "
                                            + jDependencyRelation + ")");
        }

        GrammaticalRelation grammaticalRelation = GrammaticalRelation.class.getEnumConstants()[jDependencyRelation
                .path(RELATION_STANBOL_TYPE_TAG).asInt()];
        GrammaticalRelationTag gramRelTag = new GrammaticalRelationTag(tag.getTextValue(),
                grammaticalRelation);

        JsonNode isDependent = jDependencyRelation.path(RELATION_IS_DEPENDENT_TAG);
View Full Code Here

TOP

Related Classes of org.apache.stanbol.enhancer.nlp.dependency.GrammaticalRelation

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.