Skip to content

Type error in line 151  #34

@kashyap-adithya

Description

@kashyap-adithya

Hi Guys,
I am getting the following error
pointer_summarizer-master/data_util/data.py", line 149, in abstract2sents
while True:
TypeError: argument should be integer or bytes-like object, not 'str'

pointer_summarizer-master/data_util/data.py", line 151, in abstract2sents
start_p = abstract.index(SENTENCE_START, cur)

Any idea on how ti fix the error?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions