Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

field list be able returned from classify function? #732

Open
ldev1211 opened this issue May 24, 2024 · 0 comments
Open

field list be able returned from classify function? #732

ldev1211 opened this issue May 24, 2024 · 0 comments

Comments

@ldev1211
Copy link

ldev1211 commented May 24, 2024

Như mình có đề cập ở tiêu đề, mình sử dụng đoạn code dưới đây thì kết quả trả về là 1 list cái lĩnh vực của câu đó:
from underthesea import classify

text = "Theo lãnh đạo một số doanh nghiệp kinh doanh xăng dầu, giá xăng trong nước tại kỳ điều hành ngày 23/5 có thể tăng nhẹ. Các doanh nghiệp xăng dầu dự báo, nếu cơ quan điều hành không chi Quỹ bình ổn giá xăng dầu thì giá xăng trong nước có thể tăng từ 80-180 đồng/lít. Ngược lại, giá dầu diesel có thể giảm 40-50 đồng/lít."

print(classify(text))

Mình đang muốn biết danh sách toàn bộ những lĩnh vực mà hàm classify có thể trả ra cho mình là gì ạ?

@ldev1211 ldev1211 changed the title classify function return very slow field list be able returned from classify function? May 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant