-
Notifications
You must be signed in to change notification settings - Fork 5
Description
I'd like a way to add classes and properties to cromulent.model at runtime. This would be akin to what would happen if I added rows to crm_vocab.tsv, but with the flexibility to do it conditionally (dependent on the calling code, specific script being run, etc.).
The code in cromulent.model that builds the classes does not seem to be easily extended to incrementally add classes or properties. It is rather tightly coupled with the TSV parsing/loading code, and also seems to depend on ephemeral data that is loaded from the TSV file, but not persisted once the class building process is done. If this code could be decoupled and improved to allow incremental class building, new data could be provided either as an additional TSV file (or equivalent without having to actually touch the filesystem), or in an already-processed form similar to what the process_tsv function produces.