Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
<?xml version="1.0" encoding="UTF-8"?><components xmlns:scr="http://www.osgi.org/xmlns/scr/v1.0.0">
    <scr:component enabled="true" immediate="true" name="org.apache.stanbol.enhancer.engines.dbpspotlight.annotate.DBPSpotlightAnnotateEnhancementEngine">
        <implementation class="org.apache.stanbol.enhancer.engines.dbpspotlight.annotate.DBPSpotlightAnnotateEnhancementEngine"/>
        <service servicefactory="false">
            <provide interface="org.apache.stanbol.enhancer.servicesapi.EnhancementEngine"/>
            <provide interface="org.apache.stanbol.enhancer.servicesapi.ServiceProperties"/>
        </service>
        <property name="stanbol.enhancer.engine.name" type="String" value="dbpspotlightannotate"/>
        <property name="dbpedia.spotlight.url" type="String" value="http://spotlight.dbpedia.org/rest/annotate"/>
        <property name="dbpedia.spotlight.spotter"/>
        <property name="dbpedia.spotlight.disambiguator"/>
        <property name="dbpedia.spotlight.types"/>
        <property name="dbpedia.spotlight.sparql"/>
        <property name="dbpedia.spotlight.support"/>
        <property name="dbpedia.spotlight.confidence"/>
        <property name="service.vendor" type="String" value="Apache Stanbol"/>
        <property name="service.pid" value="org.apache.stanbol.enhancer.engines.dbpspotlight.annotate.DBPSpotlightAnnotateEnhancementEngine"/>
        <reference name="onlineMode" interface="org.apache.stanbol.commons.stanboltools.offline.OnlineMode" cardinality="1..1" policy="static" bind="bindOnlineMode" unbind="unbindOnlineMode"/>
    </scr:component>
    <scr:component enabled="true" immediate="true" name="org.apache.stanbol.enhancer.engines.dbpspotlight.candidates.DBPSpotlightCandidatesEnhancementEngine">
        <implementation class="org.apache.stanbol.enhancer.engines.dbpspotlight.candidates.DBPSpotlightCandidatesEnhancementEngine"/>
        <service servicefactory="false">
            <provide interface="org.apache.stanbol.enhancer.servicesapi.EnhancementEngine"/>
            <provide interface="org.apache.stanbol.enhancer.servicesapi.ServiceProperties"/>
        </service>
        <property name="stanbol.enhancer.engine.name" type="String" value="dbpspotlightcandidates"/>
        <property name="dbpedia.spotlight.url" type="String" value="http://spotlight.dbpedia.org/rest/candidates"/>
        <property name="dbpedia.spotlight.spotter"/>
        <property name="dbpedia.spotlight.disambiguator"/>
        <property name="dbpedia.spotlight.types"/>
        <property name="dbpedia.spotlight.sparql"/>
        <property name="dbpedia.spotlight.support"/>
        <property name="dbpedia.spotlight.confidence"/>
        <property name="service.vendor" type="String" value="Apache Stanbol"/>
        <property name="service.pid" value="org.apache.stanbol.enhancer.engines.dbpspotlight.candidates.DBPSpotlightCandidatesEnhancementEngine"/>
        <reference name="onlineMode" interface="org.apache.stanbol.commons.stanboltools.offline.OnlineMode" cardinality="1..1" policy="static" bind="bindOnlineMode" unbind="unbindOnlineMode"/>
    </scr:component>
    <scr:component enabled="true" immediate="true" name="org.apache.stanbol.enhancer.engines.dbpspotlight.disambiguate.DBPSpotlightDisambiguateEnhancementEngine">
        <implementation class="org.apache.stanbol.enhancer.engines.dbpspotlight.disambiguate.DBPSpotlightDisambiguateEnhancementEngine"/>
        <service servicefactory="false">
            <provide interface="org.apache.stanbol.enhancer.servicesapi.EnhancementEngine"/>
            <provide interface="org.apache.stanbol.enhancer.servicesapi.ServiceProperties"/>
        </service>
        <property name="stanbol.enhancer.engine.name" type="String" value="dbpspotlightdisambiguate"/>
        <property name="dbpedia.spotlight.url" type="String" value="http://spotlight.dbpedia.org/rest/annotate"/>
        <property name="dbpedia.spotlight.disambiguator" type="String" value="Document"/>
        <property name="dbpedia.spotlight.types"/>
        <property name="dbpedia.spotlight.sparql"/>
        <property name="dbpedia.spotlight.support"/>
        <property name="dbpedia.spotlight.confidence"/>
        <property name="service.vendor" type="String" value="Apache Stanbol"/>
        <property name="service.pid" value="org.apache.stanbol.enhancer.engines.dbpspotlight.disambiguate.DBPSpotlightDisambiguateEnhancementEngine"/>
        <reference name="onlineMode" interface="org.apache.stanbol.commons.stanboltools.offline.OnlineMode" cardinality="1..1" policy="static" bind="bindOnlineMode" unbind="unbindOnlineMode"/>
    </scr:component>
    <scr:component enabled="true" immediate="true" name="org.apache.stanbol.enhancer.engines.dbpspotlight.spot.DBPSpotlightSpotEnhancementEngine">
        <implementation class="org.apache.stanbol.enhancer.engines.dbpspotlight.spot.DBPSpotlightSpotEnhancementEngine"/>
        <service servicefactory="false">
            <provide interface="org.apache.stanbol.enhancer.servicesapi.EnhancementEngine"/>
            <provide interface="org.apache.stanbol.enhancer.servicesapi.ServiceProperties"/>
        </service>
        <property name="stanbol.enhancer.engine.name" type="String" value="dbpspotlightspot"/>
        <property name="dbpedia.spotlight.url" type="String" value="http://spotlight.dbpedia.org/rest/spot"/>
        <property name="dbpedia.spotlight.spotter"/>
        <property name="service.vendor" type="String" value="Apache Stanbol"/>
        <property name="service.pid" value="org.apache.stanbol.enhancer.engines.dbpspotlight.spot.DBPSpotlightSpotEnhancementEngine"/>
        <reference name="onlineMode" interface="org.apache.stanbol.commons.stanboltools.offline.OnlineMode" cardinality="1..1" policy="static" bind="bindOnlineMode" unbind="unbindOnlineMode"/>
    </scr:component>
</components>
New to GrepCode? Check out our FAQ X