I am working on something similar but with an AST for legal documents. So far, it seems promising but still rudimentary.