[liblouis-liblouisxml] Re: Here's the Python formatter

  • From: "John J. Boyer" <john.boyer@xxxxxxxxxxxxxxxxx>
  • To: liblouis-liblouisxml@xxxxxxxxxxxxx
  • Date: Thu, 17 Dec 2020 21:30:36 -0600

Hello Michael,

Thanks for the suggestions. However, I felt the program was much easier to 
understand as I wrote it, without so many Pyth-y features. 
I also wanted to make it self-contained with a doc string at the beginning.

Now I'm trying to find a way to combine many short strings which are lines from 
the input file into a long string that approximates a paragraph. 
This would be passed to translateString to produce a more readable outpout. The 
hard part is to do this efficiently, without a lot of garbage collection.

John

-- 
John J. Boyer
Email: john.boyer@xxxxxxxxxxxxxxxxx
website: http://www.abilitiessoft.org
Status: Company dissolved but website and email addresses  live.
Location: Madison, Wisconsin, USA
Mission: developing assistive technology software and providing STEM services 
        that are available at no cost


For a description of the software, to download it and links to
project pages go to http://liblouis.org
Donate: http://liblouis.org/sponsoring

Other related posts: