Skip to content
This repository was archived by the owner on Apr 3, 2023. It is now read-only.

Back End Architecture

shangbol edited this page Nov 29, 2020 · 12 revisions

Back-end Architecture

The diagram above shows an overview of the backend architecture of Chatterplot. In order to decrease latency and increase the responsiveness of the app, all of features are run on the device itself.

1: Dataset GUI The display on the user's device. The GUI will display the datasets and visualization and allow the user to interact with the data (i.e. adding new data).

2: SpeechRecognizer Android SpeechRecognizer is a built-in library in Android and is used to convert the user's speech commands into text that will be analyzed and processed.

3: Command Parser The Command Parser receives the user's vocal commands and initiates processing of the commands. After receiving a response from the NLP module, the Command Parser then initiates the corresponding action (i.e. adding a datapoint to the database)

4: NLP Module The NLP module processes the user's vocal commands to discern the intent of the user and returns the result to the command parser.

5: Database Helper The Database Helper serves as the interface for the database. Allows the other functions to add, retrieve, and modify the data in the database

6: SQL Database The Sqlite database is used to store all of the user's data in Chatterplot.

Clone this wiki locally