From 9f16848b601f055afa5c059afcc98b019da76d20 Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Wed, 15 Apr 2015 06:01:18 +0200 Subject: [PATCH] * Add (N0w, N1w) unigram pair to NER features, prompted by failure to detect 'this weekend' --- spacy/syntax/_parse_features.pyx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/spacy/syntax/_parse_features.pyx b/spacy/syntax/_parse_features.pyx index f5f1c6bcb..5be8ce2ca 100644 --- a/spacy/syntax/_parse_features.pyx +++ b/spacy/syntax/_parse_features.pyx @@ -197,6 +197,8 @@ ner = ( (P1_ne_iob, P1_ne_type), (P2_ne_iob, P2_ne_type), (N0w, P1_ne_iob, P1_ne_type), + + (N0w, N1w), )