| 506 | DISJUNCT = OR = "OR" |
| 507 | |
| 508 | class 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 |
no outgoing calls
no test coverage detected
searching dependent graphs…