Skip to content

API Documentation

Panagiotis Antoniadis edited this page Aug 25, 2019 · 2 revisions

For the purposes of the project, a Flask API is implemented that contains the following endpoints:

  • /emails (POST): Returns the sent emails of a user.
  • /clustering (POST): Clusters the emails of a user using various methods and creates adapted language models.
  • /dictation (POST): Converts speech to text using the adapted models of the user.
  • /randomEmail (POST): Returns a random email to the user in order to dictate it (used in acoustic model adaptation).
  • /saveDictation (POST): Saves a user's dictation for acoustic model adaptation.
  • /adaptAcoustic (POST): Adapts the acoustic model in a user's previous dictations.
  • /logOut (POST): Removes user data from the database and the filesystem.