Return the absolute qspan distance to other match. Overlapping matches have a zero distance. Non-overlapping touching matches have a distance of one.
(self, other)
| 448 | return other.qspan in self.qspan |
| 449 | |
| 450 | def qdistance_to(self, other): |
| 451 | """ |
| 452 | Return the absolute qspan distance to other match. |
| 453 | Overlapping matches have a zero distance. |
| 454 | Non-overlapping touching matches have a distance of one. |
| 455 | """ |
| 456 | return self.qspan.distance_to(other.qspan) |
| 457 | |
| 458 | def idistance_to(self, other): |
| 459 | """ |
no test coverage detected