Exemplo n.º 1
0
 def __init__(self, foxlight=4):
     """
         TODO: feed scmc.eu to spotlight
     """
     ClassifierInterface.__init__(self)
     DataInterface.__init__(self)
     self.fox = foxpy.fox.Fox(foxlight) #foxlight stands for NER method, see Fox class for details
Exemplo n.º 2
0
    def __init__(self, resourceId):
        DataInterface.__init__(self)
        self.confgen = LimesConfigGenerator()

        self.setSourceUri(resourceId)
        self.mappings = self._getMappings(resourceId)
        self.mappings.init_mappings_only()
        self.setSourceProperty(resourceId)

        self.mapping = self.mappings.get_mapping_by_name('csv2rdf-interface-generated')
        class_ = urllib.unquote(self.mapping['class'])
        self.setTargetRestriction(class_)

        self.setMetricString()
        self.setAcceptanceConditions()
        self.setReviewConditions()
Exemplo n.º 3
0
 def __init__(self):
     ClassifierInterface.__init__(self)
     DataInterface.__init__(self)