liblouis: lou_trace
1
1 4.2 lou_trace
1 =============
1
1 When working on translation tables it is sometimes useful to determine
1 what rules were applied when translating a string. 'lou_trace' helps
1 with exactly that. It list all the the applied rules for a given
1 translation table and an input string.
1
1 lou_trace [OPTIONS] TABLE[,TABLE,...]
1
11 'lou_trace' accepts all the standard options (⇒common
options). Once started you can type an input string followed by
1 '<RET>'. 'lou_trace' will print the braille translation followed by
1 list of rules that were applied to produce the translation. A possible
1 invocation is listed in the following example:
1
1 $ lou_trace tables/en-us-g2.ctb
1 the u.s. postal service
1 ! u4s4 po/al s}vice
1 1. largesign the 2346
1 2. repeated 0
1 3. lowercase u 136
1 4. punctuation . 46
1 5. context _$l["."]$l @256
1 6. lowercase s 234
1 7. postpunc . 256
1 8. repeated 0
1 9. begword post 1234-135-34
1 10. largesign a 1
1 11. lowercase l 123
1 12. repeated 0
1 13. lowercase s 234
1 14. always er 12456
1 15. lowercase v 1236
1 16. lowercase i 24
1 17. lowercase c 14
1 18. lowercase e 15
1 19. pass2 $s1-10 @0
1 20. pass2 $s1-10 @0
1 21. pass2 $s1-10 @0
1