Click to expand
This repository contains the scrips and pretrained models trained on the ICE-ATIS dataset.
Click to expand
$ python3 -m venv venv$ . ./venv/Scripts/activate(venv)$ pip install -r requirements.txt(venv)$ export PYTHONPATH=srcThis will optain the ICE-ATIS dataset and place it in the root directory.
(venv)$ . setup.shfrom utils.get_data import load_model, get_most_common_label
trigram_model = load_model("models/ngram.trigram.pickle")
trigram_test_tokens = ('til', 'boston', 'frá')
trigram_test_label = get_most_common_label(trigram_test_tokens, trigram) # B-toloc.city_name🌟 PLEASE STAR THIS REPO IF YOU FOUND SOMETHING INTERESTING 🌟