I guess it was unexpected to get this error: [s for s in nlp(u'').sents] -> IndexError: list index out of range I.e. calling sents on an empty string errors out - I wonder if this is the right behavior, or if sents should return an empty array?
I guess it was unexpected to get this error:
[s for s in nlp(u'').sents] -> IndexError: list index out of range
I.e. calling sents on an empty string errors out - I wonder if this is the right behavior, or if sents should return an empty array?