github explosion/spacy-models zh_core_web_sm-3.1.0

Downloads Downloads (wheel)

Checksum .tar.gz: 2fc4a6d9d1008cb3a62ed5b8b52ee96779c688d6be92814c78c13116d0a027fd
Checksum .whl: dad1f66fb6b3981c4986c7203332910a369eb42295ba9bc7ca36a3928ea73fe9

Details: https://spacy.io/models/zh#zh_core_web_sm

Chinese pipeline optimized for CPU. Components: tok2vec, tagger, parser, senter, ner, attribute_ruler.

Feature Description
Name zh_core_web_sm
Version 3.1.0
spaCy >=3.1.0,<3.2.0
Default Pipeline tok2vec, tagger, parser, attribute_ruler, ner
Components tok2vec, tagger, parser, senter, attribute_ruler, ner
Vectors 0 keys, 0 unique vectors (0 dimensions)
Sources OntoNotes 5 (Ralph Weischedel, Martha Palmer, Mitchell Marcus, Eduard Hovy, Sameer Pradhan, Lance Ramshaw, Nianwen Xue, Ann Taylor, Jeff Kaufman, Michelle Franchini, Mohammed El-Bachouti, Robert Belvin, Ann Houston)
CoreNLP Universal Dependencies Converter (Stanford NLP Group)
License MIT
Author Explosion
Model size 47 MB

Label Scheme

View label scheme (101 labels for 4 components)
Component Labels
tagger AD, AS, BA, CC, CD, CS, DEC, DEG, DER, DEV, DT, ETC, FW, IJ, INF, JJ, LB, LC, M, MSP, NN, NR, NT, OD, ON, P, PN, PU, SB, SP, URL, VA, VC, VE, VV, X
parser ROOT, acl, advcl:loc, advmod, advmod:dvp, advmod:loc, advmod:rcomp, amod, amod:ordmod, appos, aux:asp, aux:ba, aux:modal, aux:prtmod, auxpass, case, cc, ccomp, compound:nn, compound:vc, conj, cop, dep, det, discourse, dobj, etc, mark, mark:clf, name, neg, nmod, nmod:assmod, nmod:poss, nmod:prep, nmod:range, nmod:tmod, nmod:topic, nsubj, nsubj:xsubj, nsubjpass, nummod, parataxis:prnmod, punct, xcomp
senter I, S
ner CARDINAL, DATE, EVENT, FAC, GPE, LANGUAGE, LAW, LOC, MONEY, NORP, ORDINAL, ORG, PERCENT, PERSON, PRODUCT, QUANTITY, TIME, WORK_OF_ART

Accuracy

Type Score
TOKEN_ACC 97.88
TAG_ACC 89.57
DEP_UAS 69.65
DEP_LAS 64.26
ENTS_P 72.25
ENTS_R 65.32
ENTS_F 68.61
SENTS_P 78.18
SENTS_R 73.11
SENTS_F 75.56

Installation

pip install spacy
python -m spacy download zh_core_web_sm

Don't miss a new spacy-models release

NewReleases is sending notifications on new releases.