Floating associated content beside main text

Yup. The Biblical text was deceptively compliant with letting periods serve reliably as end-of-sentence, while ordinary and academic language is full of other uses of the period as noted by Mr. Sauyet… But also (!) we find other things like exclamation points (etc.) that may or may not mark the end of a sentence, right? And three periods in a row may — or may not! — mark the end of a sentence… so…

2 Likes

Abbreviations, Numbers, Numberings, Names…
$__wrappit_Zitat.tid (3.1 KB)
I tried to shoot down the most issues :wink:

? and ! are yet to integrate as selectors

Good Point. I am trying to figure out an indicator for that.

1 Like

I’m impressed that you’re willing to continue trying this. This deals with several of the issues. Of course there are still flaws besides the ? and !. Worst seems to be that it believes the sentence-ending .") now puts its ") as the start of the next sentence.

If you feel like continuing to patch this, I’m willing to continue as your devil’s advocate, suspicious that this can be done in any easily automatable way. I do think it’s an incredibly difficult problem.

TaDa: The ? and ! splitting version:
$__wrappit_Zitat.tid (3.6 KB)

It’s getting better! The following demonstrates some of the remaining gaps:

She knew she should feel sorry for him, but she couldn’t help feeling a bit of shaudenfreude (sp?) over his latest gaffe. Any serious math student who can’t recite pi beyond 3.14 is bound for some shaming, correct? That he could quote long passages from J.R.R. Tolkein, G.R.R. Martin, etc. doesn’t come close to making up for it. Knowing that he had been trying to impress her made it… awkward. Still she wished she hadn’t laughed about it when… None of that! She had nothing to be ashamed of. But should she talk to him about it? Perhaps not. After all “discretion is the better part of valor” were good words to live by. “What are you thinking?” he asked. Flustered, she could only mumble, “Oh, nothing.”

Your code gets these sentences:

  • She knew she should feel sorry for him, but she couldn’t help feeling a bit of shaudenfreude (sp?) over his latest gaffe.
  • Any serious math student who can’t recite pi beyond 3.14 is bound for some shaming, correct?
  • That he could quote long passages from J.
  • R.
  • R. Tolkein, G.
  • R.
  • R. Martin, etc. doesn’t come close to making up for it.
  • Knowing that he had been trying to impress her made it… awkward.
  • Still she wished she hadn’t laughed about it when… None of that!
  • She had nothing to be ashamed of.
  • But should she talk to him about it?
  • Perhaps not.
  • After all “discretion is the better part of valor” were good words to live by.
  • “What are you thinking?” he asked.
  • Flustered, she could only mumble, "Oh, nothing.
  • ".

Where I would expect:

  • She knew she should feel sorry for him, but she couldn’t help feeling a bit of shaudenfreude (sp?) over his latest gaffe.
  • Any serious math student who can’t recite pi beyond 3.14 is bound for some shaming, correct?
  • That he could quote long passages from J.R.R. Tolkein, G.R.R. Martin, etc. doesn’t come close to making up for it.
  • Knowing that he had been trying to impress her made it… awkward.
  • Still she wished she hadn’t laughed about it when…
  • None of that!
  • She had nothing to be ashamed of.
  • But should she talk to him about it?
  • Perhaps not.
  • After all “discretion is the better part of valor” were good words to live by.
  • “What are you thinking?” he asked.
  • Flustered, she could only mumble, “Oh, nothing.”

8 posts were split to a new topic: Writing Supervisor Regex Thingy