/TI3-NLP

The third assignment for NLP Course 2023/2024. Faculty of Computer Science, Universitas Indonesia.

Primary LanguagePython

How To Run

First install requirements.

pip install -r requirements.txt

To run the whole code is expected to use the command below.

python3 main.py

The output will be like below.

----------lev_trie----------
best accuracy:  0.05
candidate accuracy:  1.0
total_time:  0.6771059036254883
----------dalev_trie----------
best accuracy:  0.05
candidate accuracy:  1.0
total_time:  0.6639831066131592
----------lev_dict----------
best accuracy:  0.05
candidate accuracy:  1.0
total_time:  0.89540696144104
----------dalev_dict----------
best accuracy:  0.05
candidate accuracy:  1.0
total_time:  6.538262605667114