@wannaphong I just wrote a poorman’s test script. 😛

Dockerfile

FROM fedora:34 RUN dnf install -y python3 python3-pip git libicu-devel python3-Cython python3-numpy python3-setuptools python3-wheel gcc gcc-c++ python3-devel RUN pip3 install torch==1.8.1+cpu torchvision==0.9.1+cpu torchaudio==0.8.1 -f https://download.pytorch.org/whl/torch_stable.html COPY run_test.bash /run_test.bash ENTRYPOINT ["/run_test.bash"]

run_test.bash

#!/bin/bash git clone https://github.com/veer66/pythainlp.git -b update-royin /pythainlp cd /pythainlp pip3 install -e .[full] echo echo echo TEST ... echo echo python3 -m unittest discover -s tests -p 'test_transliterate.py'

Sign in to participate in the conversation
Mastodon

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!