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

Description
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
- deepsegment==2.3.1
- tensorflow==2.2.0
- keras==2.3.1
Expected behavior
No warnings at all, given I'm using the suggested function.
Screenshots

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