python-wordsegment icon indicating copy to clipboard operation
python-wordsegment copied to clipboard

Support for maintaining original case

Open esilgard opened this issue 5 years ago • 1 comments

  • commit 1: test coverage for maintaining original character casing
  • commit 2: optional cmd line arg for maintaining case in file input (defaults to original, lower cased segment output)
  • commit 3: maintaining case logic -- loop through segmented output -- refer back to original input text by character offset -- track white space in original text and increment offset accordingly

esilgard avatar Mar 03 '20 01:03 esilgard

@grantjenks , please, review this pull request when you will have a time.

Thanks.

Kristinita avatar Jan 25 '21 10:01 Kristinita