Skip to content
This repository was archived by the owner on Aug 17, 2020. It is now read-only.
This repository was archived by the owner on Aug 17, 2020. It is now read-only.

Về vấn đề đường dẫn đến thư mục model và file .jar #2

@behitek

Description

@behitek

Hiện tại, ứng dụng đang có chút vấn đề về đường dẫn như sau:

Cụ thể, trên Java khi dùng System.getProperty("user.dir") thì sẽ trả về đường dẫn tới root dir của java project.

Tuy nhiên, khi sử dụng Python thì kết quả sẽ là đường dẫn của thư mục chứa file code .py đang chạy. Điều này dẫn tới lỗi VnCoreNLP không tìm được thư mục model.

Cách khắc phục thủ công hiện tại

Copy thư mục models và file VnCoreNLP.jar tới thư mục chứa file code .py đang dùng vncorenlp

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions