Skip to content

Kytea stops at first newline in input file (Doesn't process files without newlines) #17

@olsgaard

Description

@olsgaard

When calling KyTea with a raw input file, KyTea stops processing at the first newline character.

Some sentences (particularly headlines) are delimited by a newline rather than any punctuation. If you remove the newline following a headline in a blog post or a newspaper article the headline sentence will continue into the first sentence in the article.

On the other hand, KyTea seems to quit without doing any processing if the raw input file doesn't contain any newline character.

Moreover, KyTea doesn't seem to do word segmentation when input is tokenised ($ kytea infile.tok -in tok), seemingly making the -nows flag redundant.

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