Skip to content

Added possibility of segmentation#9

Open
pldpv wants to merge 3 commits intospartansw:devfrom
pldpv:dev
Open

Added possibility of segmentation#9
pldpv wants to merge 3 commits intospartansw:devfrom
pldpv:dev

Conversation

@pldpv
Copy link

@pldpv pldpv commented Jul 17, 2018

No description provided.

}
}

protected void segmentTextContainerIfNeeded(TextContainer source) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very minor thing, I think a more generic name like postprocessTextContainer() would be better, since in theory this could be doing other things besides segmentation. However, this is not a real problem.

Copy link
Contributor

@tingley tingley left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems ok. It would be possible to add a testcase to show how custom segmentation in a subclass would produce the correct number of segments written to WS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants