MCPcopy Create free account
hub / github.com/aboutcode-org/scancode-toolkit / is_continuous

Method is_continuous

src/licensedcode/match.py:529–536  ·  view source on GitHub ↗

Return True if the all the matched tokens of this match are continuous without any extra unmatched known or unkwown words, or stopwords.

(self)

Source from the content-addressed store, hash-verified

527 return qmagnitude
528
529 def is_continuous(self):
530 """
531 Return True if the all the matched tokens of this match are continuous
532 without any extra unmatched known or unkwown words, or stopwords.
533 """
534 return (
535 self.len() == self.qregion_len() == self.qmagnitude()
536 )
537
538 def qregion(self):
539 """

Calls 3

lenMethod · 0.95
qregion_lenMethod · 0.95
qmagnitudeMethod · 0.95

Tested by

no test coverage detected