Skip to content

IndexError: list index out of range #27

@isabelcachola

Description

@isabelcachola

I get this error for some texts.

Here is an example of where it fails:

>>> import pysbd >>> text = "This new form of generalized PDF in (9) is generic and suitable for all the fading models presented in Table I withbranches MRC reception. In section III, (9) will be used in the derivations of the unified ABER and ACC expression." >>> segmenter = pysbd.Segmenter(language="en", clean=False) >>> sents = segmenter.segment(text) 

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugedge-casesupdate rules to account for the edge cases

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions