POS Prediction on the Server side

Perviously I got the POS tracking model working in Javascript having built the model in python. This necessitates quite a bit of transcription of code from python to javascript. Realistically running inference in the browser is not going to be a common use case at least in the near term. So for this reason I have changed the flask app to take a paragraph of text, encode it, run inference and then decode the response. 

I am keeping this response - called words along side each original paragraph in the CouchDB database. 

For now I am not showing that on the front end, but that will come shortly.


Comments