allofphysicsgraph / proofofconcept

Physics Derivation Graph: mathematical connections among equations
https://derivationmap.net/
Other
20 stars 6 forks source link

use autocomplete for suggestions in web forms #58

Open bhpayne opened 4 years ago

bhpayne commented 4 years ago

Applies to both inference rules and latex expressions

The autocomplete feature is useful for typing in CLI; not clear how to enable for web interface.

msgoff commented 4 years ago

This module is pretty nice for sub/pub messaging.
It is easy to setup and easy to use.
https://www.nginx.com/resources/wiki/modules/Nchan/

This package is good for doing autocomplete.
https://python-prompt-toolkit.readthedocs.io

The webpage would keep an open websocket with the python view that is a subscriber and feed back the results accordingly.

I will work on a docker demo over the weekend for it.

bhpayne commented 4 years ago

https://www.nltk.org/book/ch04.html describes "trie" data structure; see https://en.wikipedia.org/wiki/Trie