Great work, Mike. I'm glad to see young programmers taking up the torch. John On Wed, Feb 11, 2015 at 05:41:06PM +0000, Michael Gray wrote: > Thank you. > > I had originally had LibLouis insert a word_reset automatically for the > hyphen opcode, and added an apostrophe and initial opcode for the ' and . > characters, but it seems that UEB standard says that any non-alphabet > character should cause a reset, so they were not needed. > > The behavior right now is that LibLouis ignores word_resets when determining > passages, then checks them for words not in a passage. This seems to > correctly hit a bunch of the examples in the specification like > "MERRY-GO-ROUND", "A SELF-MADE MAN", and "INITIALS OF WRITER/initials of > secretary". > > ________________________________________ > From: liblouis-liblouisxml-bounce@xxxxxxxxxxxxx > [liblouis-liblouisxml-bounce@xxxxxxxxxxxxx] on behalf of Paul Wood > [paulw@xxxxxxxxxxxxxx] > Sent: Wednesday, February 11, 2015 12:32 PM > To: liblouis-liblouisxml@xxxxxxxxxxxxx > Subject: [liblouis-liblouisxml] Re: UEB update > > Well done Michael! > You have identified a couple we had picked up with the British braille that I > didn't know how to fix. > Another one that has just happen, but I haven't had time to investigate is a > dash between e.g. 19th-20th > but that is to do with the minus sign and as UEB is happy with a dash as a > minus that will solve this problem for us! > Cheers > Paul > > On 11/02/2015 17:14, Michael Gray wrote: > > I have uploaded an update to my UEB Capital/Emphasis code. It is available > at https://github.com/MikeGray-APH/liblouis in the mrg-emphasis branch. > > In order to better transcribe what the standard expects the behavior has been > changed. The previous description of behavior is no longer valid. Also > first/last word before/after is not implemented but will be soon. > > A passage_break and word_reset have been added to the typeforms to give the > user better control over how LibLouis transcribes. The passage_break will > cause a passage to restart at that point. A word_reset causes a character to > be treated like a hyphen or apostrophe, although LibLouis does not require > them for hyphens, apostrophes, etc. > > Attached is a text file containing the current differences between what the > UEB standard says and what LibLouis outputs. Right now it is mostly letter > indicators and such with a few exceptions. > > Any feedback is appreciated. > > MRG > > -- > > 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 -- John J. Boyer; President, Abilitiessoft, Inc. http://www.abilitiessoft.com Madison, Wisconsin USA Developing software for people with disabilities For a description of the software, to download it and links to project pages go to http://www.abilitiessoft.com