Bach Khoa University - Computer Science
Student Name: Đỗ Hoài Khánh Vũ
Student ID: 1414728
Email: [email protected]
This is sample project for natural language processing. It querys database from file and answer the sample questions about the flights. This project includes 5 pharse with stored grammar in grammar.fcfg file:
- Syntax analytic for sentense: "Which flight to Huế city arrives at 20:00HR?".
- Create syntax tree for (1) in the form "(" and ")".
- Create logical form from structure of (2).
- Create procedural semantics from structure of (3).
- Access database and find the answer information for question in the (1).
The outputs of project are stored in output folder include result of 5 pharse.
This project was wrote on the Python3 enviroment and use the nltk v3.2.5 module.
### python3 main.py