Hỗ trợ tách từ cả một thư mục #1
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Gửi anh Tuấn Anh,
Em muốn chạy Đông Du trên cả bộ ngữ liệu 2 triệu âm tiết của VLSP nên đã mạn phép sửa lại chương trình của anh một chút. Sau những sửa đổi này chương trình đã có thể chạy lệnh như:
Release/dongdu predict -i ../2-trieu-am-tiet -o ../output-dongdu
để tách từ cả một bộ dữ liệu mà chỉ phải nạp mô hình một lần.
Em quen dùng Eclipse nên cũng sửa lại chương trình một chút cho phù hợp với cấu trúc của Eclipse. Ngoài ra em bỏ các tệp nhị phân vì những tệp này dẫn xuất từ mã nguồn và chương trình quản lý phiên bản không xử lý được, dẫn đến kích thước kho rất lớn. Em cũng bỏ những đường dẫn tuyệt đối trong chương trình để nó chạy được ở nhiều nơi hơn.
Em Minh.