[liblouis-liblouisxml] Re: SV: Re: Nonstandard hyphenation rules: Liblouis not support this type rules when doing hyphenation?

  • From: Bert Frees <bertfrees@xxxxxxxxx>
  • To: "liblouis-liblouisxml@xxxxxxxxxxxxx" <liblouis-liblouisxml@xxxxxxxxxxxxx>
  • Date: Sun, 14 May 2017 17:35:33 +0200

The nocross opcode can not help you with non-standard hyphenation. It works
as follows: a nocross rule only matches if it does not cross a syllable
boundary. Syllables are determined by first fully hyphenating words. The
hyphenation points are the syllable boundaries. See also
http://liblouis.org/documentation/liblouis.html#nocross-opcode.





2017-05-13 8:04 GMT+02:00 Hammer Attila <hammera@xxxxxxxxx>:

Hi list,

With karosszéria word related, the right hyphenation delimiters is
following to always get good hungarian braille contracted output:
ka-ros-szé-ria
For example if only three cells remaining the 32 character line length
limit, file2brl need putting the "ka-" part, and next line need putting the
rosszéria word part.
If awailable for example six characters in end of line, because the karos
word part is valid hyphenation delimiter an ideal situation this word
related, need putting the braille document the "karos-" word part, and next
line need putting the "széria" word part.
Liblouis hungarian grade1 braille table normal case good contracted the
"karosszéria" word.

So, with various hyphenation cases this word, braille contracted output
word need looking following for example in unicode braille format:
1. If only three characters remaining in a 32 maximum line length limit:
⠅⠁-⠗⠕⠎⠱⠡⠗⠊⠁

2. If six characters available:
⠅⠁⠗⠕⠎-⠱⠡⠗⠊⠁

3. If eight characters remaining:
⠅⠁⠗⠕⠎⠱⠡-⠗⠊⠁

Of course, the translator program need ensure to put valid hyphenated
output a contracted braille document, to prevent my an another letter
described wrong hyphenation case for "bekezdés" word related.

An another example, with need using different hyphenation:
The ősszel or tavasszal words, the ideal end of line hungarian contracted
braille hyphenation always following:
ősszel word: ősz-szel
tavasszal word: ta-vasz-szal

This situations help Norbert and me the syllable or nocross opcodes, or
this opcodes purpose absolute different if a hyphenation table included?
When useful this opcodes if a hyphenation table included a table list? Me
newer need yet use this opcodes, so not have experiences this opcodes
advantage and usage.

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

Other related posts: