From 23818f89b83d829d1b6b355a66fd5bc4b0477a20 Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Thu, 15 Oct 2015 03:34:57 +1100 Subject: [PATCH] * Fix token.conjuncts method --- spacy/tokens/token.pyx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spacy/tokens/token.pyx b/spacy/tokens/token.pyx index af80b5359..140d07251 100644 --- a/spacy/tokens/token.pyx +++ b/spacy/tokens/token.pyx @@ -248,12 +248,12 @@ cdef class Token: property conjuncts: def __get__(self): - """Get a list of conjoined words""" + """Get a list of conjoined words.""" cdef Token word conjs = [] if self.c.pos != CONJ and self.c.pos != PUNCT: seen_conj = False - for word in reversed(list(self.lefts)): + for word in self.rights: if word.c.pos == CONJ: seen_conj = True elif seen_conj and word.c.pos == self.c.pos: