From b6fce4d82abbeed1c9c221a7ad2219c3dac28c73 Mon Sep 17 00:00:00 2001 From: Ines Montani Date: Mon, 24 Oct 2016 00:49:09 +0200 Subject: [PATCH] Fix broken links in docs --- website/docs/_api-matcher.jade | 2 +- website/docs/tutorials/training.jade | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/website/docs/_api-matcher.jade b/website/docs/_api-matcher.jade index eb5f71029..bfe79f92d 100644 --- a/website/docs/_api-matcher.jade +++ b/website/docs/_api-matcher.jade @@ -6,7 +6,7 @@ +h(2, "matcher", "https://github.com/" + SOCIAL.github + "/spaCy/blob/master/spacy/matcher.pyx") | #[+tag class] Matcher - p A full example can be found #[a(href="https://github.com/" + SOCIAL.github + "blob/master/examples/matcher_example.py") here]. + p A full example can be found #[a(href="https://github.com/" + SOCIAL.github + "/spaCy/blob/master/examples/matcher_example.py") here]. +table(["Usage", "Description"]) +row diff --git a/website/docs/tutorials/training.jade b/website/docs/tutorials/training.jade index 2d23853b2..9373087da 100644 --- a/website/docs/tutorials/training.jade +++ b/website/docs/tutorials/training.jade @@ -19,7 +19,7 @@ p I'll start with some quick code examples, that describe how to train each mode tagger.model.end_training() -p #[+a("https://github.com/" + SOCIAL.github + "/spaCy/examples/training/train_tagger.py") Full example] +p #[+a("https://github.com/" + SOCIAL.github + "/spaCy/blob/master/examples/training/train_tagger.py") Full example] +h(2, "train-entity") Training the named entity recognizer @@ -37,7 +37,7 @@ p #[+a("https://github.com/" + SOCIAL.github + "/spaCy/examples/training/train_t entity.model.end_training() -p #[+a("https://github.com/" + SOCIAL.github + "/spaCy/examples/training/train_ner.y") Full example] +p #[+a("https://github.com/" + SOCIAL.github + "/spaCy/blob/master/examples/training/train_ner.y") Full example] +h(2, "train-entity") Training the dependency parser @@ -54,7 +54,7 @@ p #[+a("https://github.com/" + SOCIAL.github + "/spaCy/examples/training/train_n parser.model.end_training() -p #[+a("https://github.com/" + SOCIAL.github + "/spaCy/examples/training/train_parser.py") Full example] +p #[+a("https://github.com/" + SOCIAL.github + "/spaCy/blob/master/examples/training/train_parser.py") Full example] +h(2, 'feature-templates') Customising the feature extraction