A mini version of KhmerNLP with LSTM only. It requires PyTorch>=2.0.0 to be installed to be able to run.
python inference.py
['ចំណែក', 'ជើង', 'ទី', '២', ' ', 'Cambodia', ' ', 'Kindom', ' ', 'of', ' ', 'Wonder', ' ', 'នឹង', 'ត្រូវ', 'ធ្វើឡើង', 'ឯ', 'ប្រទេស', 'កាតា', '៕ ', 'Tel:', ' ', '010123123', ' ', '🇰🇭']
Most of the code here were taken from KhmerNLP repository.