MCPcopy Index your code
hub / github.com/clips/pattern / __idiv__

Method __idiv__

pattern/metrics.py:367–368  ·  view source on GitHub ↗
(self, value)

Source from the content-addressed store, hash-verified

365 def __imul__(self, value):
366 return Weight(self * value, self.assessments)
367 def __idiv__(self, value):
368 return Weight(self / value, self.assessments)
369
370def intertextuality(texts=[], n=5, continuous=False, weight=lambda ngram: 1):
371 """ Returns a dictionary of (i, j) => float.

Callers

nothing calls this directly

Calls 1

WeightClass · 0.85

Tested by

no test coverage detected