Skip to content

NguyenAnh2003/ner-pos-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

84 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ner_pos_api

initialize env

python -m venv venv

activate env

.\venv\Scripts\activate

install dependencies

pip install -r requirements.txt

run app

uvicorn main:app --reload

Extract with Vietnamese (POS)

[
  {
    "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"
  }
]

Extract with Vietnamese (NER)

[
  {
    "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"
  }
]

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages