Method: Slaw::ActGenerator#reformat

Defined in:
lib/slaw/generator.rb

#reformat(text) ⇒ Object

Reformat some common errors in text to help make parsing more successful. Option and only recommended when processing a document for the first time.



43
44
45
# File 'lib/slaw/generator.rb', line 43

def reformat(text)
  @cleanser.reformat(text)
end