Source

orange-text / orangecontrib / text / widgets / OWTextDistance.py

Diff from to

orangecontrib/text/widgets/OWTextDistance.py

 
 from .. import orngText
 
+
+NAME = "Distance"
+DESCRIPTION = "Computes distances between documents"
+ICON = "icons/TextDistance.svg"
+PRIORITY = 2200
+
+INPUTS = [("Example Table", ExampleTable, "dataset")]
+OUTPUTS = [("Distance Matrix", orange.SymMatrix)]
+
+REPLACES = ["_text.widgets.OWTextDistance.OWTextDistance"]
+
+
 class OWTextDistance(OWWidget):
     def __init__(self, parent=None, signalManager=None):
         OWWidget.__init__(self,parent,signalManager,"Preprocess")