From 03a742f332509aa184e009a47abed4a792dc9e94 Mon Sep 17 00:00:00 2001 From: Ines Montani Date: Thu, 29 Jul 2021 17:18:02 +1000 Subject: [PATCH] Merge pull request #8814 from polm/docs/migrate-lexeme-tables [ci skip] --- website/docs/usage/v3.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/website/docs/usage/v3.md b/website/docs/usage/v3.md index 8b4d2de7c..980f06172 100644 --- a/website/docs/usage/v3.md +++ b/website/docs/usage/v3.md @@ -854,6 +854,19 @@ pipeline component, the [`AttributeRuler`](/api/attributeruler). See the you have tag maps and morph rules in the v2.x format, you can load them into the attribute ruler before training using the `[initialize]` block of your config. +### Using Lexeme Tables + +To use tables like `lexeme_prob` when training a model from scratch, you need +to add an entry to the `initialize` block in your config. Here's what that +looks like for the existing trained pipelines: + +```ini +[initialize.lookups] +@misc = "spacy.LookupsDataLoader.v1" +lang = ${nlp.lang} +tables = ["lexeme_norm"] +``` + > #### What does the initialization do? > > The `[initialize]` block is used when