gematria
gematria copied to clipboard
Refactor JSON snippet construction into sepaarate function
This patch refactors the construction of a JSON representation of an annotated snippet into a separate function. This is intended to make future work, like implementing threading, easier.
This is stacked on https://github.com/google/gematria/pull/80.