Open wshayes opened 6 years ago
From @davidchen on November 15, 2017 18:32
@wshayes Will this be a function of our BEL object such as parse(), canonicalize(), etc.? Or does this go into dev tools?
From @davidchen on November 15, 2017 18:33
Also, should we keep data about the English-equivalent in the YAML? (EXAMPLE: 'act': 'molecular activity of the'
dictionary value... where does this go?)
Let's create this as a separate file from the BEL Specification file - it should still be versioned the same as the BEL Specification.
It should be a method on the BEL object, but put the main code in a separate module file, e.g. belglish.py.
This should process the BEL AST (parsed version of the BEL statement) to generate the BELglish version.
From @wshayes on November 3, 2017 14:26
Convert BEL statement into an English like version. Use https://github.com/OpenBEL/openbel-contributions/blob/master/misc-scripts/openbel-bel2english.py as a starting point. Goal is to transform BEL AST into an English-like version of BEL.
_Copied from original issue: belbio/bellang#41