Coder Social home page Coder Social logo

saylaan / ai_navigation_app_2022 Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 14.42 MB

App for a Navigation Request using AI

Dockerfile 0.38% Python 37.90% CSS 0.42% HTML 9.59% Jupyter Notebook 51.36% Shell 0.35%
flask jinja natural-language-processing pandas python fullstack ai

ai_navigation_app_2022's Introduction

Getting Started

The travel order resolver was an application created containing three components: The voice, the Natural Language Processing (NLP) and the pathfinder. The voice component records the voice of a user to a file. The NLP component transcribed this file and saved it to a text file. Later the text is analyzed for a valid train travel request and the departure and destination extracted. The pathfinder component took these two locations and used a graph structure to determine the fastest route between them. Later an application was created to use this functionality. Keywords: Natural Language Processing, Pathfinder, Artificial Intelligence, train

For having more information about the project and the methodology, please see the document "Report.pdf" in the root of the project`

The components

You can see all the three component necessary for the project in the folder /docs/jupyter-components There you will have :

  • Audio recorder This component will record an audio sample, and save it to an audio file.

  • NLP component This component takes an audio file and writes its content to a text file

  • Transcript component This component takes a text file and extracts a travel request destination and departure

  • Pathfinder component This component takes a departure and destination, and calculates the fastest path between the nearest train stations to these locations.

Launch interface

The infrastructure is made in Python with Flask framework

You have two possibility to use the app, with a container docker or a basic installation on your environment.

Container docker

  1. First, you need to go to the infrastructure directory cd /app

  2. Run the script ./launch_server.sh

  3. Open a browser and go to the page http://localhost:5000/

Basic installation

  1. First, you need to go to the infrastructure directory cd /app

  2. Then, you need to install all dependencies pip install -r requirements.txt

  3. Install all this module : pip install langdetect pip install icecream pip install spacy python -m spacy download fr_core_news_md

  4. If you have any missing module during the installtion. Just run the command pip install name_module

  5. After the project installation is complete, you can launch the app by going in cd /app/back and run the command python app.py

Troubleshooting

Make sure that your current working directory for the project is at the root of the repo

ai_navigation_app_2022's People

Contributors

saylaan avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.