Skip to content
This repository was archived by the owner on Apr 30, 2021. It is now read-only.
This repository was archived by the owner on Apr 30, 2021. It is now read-only.

"WARNING:root:Consider using segment_long" when actually using segment_long #34

@uguryavuz

Description

@uguryavuz

Bug description
I am using segment_long to segment a relatively long paragraph, and despite using this specific function I am getting a repeated warning that reads

WARNING:root:Consider using segment_long for longer sentences.

Snippet which gave this bug

from deepsegment import DeepSegment
segmenter = DeepSegment('en')
...
resegmented = segmenter.segment_long(a_mod)

Specify versions of the following libraries

  1. deepsegment==2.3.1
  2. tensorflow==2.2.0
  3. keras==2.3.1

Expected behavior
No warnings at all, given I'm using the suggested function.

Screenshots
Screen Shot 2020-07-02 at 17 11 09

Notes
This warning message seems to by-pass warnings.filterwarnings('ignore').

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions