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

Class Conjunctions

pattern/text/tree.py:508–518  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

506DISJUNCT = OR = "OR"
507
508class Conjunctions(list):
509
510 def __init__(self, chunk):
511 """ Chunk.conjunctions is a list of other chunks participating in a conjunction.
512 Each item in the list is a (chunk, conjunction)-tuple, with conjunction either AND or OR.
513 """
514 list.__init__(self)
515 self.anchor = chunk
516
517 def append(self, chunk, type=CONJUNCT):
518 list.append(self, (chunk, type))
519
520#--- SENTENCE --------------------------------------------------------------------------------------
521

Callers 1

__init__Method · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…