from text_processing.inverse_normalize import InverseNormalizer | |
import time | |
normalizer = InverseNormalizer('vi') | |
start = time.time() | |
print(normalizer.inverse_normalize("mười hai ki lô gram")) | |
print(time.time()- start) |
from text_processing.inverse_normalize import InverseNormalizer | |
import time | |
normalizer = InverseNormalizer('vi') | |
start = time.time() | |
print(normalizer.inverse_normalize("mười hai ki lô gram")) | |
print(time.time()- start) |