From 2fa23b030468bf99f02101612af00f964f8aaa67 Mon Sep 17 00:00:00 2001 From: svlandeg Date: Tue, 29 Dec 2020 15:01:22 +0100 Subject: [PATCH] fix capitalization for link --- website/docs/api/cli.md | 2 +- website/docs/api/data-formats.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/website/docs/api/cli.md b/website/docs/api/cli.md index 3783fcb79..58626b538 100644 --- a/website/docs/api/cli.md +++ b/website/docs/api/cli.md @@ -816,7 +816,7 @@ these pretrained weights files** in your train your pipeline. This technique may be especially helpful if you have little labelled data. See the usage docs on [pretraining](/usage/embeddings-transformers#pretraining) for more info. To read -the raw text, a [`JsonlCorpus`](/api/top-level#JsonlCorpus) is typically used. +the raw text, a [`JsonlCorpus`](/api/top-level#jsonlcorpus) is typically used. diff --git a/website/docs/api/data-formats.md b/website/docs/api/data-formats.md index 3df9a7ba4..fc2cda547 100644 --- a/website/docs/api/data-formats.md +++ b/website/docs/api/data-formats.md @@ -148,7 +148,7 @@ This section defines a **dictionary** mapping of string keys to functions. Each function takes an `nlp` object and yields [`Example`](/api/example) objects. By default, the two keys `train` and `dev` are specified and each refer to a [`Corpus`](/api/top-level#Corpus). When pretraining, an additional `pretrain` -section is added that defaults to a [`JsonlCorpus`](/api/top-level#JsonlCorpus). +section is added that defaults to a [`JsonlCorpus`](/api/top-level#jsonlcorpus). You can also register custom functions that return a callable. | Name | Description |