From 144161c58c65aa298328332ffce181b55d8770aa Mon Sep 17 00:00:00 2001 From: ines Date: Sat, 13 May 2017 21:23:02 +0200 Subject: [PATCH] Update links to dev resources --- website/docs/usage/adding-languages.jade | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/website/docs/usage/adding-languages.jade b/website/docs/usage/adding-languages.jade index ba49d1019..d8f4a9a06 100644 --- a/website/docs/usage/adding-languages.jade +++ b/website/docs/usage/adding-languages.jade @@ -132,6 +132,18 @@ p | Functions for setting lexical attributes on tokens, e.g. | #[code is_punct] or #[code like_num]. + +row + +cell #[+src(gh("spacy-dev-resources", "templates/new_language/lemmatizer.py")) lemmatizer.py] + +cell #[code LOOKUP] (dict) + +cell + | Lookup-based lemmatization table. If more lemmatizer data is + | available, it should live in #[code /lemmatizer/lookup.py]. + + +row + +cell /lemmatizer + +cell #[code LEMMA_RULES], #[code LEMMA_INDEX], #[code LEMMA_EXC] (dicts) + +cell Lemmatization rules, keyed by part of speech. + +row +cell #[+src(gh("spacy-dev-resources", "templates/new_language/tag_map.py")) tag_map.py] +cell #[code TAG_MAP] (dict) @@ -145,18 +157,6 @@ p +cell #[code MORPH_RULES] (dict) +cell Exception rules for morphological analysis of irregular words. - +row - +cell #[+src(gh("spacy-dev-resources", "templates/new_language/lemmatizer.py")) lemmatizer.py] - +cell #[code LOOKUP] (dict) - +cell - | Lookup-based lemmatization table. If more lemmatizer data is - | available, it should live in #[code /lemmatizer/lookup.py]. - - +row - +cell /lemmatizer - +cell #[code LEMMA_RULES], #[code LEMMA_INDEX], #[code LEMMA_EXC] (dicts) - +cell Lemmatization rules, keyed by part of speech. - +aside("Should I ever update the global data?") | Reuseable language data is collected as atomic pieces in the root of the | #[+src(gh("spaCy", "lang")) spacy.lang] package. Often, when a new