compass.validation.location#

COMPASS Ordinance Location Validation logic

These are primarily used to validate that a legal document applies to a particular location.

Classes

DTreeJurisdictionValidator(jurisdiction, ...)

Validate ordinance text against a target jurisdiction

DTreeURLJurisdictionValidator(jurisdiction, ...)

Validate whether a URL appears to target a jurisdiction

JurisdictionValidator([score_thresh, ...])

Coordinate URL and text jurisdiction validation for documents

JurisdictionWebsiteValidator([...])

Validate whether a website is the primary jurisdiction portal