https://github.com/abdouaziz/autocomplet
N-grams to build an autocomplet
https://github.com/abdouaziz/autocomplet
angular flask frontend language-models projet
Last synced: about 2 months ago
JSON representation
N-grams to build an autocomplet
- Host: GitHub
- URL: https://github.com/abdouaziz/autocomplet
- Owner: abdouaziz
- Created: 2020-12-27T17:29:19.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-12-29T23:51:17.000Z (over 4 years ago)
- Last Synced: 2025-01-30T00:32:13.002Z (4 months ago)
- Topics: angular, flask, frontend, language-models, projet
- Language: JavaScript
- Homepage:
- Size: 2.83 MB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Autocomplete and Language Models

> In this projet we use an N-grams and language Models to build an autocomplete
> The projet run with Flask and Angular### N-Grams and Language Models
- A language model is a tool that's calculates the probabilities of sentences.
- Language models can estimate the probability of an upcoming word given a history of previous words.
- apply language models to autocomplete a given sentence then it outputs a suggestions to complete the sentence
- Applications:
- Speech recognition
- Spelling correction
- Augmentativce communication
- N-gram is a sequence of words.## Getting Started
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
### Prerequisites
install Flask by typing this code below```
pip install Flask
```install Angular by typing this code below
```
npm i @angular/cli
```## Running the tests
To launch the project, place in the folder and launch the command below
```
$ set FLASK_APP = app.py
$ flask run
```Place into app_Frontend and type
```
$ ng serve
```## Files
* app_Frontend - the frontend is running on Angular
* app.py- the application running on Flask