From 9482d616bc505e002242e58396f340058860d480 Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Tue, 3 Nov 2015 23:51:05 +1100 Subject: [PATCH] * Rename spans.pyx to span.pyx --- setup.py | 2 +- spacy/tokens/doc.pyx | 2 +- spacy/tokens/{spans.pxd => span.pxd} | 0 spacy/tokens/{spans.pyx => span.pyx} | 0 4 files changed, 2 insertions(+), 2 deletions(-) rename spacy/tokens/{spans.pxd => span.pxd} (100%) rename spacy/tokens/{spans.pyx => span.pyx} (100%) diff --git a/setup.py b/setup.py index 715998956..c3b91cfb9 100644 --- a/setup.py +++ b/setup.py @@ -163,7 +163,7 @@ def run_setup(exts): 'spacy.tests.munge', 'spacy.tests.parser', 'spacy.tests.serialize', - 'spacy.tests.spans', + 'spacy.tests.span', 'spacy.tests.tagger', 'spacy.tests.tokenizer', 'spacy.tests.tokens', diff --git a/spacy/tokens/doc.pyx b/spacy/tokens/doc.pyx index c1cef5789..b677b3385 100644 --- a/spacy/tokens/doc.pyx +++ b/spacy/tokens/doc.pyx @@ -18,7 +18,7 @@ from ..attrs cimport POS, LEMMA, TAG, DEP, HEAD, SPACY, ENT_IOB, ENT_TYPE from ..parts_of_speech cimport CONJ, PUNCT, NOUN from ..parts_of_speech cimport univ_pos_t from ..lexeme cimport Lexeme -from .spans cimport Span +from .span cimport Span from .token cimport Token from ..serialize.bits cimport BitArray from ..util import normalize_slice diff --git a/spacy/tokens/spans.pxd b/spacy/tokens/span.pxd similarity index 100% rename from spacy/tokens/spans.pxd rename to spacy/tokens/span.pxd diff --git a/spacy/tokens/spans.pyx b/spacy/tokens/span.pyx similarity index 100% rename from spacy/tokens/spans.pyx rename to spacy/tokens/span.pyx