Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Programatically reparagraphinating text

by blahblahblah (Priest)
on Feb 16, 2007 at 03:03 UTC ( #600350=note: print w/replies, xml ) Need Help??


in reply to Programatically reparagraphinating text

A small suggestion based on your samples above: maybe you could use a dictionary to identify non-english blocks of text. Something like, if a block of text has X% "words" that are not found in a dictionary, then assume a higher likelihood that it should be left unchanged.

Also, note that your links to modules above would work better with a "[cpan://..." style link, like: Text::Wrap XML::LibXML Text::Autoformat

Joe

  • Comment on Re: Programatically reparagraphinating text

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://600350]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (4)
As of 2020-08-14 21:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Which rocket would you take to Mars?










    Results (76 votes). Check out past polls.

    Notices?