belbio / bel

BEL python package
https://bel.rtfd.io
Apache License 2.0
7 stars 3 forks source link

BEL -> BELglish?/BEnglish? #11

Open wshayes opened 6 years ago

wshayes commented 6 years ago

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

wshayes commented 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?

wshayes commented 6 years ago

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?)

wshayes commented 6 years ago

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.

wshayes commented 5 years ago

This should process the BEL AST (parsed version of the BEL statement) to generate the BELglish version.