User:Joca/autocomplete: Difference between revisions
(→Tools) |
|||
(3 intermediate revisions by the same user not shown) | |||
Line 22: | Line 22: | ||
A library that provides an easy way to process text and deliver suggestions on your own probability model. | A library that provides an easy way to process text and deliver suggestions on your own probability model. | ||
https://github.com/YourMD/markov-autocomplete | |||
=== Pushing the text from backend to interface === | === Pushing the text from backend to interface === | ||
https://lonelycoding.com/autocomplete-textbox-example-in-python-google-app-engine/ | https://lonelycoding.com/autocomplete-textbox-example-in-python-google-app-engine/ | ||
https://github.com/Zrufy/Flask-Autocomplete | |||
http://abdulbaqi.io/2017/11/26/flask-form-ajax-sqlalchemy/ | |||
https://stackoverflow.com/questions/12277933/send-data-from-a-textbox-into-flask |
Latest revision as of 11:38, 25 May 2018
Autocomplete bot
Goal
Based on the user's input in the searchbox, this bot autocompletes the query in an unexpected way.
Tools
I am looking for a way to have a small Python script in the background, that provides autocomplete suggestions based on a markov chain. And maybe later on also taking into account the titles of the books in the database. These suggestions are then displayed inside the searchbar.
input: User typed search query
processing input: Run markov chain based on the input, update as the input changes
output: Suggestion is displayed into searchbar
Markov chain
Autocomplete lib https://pypi.org/project/autocomplete/
A library that provides an easy way to process text and deliver suggestions on your own probability model.
https://github.com/YourMD/markov-autocomplete
Pushing the text from backend to interface
https://lonelycoding.com/autocomplete-textbox-example-in-python-google-app-engine/
https://github.com/Zrufy/Flask-Autocomplete
http://abdulbaqi.io/2017/11/26/flask-form-ajax-sqlalchemy/
https://stackoverflow.com/questions/12277933/send-data-from-a-textbox-into-flask