Skip to content
forked from Sporot/TCM_NER

Using lexicon and dictionary

Notifications You must be signed in to change notification settings

hoonber/TCM_NER

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TCM_NER (Charcter-enhanced TCM books NER)

This project is built on the project "LexiconAugmentNER". We incorporate information from lexicon and dictionary into the character representations to augment the performance.

Source code description

Requirement:

Python 3.6

Pytorch 0.4.1

Jiayan0.0.21

Input format:

With each character and its label split by a whitespace in a line. The "BIOES" tag scheme is prefered.

发 B-SYM

热 E-SYM

汗 B-SYM

多 E-SYM

者 O

Trained model

The best performance model can be downloaded from the link below:

Download TCM_DSET (Extracting code:l3y3) and put it in data file.

Download best model (Extracting code:jl93) and put it in save_model file.

About

Using lexicon and dictionary

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%