initialize env
python -m venv venv
activate env
.\venv\Scripts\activate
install dependencies
pip install -r requirements.txt
run app
uvicorn main:app --reload
[
{
"word": "thủ_đô",
"tag": "danh từ"
},
{
"word": "Việt_Nam",
"tag": "danh từ riêng"
},
{
"word": "là",
"tag": "động từ"
},
{
"word": "Hà_Nội",
"tag": "danh từ riêng"
}
]
[
{
"word": "thủ_đô",
"tag": " ",
"color": " "
},
{
"word": "Việt_Nam",
"tag": "Địa điểm",
"color": "#f4cfdb"
},
{
"word": "là",
"tag": " ",
"color": " "
},
{
"word": "Hà_Nội",
"tag": "Địa điểm",
"color": "#f4cfdb"
}
]