You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
See example below, when 'clean' parameter is 'false', the asterisk after cat is still removed
pry(main)> s = "I am a dog. Cat.*"
=> "I am a dog. Cat.*"
pry(main)> ps = PragmaticSegmenter::Segmenter.new(text: s, language: 'en', clean: false)
=> #<PragmaticSegmenter::Segmenter:0x00007fdf5d6890e0
@doc_type=nil,
@language="en",
@language_module=PragmaticSegmenter::Languages::English,
@text="I am a dog. Cat.*">
pry(main)> segments = ps.segment
=> ["I am a dog.", "Cat."]
The text was updated successfully, but these errors were encountered:
See example below, when 'clean' parameter is 'false', the asterisk after cat is still removed
The text was updated successfully, but these errors were encountered: