Skip to content

sentence breaker #1

@ismasensei

Description

@ismasensei

Hi,

It looks like the coreference resolution module (after preprocessing) fails when a sentence only contains a quote, due to sentence breaking (the line in the corresponding sst file is empty and the system breaks when trying to access some named entity status)

To avoid this I suggest substituting line
if (mBadFollowing.contains(tokens[i+1].toLowerCase())) continue;
with line
if (mBadFollowing.contains(tokens[i+1].toLowerCase()) || isPossibleStop(i+1,tokens, whitespaces)) continue;
in src/arkref/sent/MyHeuristicSentenceModel.java

Best,
Ismail

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