How do I make an app that generates answers from an uploaded text file automatically?


How do I make an app that generates answers from an uploaded text file automatically?

Hahaha, if you can do this, then you’ll have a multi million dollar product.  However, it is do-able, theoretically….

  1. Parsing – Parse, or split, out the sentences
  2. Metadata enrichment – Attack the sentences with all sorts of NLP APIs, to enrich the corpus of sentences with various and sundry metadata
  3. Question generation – Do question generation on the enriched dataset
  4. Recommender system – Pair the questions with their most likely answers (sentences), into question-answer pairs
  5. Machine learning – Feed the question-answer pairs into a neural network
  6. Dialog system – Write an engine that can query the trained neural network in natural language
  7. Bingo – You’ve got a multi million dollar product

For more detail, see my quick and dirty webpages: