code: def test_intraword_possessive():
      iwf = analysis.IntraWordFilter(mergewords=True, mergenums=True)
      ana = (
          analysis.RegexTokenizer(r"\S+")
          | iwf
          | analysis.LowercaseFilter()
      )
  
      target = u("O'Malley's-Bar")
      tokens = [
          (t.text, t.startchar, t.endchar)
          for t in ana(target, chars=True)
      ]
      assert tokens == [
          ("o", 0, 1),
          ("malley", 2, 8),
          ("bar", 11, 14),
          ("omalleybar", 0, 14),
      ]
  
imports: from __future__ import with_statement
  import pytest
  from whoosh import analysis, fields, qparser
  from whoosh.compat import b, u, unichr
  from whoosh.compat import dumps
  from whoosh.filedb.filestore import RamStorage
label_desc: Use image node_id 13 for calling a global function with example usage: test_intraword_possessive() without return types