TextFlow is a Streamlit app providing text correction and autocomplete functionalities using n-grams language model or an LSTM model. Users can correct their text and predict the next words with configurable options. TextFlow offers powerful text correction and autocompletion features to enhance your writing experience. Whether you prefer n-grams or LSTM models, TextFlow has you covered with customizable options to suit your needs.
- Text correction
- Autocomplete next words
- Choose between n-grams and LSTM models
- Customize the number of words to be predicted
- Various configurable settings for a personalized experience
Follow these steps to get the TextFlow App up and running:
-
Clone the repository:
git clone https://github.com/achrafib1/Text-Flow.git cd textflow
-
Build and run the Docker container:
docker build -t textflow . docker run -p 8501:8501 textflow
-
Clone the repository:
git clone https://github.com/achrafib1/Text-Flow.git cd textflow
-
Set up a virtual environment (Optional but Recommended):
python -m venv venv
-
Activate the Virtual Environment:
- For Windows:
.\venv\Scripts\activate
- For macOS/Linux:
source venv/bin/activate
- For Windows:
-
Install the necessary files:
python config.py
-
Install the dependencies:
pip install -r requirements.txt
-
Run the Streamlit app:
streamlit run src/app.py
After running the Docker container, open your browser and navigate to http://localhost:8501
.
After running the Streamlit app with:
streamlit run src/app.py
Open your browser and navigate to http://localhost:8501
.
Distributed under the MIT License. See LICENSE
for more information.