Loading tutorials
Apple or $1 billion. The label says what kind of thing the span refers to, such as an organization or an amount of money. This chapter defines that output6 min readLanguage), the Doc, the Token and the Span. It assumes you can write basic Python and have a rough idea of what tokens are. Entity labels and BIO tags were covered in the previous chapters. Here we only 5 min readdoc.ents, as covered in the previous chapter. It also assumes you know what a Token and a Span are.6 min readpipeline API. It covers what the raw output looks like, how aggregation turns subword predictions into entities, and the parameters and failure modes you will meet in practice.5 min readTrainer, score it at the entity level, and use the 6 min readPERSON, ORG and GPE. If you need DRUG, PART_NUMBER or CLAUSE_TYPE, or if the pretrained model performs poorly on your text, you have to train your own. This chapter covers the spaCy workflow for that: annotated sp6 min readseqeval reports. It covers what to do after you have a score: find where the model fails, and decide whether rules, a spaCy model or a 6 min read