Package org.apache.stanbol.enhancer.engines.entitylinking.labeltokenizer

Examples of org.apache.stanbol.enhancer.engines.entitylinking.labeltokenizer.SimpleLabelTokenizer


    public static final UriRef TYPE = new UriRef(NamespaceEnum.rdf+"type");
    public static final UriRef REDIRECT = new UriRef(NamespaceEnum.rdfs+"seeAlso");

    @BeforeClass
    public static void setUpServices() throws IOException {
        searcher = new TestSearcherImpl(TEST_REFERENCED_SITE_NAME,NAME,new SimpleLabelTokenizer());
        //add some terms to the searcher
        MGraph graph = new IndexedMGraph();
        UriRef uri = new UriRef("urn:test:PatrickMarshall");
        graph.add(new TripleImpl(uri, NAME, new PlainLiteralImpl("Patrick Marshall")));
        graph.add(new TripleImpl(uri, TYPE, OntologicalClasses.DBPEDIA_PERSON));
View Full Code Here


    public static final UriRef TYPE = new UriRef(NamespaceEnum.rdf+"type");
    public static final UriRef REDIRECT = new UriRef(NamespaceEnum.rdfs+"seeAlso");

    @BeforeClass
    public static void setUpServices() throws IOException {
        searcher = new TestSearcherImpl(TEST_REFERENCED_SITE_NAME,NAME,new SimpleLabelTokenizer());
        //add some terms to the searcher
        MGraph graph = new IndexedMGraph();
        UriRef uri = new UriRef("urn:test:PatrickMarshall");
        graph.add(new TripleImpl(uri, NAME, new PlainLiteralImpl("Patrick Marshall")));
        graph.add(new TripleImpl(uri, TYPE, OntologicalClasses.DBPEDIA_PERSON));
View Full Code Here

TOP

Related Classes of org.apache.stanbol.enhancer.engines.entitylinking.labeltokenizer.SimpleLabelTokenizer

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.