https://github.com/vivelev/nlbooking
Natural Language Booking
https://github.com/vivelev/nlbooking
named-entity-recognition natural-language-processing
Last synced: 3 months ago
JSON representation
Natural Language Booking
- Host: GitHub
- URL: https://github.com/vivelev/nlbooking
- Owner: VIVelev
- Created: 2018-11-04T13:32:44.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-10-22T06:59:25.000Z (over 5 years ago)
- Last Synced: 2025-02-15T07:14:38.179Z (4 months ago)
- Topics: named-entity-recognition, natural-language-processing
- Language: Python
- Homepage:
- Size: 709 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Natural Language Booking (NLBooking)
### How it works?
```bash
$ pipenv run python search.py [flags] [text]
```#### Optional Flags
- `--speech` - activate speech search (`text` is not needed as an argument, speak directly)
- `--example` - shows an example output
- `--verbose` - shows verbose output#### Example
```bash
$ pipenv run python search.py hello i want to go to barcelona and i want my hotel to have free wi-fi and a swimming pool and also i dont want to pay more the £100
{"dates": null, "locations": ["Barcelona"], "n_adults": null, "n_children": null, "price_limits": ["100"], "search_tags": ["free wi-fi", "swimming pool"]}
```### Setup for Mac OSX
```bash
$ brew install pipenv
$ brew install portaudio
$ git clone https://github.com/VIVelev/NLBooking.git
$ cd ./NLBooking
$ bash ./setup.sh
```