Taking Chemical descriptions into reality.

Chemex is a derivative plugin developed this morning to extend the power of the mathex.io library, forged a month back :D. While I cannot say Chemex is complete by any means, and nowhere near the flexibility of Mathex, it takes basic connections described in English of chemical formulas and translates them into a visual display without the need of a javascript rendering engine. Chemex runs recursively (but isn't bug free :/ for all permutations!) and is built on a dictionary oriented format to allow flexibility of additions of micro formulae in the future (right now just Water and table salt but eventually: Benzene rings, etc etc). The Chemex script runs in about 1 millisecond and handles parsing, rendering, and display. The NLP structure involves a strategy I pursued in the past with mathex using a pre-main-post cycle, structured around condensing the statement into a readable format, parsing it recursively, and then cleaning it up afterwards. Like Mathex, I intend to open source the Chemex plugin for educational and non-profit use - limited.

Built With

Share this project:

Updates