[liblouis-liblouisxml] Re: changetable extra space

  • From: Paul Wood <paulw@xxxxxxxxxxxxxx>
  • To: liblouis-liblouisxml@xxxxxxxxxxxxx
  • Date: Wed, 07 May 2014 11:22:04 +0100

Thanks guys!
I've now got a current build (dll) and the extra space persists. I attach a test case. Adapted from one Bert sent me a while ago. Thanks for the extra logging! It shows that the input is correct and what should be the output, but somehow an extra space is added to the output which isn't shown in the log.
Cheers
Paul

N.B. had to remove the bin folder as googlemail objected to exe & bat files

On 06/05/2014 17:33, Bert Frees wrote:
Hi Paul,

I think we need a system that makes "nightly" builds of liblouis and
liblouisutdml (including DLL's) after each commit. That would help
people like yourself who are always looking for the bleeding edge
versions. The way I build for DAISY Pipeline is already
"semi-automatic", but involves cross-compiling and only works on Linux,
so that's of no use to you. What we really need is a fully automatic
system that is triggered after each commit and also uploads the binaries
to some place.

Bert


Paul Wood writes:

I've tried to setup a test suite and have reproduced the error of an
extra space with the dlls I am using on our live system. I tried the
dlls from the DAISY pipeline2 1.7 but that has a worse error where
instead of an extra space it repeats the translation of that text. I had
to use the original file2brl.exe as the one in DAISY pipeline just
crashed. So I don't know if that is an issue or not!

Is it not possible to post the dlls etc. at the same time as releasing a
version? or are we expected to always have to build on our system?
I think Michael or Vic talked about a batch file they ran. Could someone
supply me with that?
Thanks
Paul

On 05/05/2014 13:32, John J. Boyer wrote:
changetable is not supposed to produce an extra space.

With regard to handling of whitespace in general, one should remember
that liblouis and liblouisutdml were originally intended to produce the
lmost readable braille without human editing. Many of the automatic
features were built into the tables and configuration files, but not the
codee. They can be removed.

John

On Mon, May 05, 2014 at 12:03:15PM +0100, Michael Whapples wrote:
Hello,
I know that some semantic actions were intended to add a space, is
changetable one of those? Would it be correct to change it?

However I know that liblouisutdml inserting spaces, may be its
whitespace handling more generally, has been questioned, so whilst
it might have been written intentionally to insert this space it
does not mean it is correct.

I am not sure about where one gets 32-bit DLLs, I am always building
from the repository. The advice seems to be build from the
repository as releases become outdated fairly quickly.

I know that using repository builds is not good, particularly if
seeking to create high quality software as you may not be assured of
having adequate testing on your build. I would agree with such a
cautious view, but unfortunately so many things have been fixed
since the last release which means I would equally have trouble
recommending the last release.

Michael Whapples
On 02/05/2014 13:56, Paul Wood wrote:
Hi guys,
We've got to the stage where we need to implement Acronyms. I'm
using the changetable Semantic but it seems to be adding an extra
space afterwards.
Has this been fixed in the last release?
Please remind me where the windows 32-bit dlls are?
Thanks
Paul

--
Paulw.torchtrust signature

Paul Wood, Chief Technical Officer
*Torch Trust*
Torch House, Torch Way,
Market Harborough, Leics. LE16 9HL, UK
Direct Line: *+44(0)1858 438269*
Tel: *+44(0)1858 438260*, Fax: *+44(0)1858 438275*
Email: paulw@xxxxxxxxxxxxxx <mailto:paulw@xxxxxxxxxxxxxx>
Website: www.torchtrust.org <http://www.torchtrust.org/>

____________________________________________________

Chief Executive: Dr Gordon Temple
Charity No. 1095904

Privileged/Confidential Information may be contained in this message.
If you are not the intended recipient please destroy this message
and kindly notify the sender by reply email. The computer from which
this mail originates is equipped with virus screening software.
However Torch Trust cannot guarantee that the mail and its attachments
are free from virus infection.

For a description of the software, to download it and links to
project pages go to http://www.abilitiessoft.com



--
Paulw.torchtrust signature

Paul Wood, Chief Technical Officer
*Torch Trust*
Torch House, Torch Way,
Market Harborough, Leics. LE16 9HL, UK
Direct Line: *+44(0)1858 438269*
Tel: *+44(0)1858 438260*, Fax: *+44(0)1858 438275*
Email: paulw@xxxxxxxxxxxxxx <mailto:paulw@xxxxxxxxxxxxxx>
Website: www.torchtrust.org <http://www.torchtrust.org/>

____________________________________________________

Chief Executive: Dr Gordon Temple
Charity No. 1095904

Privileged/Confidential Information may be contained in this message.
If you are not the intended recipient please destroy this message
and kindly notify the sender by reply email. The computer from which
this mail originates is equipped with virus screening software.
However Torch Trust cannot guarantee that the mail and its attachments
are free from virus infection.

Attachment: test_10.zip
Description: Zip compressed data

Other related posts: