| 1 |
# Liblouis: Danish table for 6 dots grade 2 forward and backward translation 1993 |
| 2 |
# |
| 3 |
# Copyright (C) 2014, 2016-2021, 2023, Bue Vester-Andersen <[email protected]> |
| 4 |
# |
| 5 |
# This file is part of liblouis. |
| 6 |
# |
| 7 |
# liblouis is free software: you can redistribute it and/or modify it |
| 8 |
# under the terms of the GNU Lesser General Public License as |
| 9 |
# published by the Free Software Foundation, either version 2.1 of the |
| 10 |
# License, or (at your option) any later version. |
| 11 |
# |
| 12 |
# liblouis is distributed in the hope that it will be useful, but |
| 13 |
# WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 15 |
# Lesser General Public License for more details. |
| 16 |
# |
| 17 |
# You should have received a copy of the GNU Lesser General Public |
| 18 |
# License along with liblouis. If not, see |
| 19 |
# <http://www.gnu.org/licenses/>. |
| 20 |
# |
| 21 |
# Version: Bue Vester-Andersen, December 2022 |
| 22 |
|
| 23 |
### Table Metadata |
| 24 |
|
| 25 |
#-name: Dansk forkortet 6-punkt 1993 |
| 26 |
#-index-name: Danish, contracted, 6-dot, 1993 |
| 27 |
#-display-name: Danish 6-dot contracted braille (1993 standard) |
| 28 |
|
| 29 |
#+language: da |
| 30 |
#+type: literary |
| 31 |
#+contraction: full |
| 32 |
#+grade: 2 |
| 33 |
#+dots: 6 |
| 34 |
#+direction: both |
| 35 |
#+system: ddp |
| 36 |
#+version: 1993 |
| 37 |
|
| 38 |
#-has-nocross: yes |
| 39 |
|
| 40 |
# Display opcodes |
| 41 |
include da-dk-octobraille_1993.dis |
| 42 |
|
| 43 |
### Spaces |
| 44 |
|
| 45 |
# These ctrl-chars have to have a representation, so that they can be properly converted back and forth. |
| 46 |
space \t 2478 CHARACTER TABULATION |
| 47 |
space \n 678 LINE FEED (LF) |
| 48 |
space \v 1368 LINE TABULATION |
| 49 |
space \f 12378 FORM FEED (FF) |
| 50 |
space \r 257 CARRIAGE RETURN (CR) |
| 51 |
space \x00a0 a |
| 52 |
|
| 53 |
include spaces.uti |
| 54 |
|
| 55 |
### Character definitions |
| 56 |
|
| 57 |
# Definition of dot cells |
| 58 |
punctuation ! 235 EXCLAMATION MARK |
| 59 |
punctuation " 2356 QUOTATION MARK |
| 60 |
punctuation ' 4 APOSTROPHE |
| 61 |
punctuation ( 236 LEFT PARENTHESIS |
| 62 |
punctuation ) 356 RIGHT PARENTHESIS |
| 63 |
punctuation , 2 COMMA |
| 64 |
punctuation - 36 HYPHEN-MINUS |
| 65 |
punctuation . 3 FULL STOP |
| 66 |
punctuation / 34 SLASH |
| 67 |
punctuation : 25 COLON |
| 68 |
punctuation ; 23 SEMICOLON |
| 69 |
punctuation ? 26 QUESTION MARK |
| 70 |
lowercase a 1 |
| 71 |
lowercase b 12 |
| 72 |
lowercase c 14 |
| 73 |
lowercase d 145 |
| 74 |
lowercase e 15 |
| 75 |
lowercase f 124 |
| 76 |
lowercase g 1245 |
| 77 |
lowercase h 125 |
| 78 |
lowercase i 24 |
| 79 |
lowercase j 245 |
| 80 |
lowercase k 13 |
| 81 |
lowercase l 123 |
| 82 |
lowercase m 134 |
| 83 |
lowercase n 1345 |
| 84 |
lowercase o 135 |
| 85 |
lowercase p 1234 |
| 86 |
lowercase r 1235 |
| 87 |
lowercase s 234 |
| 88 |
lowercase t 2345 |
| 89 |
lowercase u 136 |
| 90 |
lowercase v 1236 |
| 91 |
lowercase y 13456 |
| 92 |
|
| 93 |
#use 8 dots for the following chars to avoid conflict with indicators |
| 94 |
lowercase q 123457 |
| 95 |
lowercase w 24567 |
| 96 |
lowercase x 13467 |
| 97 |
lowercase z 13567 |
| 98 |
punctuation | 4568 VERTICAL LINE |
| 99 |
punctuation ~ 467 TILDE (changed by pass 2 to not conflict with indicators |
| 100 |
lowercase \x00fc 12567 |
| 101 |
|
| 102 |
include digits6Dots.uti |
| 103 |
|
| 104 |
punctuation \x00a7 346 SECTION SIGN (0xa7) |
| 105 |
|
| 106 |
lowercase \x00e5 16 LATIN LETTER A WITH RING ABOVE |
| 107 |
lowercase \x00e6 345 LATIN LETTER AE |
| 108 |
lowercase \x00f8 246 LATIN LETTER O WITH STROKE |
| 109 |
|
| 110 |
# Uppercase letters |
| 111 |
base uppercase A a |
| 112 |
base uppercase B b |
| 113 |
base uppercase C c |
| 114 |
base uppercase D d |
| 115 |
base uppercase E e |
| 116 |
base uppercase F f |
| 117 |
base uppercase G g |
| 118 |
base uppercase H h |
| 119 |
base uppercase I i |
| 120 |
base uppercase J j |
| 121 |
base uppercase K k |
| 122 |
base uppercase L l |
| 123 |
base uppercase M m |
| 124 |
base uppercase N n |
| 125 |
base uppercase O o |
| 126 |
base uppercase P p |
| 127 |
base uppercase R r |
| 128 |
base uppercase S s |
| 129 |
base uppercase T t |
| 130 |
base uppercase U u |
| 131 |
base uppercase V v |
| 132 |
base uppercase Y y |
| 133 |
base uppercase Q q |
| 134 |
base uppercase W w |
| 135 |
base uppercase X x |
| 136 |
base uppercase Z z |
| 137 |
base uppercase \x00dc \x00fc |
| 138 |
base uppercase \x00c5 \x00e5 LATIN LETTER A WITH RING ABOVE |
| 139 |
base uppercase \x00c6 \x00e6 LATIN LETTER AE |
| 140 |
base uppercase \x00d8 \x00f8 LATIN LETTER O WITH STROKE |
| 141 |
|
| 142 |
# cover all other Braille patterns |
| 143 |
include braille-patterns.cti |
| 144 |
|
| 145 |
# Characters with two or more cells |
| 146 |
|
| 147 |
punctuation # 45-3456 NUMBER SIGN |
| 148 |
sign $ 45-256 DOLLAR SIGN |
| 149 |
math % 245-356 PERCENT SIGN |
| 150 |
sign & 6-12346 AMPERSAND |
| 151 |
punctuation * 6-35 ASTERISK |
| 152 |
math + 45-235 PLUS SIGN |
| 153 |
math < 45-134 LESS-THAN SIGN |
| 154 |
math = 45-2356 EQUALS SIGN |
| 155 |
math > 45-234 GREATER-THAN SIGN |
| 156 |
sign @ 45-1 COMMERCIAL AT |
| 157 |
punctuation [ 5-236 LEFT SQUARE BRACKET |
| 158 |
punctuation \\ 45-16 REVERSE SLASH |
| 159 |
punctuation ] 5-356 RIGHT SQUARE BRACKET |
| 160 |
punctuation ^ 45-346 CIRCUMFLEX ACCENT |
| 161 |
punctuation _ 45-36 LOW LINE |
| 162 |
punctuation ` 4 GRAVE ACCENT |
| 163 |
punctuation { 45-246 LEFT CURLY BRACKET |
| 164 |
punctuation } 45-135 RIGHT CURLY BRACKET |
| 165 |
math \x00f7 45-256 DIVISION SIGN |
| 166 |
|
| 167 |
# Misc unicode characters |
| 168 |
include da-dk-6miscChars_1993.cti |
| 169 |
|
| 170 |
# Extra chars for private use: |
| 171 |
space \xf800 234f # Used to force a hidden word boundary |
| 172 |
letter \xf801 123f # Used to prevent word contractions in certain cases |
| 173 |
|
| 174 |
# Litdigits |
| 175 |
include litdigits6Dots.uti |
| 176 |
midendnumericmodechars /,.:^ |
| 177 |
|
| 178 |
undefined 26 |
| 179 |
|
| 180 |
### Braille indicators and special characters |
| 181 |
|
| 182 |
#hyphen - 36 |
| 183 |
|
| 184 |
letsign 6 |
| 185 |
|
| 186 |
noletsign Ii\x00df\x0149\x0152\x0153 |
| 187 |
|
| 188 |
# Emphasis opcodes |
| 189 |
emphclass italic |
| 190 |
emphclass underline |
| 191 |
emphclass bold |
| 192 |
|
| 193 |
begemphphrase italic 56 |
| 194 |
endemphphrase italic after 56 |
| 195 |
|
| 196 |
begemphphrase bold 56 |
| 197 |
endemphphrase bold after 56 |
| 198 |
|
| 199 |
begemphphrase underline 56 |
| 200 |
endemphphrase underline after 56 |
| 201 |
|
| 202 |
capsletter 46 |
| 203 |
begcapsword 456 |
| 204 |
endcapsword 6 |
| 205 |
multind 6-46 letsign capsletter |
| 206 |
multind 46-6 capsletter letsign |
| 207 |
multind 6-456 letsign begcapsword |
| 208 |
|
| 209 |
numsign 3456 |
| 210 |
multind 6-3456 letsign numsign |
| 211 |
|
| 212 |
#class of none-space characters that demand double dashes |
| 213 |
# Used in context lines later. |
| 214 |
#must be the first class defined. |
| 215 |
attribute charsWDoubleDash .,?!/:"'() # class w |
| 216 |
|
| 217 |
### Correct - forward translation |
| 218 |
|
| 219 |
# Chars that don't require a space before percent and permille: |
| 220 |
attribute charsBeforePercent "(\x201e\x0084\x201c\x0093\x201d\x0094\x00ab\x00bb #class x |
| 221 |
noback correct `["%"] * |
| 222 |
noback correct !$sx["%"] "\s%" |
| 223 |
noback correct `["\x2030"] * |
| 224 |
noback correct !$sx["\x2030"] "\s\x2030" |
| 225 |
noback correct `["\x0089"] * |
| 226 |
noback correct !$sx["\x0089"] "\s\x2030" |
| 227 |
|
| 228 |
# Chars to be treated like digits when switching back to letter mode |
| 229 |
attribute extraDigits \x00bc\x00bd\x00be |
| 230 |
|
| 231 |
#Use the "correct" opcode to convert chars that can't be back-translated |
| 232 |
# and make the table more simple. |
| 233 |
|
| 234 |
# Dashes |
| 235 |
attribute dashes \x2013\x2014\x0096\x0097\x00ad |
| 236 |
noback correct %dashes "-" |
| 237 |
|
| 238 |
attribute quotes \x201e\x0084\x201c\x0093\x201d\x0094\x00ab\x00bb |
| 239 |
noback correct %quotes "\"" |
| 240 |
|
| 241 |
attribute apostrophes `\x201a\x0082\x2039\x008b\x2018\x0091\x2019\x0092\x203a\x009b\x00b4 |
| 242 |
noback correct %apostrophes "'" |
| 243 |
|
| 244 |
### Correct - backward translation |
| 245 |
|
| 246 |
# characters that may get mangled by the insertion of extra letsigns |
| 247 |
nofor correct "\x2818" "~" |
| 248 |
#nofor correct "\x282f" "&" |
| 249 |
#nofor correct "\x2814" "*" |
| 250 |
|
| 251 |
# Try to distinguish between times (\x00d7) and bullit (\x2022), |
| 252 |
# which share the same Braille representation. |
| 253 |
nofor correct `["\x00d7"] "\x2022" |
| 254 |
# nofor correct $d["\s\x00d7\s"]$d * #apparently doesn't work now |
| 255 |
nofor correct ["\x00d7"]!$d "\x2022" |
| 256 |
nofor correct !$d["\x00d7"] "\x2022" |
| 257 |
|
| 258 |
nofor correct "\x28a0" ? # Extraneous endcaps signs |
| 259 |
#nofor correct "\x2820" ? |
| 260 |
nofor correct "~\\456/" "|" |
| 261 |
|
| 262 |
#ensure \xf800\xf801 between a digit and a letter |
| 263 |
noback correct $dy[]$l "\xf800\xf801" |
| 264 |
noback correct $dy$Spm.[]$l "\xf800\xf801" |
| 265 |
### Pass 1 - Forward and backward |
| 266 |
|
| 267 |
# Remove space between § and numbers. |
| 268 |
noback begnum § 346 |
| 269 |
begnum §\s 346 |
| 270 |
begnum §§\s 346-346 |
| 271 |
always §§ 346-346 |
| 272 |
|
| 273 |
# Punctuations, math and numbers |
| 274 |
#midnum , 2 |
| 275 |
#midnum . 3 |
| 276 |
# the following rule is doubtful, but probably does not apply. |
| 277 |
#midnum - 36 |
| 278 |
endnum - 36 |
| 279 |
#midnum / 34 |
| 280 |
#midnum : 25 |
| 281 |
nofor midnum ^ 346 |
| 282 |
nofor midnum ^ 45-346 |
| 283 |
|
| 284 |
midnum ^ 45-346 |
| 285 |
midnum \x00d7 45-3 |
| 286 |
|
| 287 |
# various back rules for math signs etc. |
| 288 |
nofor midnum % 0-245-356-0-3456 |
| 289 |
nofor endnum % 0-245-356 |
| 290 |
nofor endnum \x2030 0-245-356-356 |
| 291 |
nofor midnum \x00d7 45-3 |
| 292 |
#nofor midnum \x00d7 3 |
| 293 |
|
| 294 |
# Punctuation |
| 295 |
postpunc ! 235 |
| 296 |
prepunc " 2356 |
| 297 |
postpunc " 2356 |
| 298 |
always /\s 6-34-0 |
| 299 |
always \s/ 0-6-34 |
| 300 |
nofor always / 6-34 |
| 301 |
prepunc - 36 |
| 302 |
postpunc - 36 |
| 303 |
nofor always \s-\s 0-36-36-0 |
| 304 |
always :- 25-36 |
| 305 |
always ;- 23-36 |
| 306 |
always --- 36-36-36 |
| 307 |
always ---- 36-36-36-36 |
| 308 |
always ----- 36-36-36-36-36 |
| 309 |
# Star enclosed by parentheses |
| 310 |
always (*) 236-35-356 |
| 311 |
|
| 312 |
before punctuation before sign always ( 6-236 |
| 313 |
|
| 314 |
# these characters must be separated from ")" by a letsign. |
| 315 |
attribute SepToRightpar Jj%'\x2030\x0089\x201a\x0082\x2039\x009b\x2018\x0091\x2019\x0092\x203a\x009b |
| 316 |
after SepToRightpar always ) 6-356 |
| 317 |
after punctuation after sign always ) 6-356 |
| 318 |
|
| 319 |
prepunc ( 236 |
| 320 |
postpunc ) 356 |
| 321 |
always .) 3-356 |
| 322 |
always ( 6-236 |
| 323 |
always ) 6-356 |
| 324 |
|
| 325 |
# extra back rules for ")" |
| 326 |
nofor after punctuation always ) 356 |
| 327 |
nofor always \x00b0 4-356 |
| 328 |
nofor always ') 4-6-356 |
| 329 |
nofor always ") 2356-356 |
| 330 |
nofor endword j) 245-356 |
| 331 |
nofor always ) 6-356 |
| 332 |
|
| 333 |
always ... 3-3-3 |
| 334 |
|
| 335 |
# Exclamation and "fra" |
| 336 |
always fra! 124-1235-1-235 |
| 337 |
always !fra 235-124-1235-1 |
| 338 |
always ?! 26-6-235 |
| 339 |
always )! 356-6-235 |
| 340 |
always (!) 236-6-235-356 |
| 341 |
always "fra" 2356-124-1235-1-2356 |
| 342 |
always "!" 2356-6-235-2356 |
| 343 |
always !! 235-235 |
| 344 |
always !!! 235-235-235 |
| 345 |
always !!!! 235-235-235-235 |
| 346 |
always !!!!! 235-235-235-235-235 |
| 347 |
always '! 4-6-235 |
| 348 |
always \s! 0-6-235 |
| 349 |
prepunc ! 6-235 |
| 350 |
always \x00a1 6-256 |
| 351 |
|
| 352 |
### Contractions ### |
| 353 |
|
| 354 |
#Special sequences, urls emails and file names. |
| 355 |
|
| 356 |
nocont $ |
| 357 |
nocont \x005c |
| 358 |
nocont @ |
| 359 |
nocont :// |
| 360 |
nocont www |
| 361 |
|
| 362 |
# Ensure no contractions in English ordinal numbers |
| 363 |
endnum nd 6-1345-145 |
| 364 |
endnum st 6-234-2345 |
| 365 |
endnum ve 6-1236-15 |
| 366 |
|
| 367 |
#Words |
| 368 |
word af 356 |
| 369 |
always 'af 4-1-124 |
| 370 |
word aldrig 1-35 |
| 371 |
word aig = |
| 372 |
word alle 1-15 |
| 373 |
begnum ae 6-1-15 |
| 374 |
contraction ae |
| 375 |
word allerede 1-123-1235 |
| 376 |
begnum alr 6-1-123-1235 |
| 377 |
contraction alr |
| 378 |
word alligevel 1-123-1236 |
| 379 |
begnum alv 6-1-123-1236 |
| 380 |
contraction alv |
| 381 |
word altid 1-2345-145 |
| 382 |
begnum atd 6-1-2345-145 |
| 383 |
contraction atd |
| 384 |
word altså 1-16 |
| 385 |
begnum aå 6-1-16 |
| 386 |
contraction aå |
| 387 |
word at 1 |
| 388 |
|
| 389 |
word blevet 12-2345 |
| 390 |
begnum bt 6-12-2345 |
| 391 |
contraction bt |
| 392 |
word blev 12-1236 |
| 393 |
begnum bv 6-12-1236 |
| 394 |
contraction bv |
| 395 |
word blive 12-3456 |
| 396 |
word bve 12-1236-15 |
| 397 |
word bliver 12 |
| 398 |
|
| 399 |
word derefter 23456-1356 |
| 400 |
word derst = |
| 401 |
word deres 256 |
| 402 |
word derfor 23456-124 |
| 403 |
word derf = |
| 404 |
word derigennem 23456-24-12456 |
| 405 |
word derige 1456-1235-24-12456 |
| 406 |
word dermed 23456-134 |
| 407 |
word derm = |
| 408 |
word derned 23456-1246 |
| 409 |
word derne = |
| 410 |
word derop 23456-135 |
| 411 |
word dero = |
| 412 |
word derover 23456-1346 |
| 413 |
word deror = |
| 414 |
word derpå 23456-1234 |
| 415 |
word derp = |
| 416 |
word dersom 23456-234 |
| 417 |
word ders = |
| 418 |
word dertil 23456-2345 |
| 419 |
word dert = |
| 420 |
word derunder 23456-12345 |
| 421 |
word derved 23456-1236 |
| 422 |
word din 145-1345 |
| 423 |
begnum dn 6-145-1345 |
| 424 |
contraction dn |
| 425 |
word disse 145-234 |
| 426 |
begnum ds 6-145-234 |
| 427 |
contraction ds |
| 428 |
word dit 145-2345 |
| 429 |
begnum dt 6-145-2345 |
| 430 |
contraction dt |
| 431 |
word du 145 |
| 432 |
|
| 433 |
word efter 1356 |
| 434 |
word eller 15 |
| 435 |
word endnu 15-136 |
| 436 |
begnum eu 6-15-136 |
| 437 |
contraction eu |
| 438 |
|
| 439 |
word fik 124-13 |
| 440 |
begnum fk 6-124-13 |
| 441 |
contraction fk |
| 442 |
word fordi 124-145 |
| 443 |
begnum fd 6-124-145 |
| 444 |
contraction fd |
| 445 |
word forskellige 124-123456-15 |
| 446 |
word fske = |
| 447 |
word forskelligt 124-123456-2345 |
| 448 |
word fskt = |
| 449 |
word forskellig 124-123456 |
| 450 |
word fsk = |
| 451 |
word for 124 |
| 452 |
word fra 235 |
| 453 |
word første 124-1356-15 |
| 454 |
word først 124-1356 |
| 455 |
word før 246 |
| 456 |
|
| 457 |
word ganske 1245-123456 |
| 458 |
word gennem 12456 |
| 459 |
word ge = |
| 460 |
word gik 1245-13 |
| 461 |
begnum gk 6-1245-13 |
| 462 |
contraction gk |
| 463 |
word gør 1245 |
| 464 |
|
| 465 |
word ham 236 |
| 466 |
word hans 13456-234 |
| 467 |
begnum ys 6-13456-234 |
| 468 |
contraction ys |
| 469 |
word han 13456 |
| 470 |
word har 125 |
| 471 |
word havde 125-1456 |
| 472 |
word hde = |
| 473 |
word have 125-3456 |
| 474 |
word hve = |
| 475 |
word helt 125-2345 |
| 476 |
begnum ht 6-125-2345 |
| 477 |
contraction ht |
| 478 |
word hendes 125-234 |
| 479 |
begnum hs 6-125-234 |
| 480 |
contraction hs |
| 481 |
word hende 125-145 |
| 482 |
begnum hd 6-125-145 |
| 483 |
contraction hd |
| 484 |
word hun 136 |
| 485 |
word hvad 2456 |
| 486 |
word hv = |
| 487 |
word hvis 2456-234 |
| 488 |
word hvs = |
| 489 |
word hvordan 34-1 |
| 490 |
word hvora 34-6-1 |
| 491 |
word hvorefter 34-1356 |
| 492 |
word hvorst 34-234-2345 |
| 493 |
word hvorfor 34-124 |
| 494 |
word hvorf 34-6-124 |
| 495 |
word hvorigennem 34-24-12456 |
| 496 |
word hvorledes 34-15 |
| 497 |
word hvore 34-6-15 |
| 498 |
word hvormed 34-134 |
| 499 |
word hvorm 34-6-134 |
| 500 |
word hvornår 34-1345 |
| 501 |
word hvorn 34-6-1345 |
| 502 |
word hvorover 34-1346 |
| 503 |
word hvoror 34-135-1235 |
| 504 |
word hvorpå 34-1234 |
| 505 |
word hvorp 34-6-1234 |
| 506 |
word hvortil 34-2345 |
| 507 |
word hvort 34-6-2345 |
| 508 |
word hvorunder 34-12345 |
| 509 |
word hvornd 34-1345-145 |
| 510 |
word hvorved 34-1236 |
| 511 |
word hvorv 34-6-1236 |
| 512 |
word hvor 34 |
| 513 |
|
| 514 |
word igennem 24-12456 |
| 515 |
word ige = |
| 516 |
word igen 35 |
| 517 |
word (igen) 236-24-1245-126-356 |
| 518 |
word ig = |
| 519 |
word ikke 24-13 |
| 520 |
begnum ik 6-24-13 |
| 521 |
contraction ik |
| 522 |
word imidlertid 24-24 |
| 523 |
begnum ii 6-24-24 |
| 524 |
contraction ii |
| 525 |
|
| 526 |
word jeg 245 |
| 527 |
word jeg) 245-6-356 |
| 528 |
|
| 529 |
word kan 13 |
| 530 |
word kommer 13-156 |
| 531 |
word ker = |
| 532 |
word kommet 13-346 |
| 533 |
word ket = |
| 534 |
word komme 13-146 |
| 535 |
word kme = |
| 536 |
word kom 13-134 |
| 537 |
begnum km 6-13-134 |
| 538 |
contraction km |
| 539 |
word kunne 13-1246 |
| 540 |
word kne = |
| 541 |
|
| 542 |
word ligesom 123-234 |
| 543 |
begnum ls 6-123-234 |
| 544 |
contraction ls |
| 545 |
word lige 123 |
| 546 |
word lille 123-123 |
| 547 |
begnum ll 6-123-123 |
| 548 |
contraction ll |
| 549 |
|
| 550 |
word mange 134-12456 |
| 551 |
word mge = |
| 552 |
word med 134 |
| 553 |
word megen 146-126 |
| 554 |
word meen = |
| 555 |
word meget 146-346 |
| 556 |
word meet = |
| 557 |
word mellem 146-134 |
| 558 |
word mem = |
| 559 |
word men 146 |
| 560 |
word me = |
| 561 |
word min 134-1345 |
| 562 |
begnum mn 6-134-1345 |
| 563 |
contraction mn |
| 564 |
word mit 134-2345 |
| 565 |
begnum mt 6-134-2345 |
| 566 |
contraction mt |
| 567 |
word måske 134-123456 |
| 568 |
word msk = |
| 569 |
word måtte 134-1256 |
| 570 |
word mte = |
| 571 |
|
| 572 |
word naturligvis 1345-2345-1236 |
| 573 |
begnum ntv 6-1345-2345-1236 |
| 574 |
contraction ntv |
| 575 |
word nd = |
| 576 |
word ned 1246 |
| 577 |
word ne = |
| 578 |
word nogen 1345-1345 |
| 579 |
begnum nn 6-1345-1345 |
| 580 |
contraction nn |
| 581 |
word noget 1345-2345 |
| 582 |
begnum nt 6-1345-2345 |
| 583 |
contraction nt |
| 584 |
word nogle 1345-123-15 |
| 585 |
begnum nle 6-1345-123-15 |
| 586 |
contraction nle |
| 587 |
word når 1345 |
| 588 |
|
| 589 |
word også 14-16 |
| 590 |
begnum cå 6-14-16 |
| 591 |
contraction cå |
| 592 |
word og 14 |
| 593 |
word omkring 135-134-13 |
| 594 |
begnum omk 6-135-134-13 |
| 595 |
contraction omk |
| 596 |
word op 135 |
| 597 |
word or = |
| 598 |
word over 1346 |
| 599 |
|
| 600 |
word på 1234 |
| 601 |
|
| 602 |
word ret 12356 |
| 603 |
word re 1235-15 |
| 604 |
word rigtige 1235-12456 |
| 605 |
word rge = |
| 606 |
word rigtigt 1235-2345 |
| 607 |
begnum rt 6-1235-2345 |
| 608 |
contraction rt |
| 609 |
word rigtig 1235 |
| 610 |
|
| 611 |
word sagde 234-1456 |
| 612 |
word sammen 234-134 |
| 613 |
begnum sm 6-234-134 |
| 614 |
contraction sm |
| 615 |
word samme 234-146 |
| 616 |
word sme = |
| 617 |
word selvfølgelig 234-1236-124 |
| 618 |
begnum svf 6-234-1236-124 |
| 619 |
contraction svf |
| 620 |
word selv 234-1236 |
| 621 |
begnum sv 6-234-1236 |
| 622 |
contraction sv |
| 623 |
word sidste 234-1356-15 |
| 624 |
word sste = |
| 625 |
word sidst 234-1356 |
| 626 |
word sst = |
| 627 |
word sin 234-1345 |
| 628 |
begnum sn 6-234-1345 |
| 629 |
contraction sn |
| 630 |
word sit 234-2345 |
| 631 |
begnum st 6-234-2345 |
| 632 |
contraction st |
| 633 |
word skal 123456 |
| 634 |
word sk = |
| 635 |
word skulle 123456-123-15 |
| 636 |
word skle = |
| 637 |
word snart 234-1235 |
| 638 |
begnum sr 6-234-1235 |
| 639 |
contraction sr |
| 640 |
word som 234 |
| 641 |
word sådan 16-1 |
| 642 |
begnum åa 6-16-1 |
| 643 |
contraction åa |
| 644 |
word således 16-15 |
| 645 |
begnum åe 6-16-15 |
| 646 |
contraction åe |
| 647 |
word så 16 |
| 648 |
|
| 649 |
word tid 2345-145 |
| 650 |
begnum td 6-2345-145 |
| 651 |
contraction td |
| 652 |
word tilbage 2345-12 |
| 653 |
begnum tb 6-2345-12 |
| 654 |
contraction tb |
| 655 |
word til 2345 |
| 656 |
|
| 657 |
word under 12345 |
| 658 |
|
| 659 |
sufword var- = |
| 660 |
sufword var. = |
| 661 |
word var 36 |
| 662 |
word ve 3456 |
| 663 |
word ved 1236 |
| 664 |
word ville 1236-123-15 |
| 665 |
begnum vle 6-1236-123-15 |
| 666 |
contraction vle |
| 667 |
word vil 1236-123 |
| 668 |
begnum vl 6-1236-123 |
| 669 |
contraction vl |
| 670 |
word været 1236-2345 |
| 671 |
begnum vt 6-1236-2345 |
| 672 |
contraction vt |
| 673 |
word være 345 |
| 674 |
|
| 675 |
#Part words |
| 676 |
nocross always den 12346 |
| 677 |
nocross always der 23456 |
| 678 |
nocross always det 2346 |
| 679 |
nocross always de 1456 |
| 680 |
nocross always en 126 |
| 681 |
nocross always er 156 |
| 682 |
nocross always et 346 |
| 683 |
nocross always ge 12456 |
| 684 |
#nocross always hvor 34 |
| 685 |
nocross always hv 2456 |
| 686 |
nocross always ig 35 |
| 687 |
nocross always me 146 |
| 688 |
nocross always nd 12345 |
| 689 |
nocross always ne 1246 |
| 690 |
nocross always or 1346 |
| 691 |
nocross always re 12356 |
| 692 |
nocross always sk 123456 |
| 693 |
nocross always st 1356 |
| 694 |
nocross always te 1256 |
| 695 |
|
| 696 |
# Numsign/"ve", special case when back-translating |
| 697 |
noback nocross always ve 3456 |
| 698 |
|
| 699 |
# Additional words containing "hvor" |
| 700 |
# these are made explicit in 6-dots to handle / better |
| 701 |
|
| 702 |
word hvoraf 34-1-124 |
| 703 |
word hvorfra 34-124-1235-1 |
| 704 |
word hvorhen 34-125-126 |
| 705 |
word hvorhenne 34-125-126-1246 |
| 706 |
word hvori 34-24 |
| 707 |
word hvoriblandt 34-24-12-123-1-12345-2345 |
| 708 |
word hvorimellem 34-24-146-123-123-15-134 |
| 709 |
word hvorimod 34-24-134-135-145 |
| 710 |
word hvorlænge 34-123-345-1345-12456 |
| 711 |
word hvormange 34-134-1-1345-12456 |
| 712 |
word hvorom 34-135-134 |
| 713 |
word hvormeget 34-146-1245-346 |
| 714 |
word hvorudfra 34-136-145-124-1235-1 |
| 715 |
word hvorvidt 34-1236-24-145-2345 |
| 716 |
word ihvorvel 24-34-3456-123 |
| 717 |
|
| 718 |
# Rules and corrections for back-translation |
| 719 |
|
| 720 |
#ve special case |
| 721 |
nofor midendword ve 3456 |
| 722 |
|
| 723 |
# nondigletters covers small letters from k + various part word contractions with dots 5 or 6. Necesary to ensure correct back-translation. |
| 724 |
attribute nondigletter klmnopqrstuvwxyzæøå\x017e\x00e0\x00e7\x00e8\x00e9\x00ea\x00eb\x00ee\x00ef\x00f4\x00f9\x00fb\x00fc\x283f\x2829\x282b\x2837 |
| 725 |
nofor before nondigletter begword ve 3456 |
| 726 |
nofor before nondigletter begword vea 3456-1 |
| 727 |
nofor sufword veade 3456-1-1456 |
| 728 |
nofor sufword veader 3456-1-23456 |
| 729 |
nofor sufword veage 3456-1-12456 |
| 730 |
nofor before nondigletter begword veag 3456-1-1245 |
| 731 |
|
| 732 |
# veb |
| 733 |
nofor before nondigletter begword veb 3456-12 |
| 734 |
nofor before nondigletter begword veba 3456-12-1 |
| 735 |
nofor before nondigletter begword vebb 3456-12-12 |
| 736 |
nofor sufword vebbest 3456-12-12-15-1356 |
| 737 |
nofor before nondigletter begword vebe 3456-12-15 |
| 738 |
nofor before nondigletter begword vebi 3456-12-24 |
| 739 |
|
| 740 |
# vec |
| 741 |
nofor before nondigletter begword vec 3456-14 |
| 742 |
nofor before nondigletter begword vecchi 3456-14-14-125-24 |
| 743 |
|
| 744 |
# ved |
| 745 |
nofor before nondigletter begword ved 3456-145 |
| 746 |
nofor before nondigletter begword veda 3456-145-1 |
| 747 |
nofor sufword vedaer 3456-145-1-156 |
| 748 |
nofor before nondigletter begword vedb 3456-145-12 |
| 749 |
nofor sufword vedben 3456-145-12-126 |
| 750 |
nofor sufword vedbend 3456-145-12-15-12345 |
| 751 |
nofor sufword vedbenden 3456-145-12-126-12346 |
| 752 |
nofor before nondigletter begword vedc 3456-145-14 |
| 753 |
nofor before nondigletter begword vedd 3456-145-145 |
| 754 |
nofor before nondigletter begword vedda 3456-145-145-1 |
| 755 |
nofor sufword vedde 3456-145-1456 |
| 756 |
nofor sufword veddet 3456-145-2346 |
| 757 |
nofor sufword vede 3456-1456 |
| 758 |
nofor sufword veden 3456-12346 |
| 759 |
nofor sufword veder 3456-23456 |
| 760 |
nofor sufword vedet 3456-2346 |
| 761 |
nofor before nondigletter begword vedf 3456-145-124 |
| 762 |
nofor before nondigletter begword vedfa 3456-145-124-1 |
| 763 |
nofor before nondigletter begword vedfe 3456-145-124-15 |
| 764 |
nofor before nondigletter begword vedfi 3456-145-124-24 |
| 765 |
nofor before nondigletter begword vedg 3456-145-1245 |
| 766 |
nofor before nondigletter begword vedga 3456-145-1245-1 |
| 767 |
nofor sufword vedge 3456-145-12456 |
| 768 |
nofor before nondigletter begword vedgi 3456-145-1245-24 |
| 769 |
nofor before nondigletter begword vedh 3456-145-125 |
| 770 |
nofor before nondigletter begword vedha 3456-145-125-1 |
| 771 |
nofor before nondigletter begword vedhe 3456-145-125-15 |
| 772 |
nofor before nondigletter begword vedhef 3456-145-125-15-124 |
| 773 |
nofor sufword vedhefte 3456-145-125-15-124-1256 |
| 774 |
nofor before nondigletter begword vedhi 3456-145-125-24 |
| 775 |
nofor before nondigletter begword vedi 3456-145-24 |
| 776 |
nofor before nondigletter begword vedj 3456-145-245 |
| 777 |
nofor sufword vedst 3456-145-1356 |
| 778 |
nofor sufword vedte 3456-145-1256 |
| 779 |
|
| 780 |
# vee |
| 781 |
nofor before nondigletter begword vee 3456-15 |
| 782 |
nofor before nondigletter begword veeb 3456-15-12 |
| 783 |
nofor sufword veen 3456-126 |
| 784 |
nofor sufword veer 3456-156 |
| 785 |
nofor sufword veet 3456-346 |
| 786 |
|
| 787 |
# vef |
| 788 |
nofor before nondigletter begword vef 3456-124 |
| 789 |
nofor before nondigletter begword vefa 3456-124-1 |
| 790 |
nofor before nondigletter begword vefe 3456-124-15 |
| 791 |
nofor before nondigletter begword vefi 3456-124-24 |
| 792 |
|
| 793 |
# veg |
| 794 |
nofor before nondigletter begword veg 3456-1245 |
| 795 |
nofor before nondigletter begword vega 3456-1245-1 |
| 796 |
nofor sufword vege 3456-12456 |
| 797 |
nofor sufword vegen 3456-1245-126 |
| 798 |
nofor word veget 3456-1245-346 |
| 799 |
nofor sufword vegger 3456-1245-1245-156 |
| 800 |
nofor before nondigletter begword vegi 3456-1245-24 |
| 801 |
nofor sufword vegst 3456-1245-1356 |
| 802 |
|
| 803 |
# veh |
| 804 |
nofor before nondigletter begword veh 3456-125 |
| 805 |
nofor before nondigletter begword veha 3456-125-1 |
| 806 |
nofor sufword vehand 3456-125-1-12345 |
| 807 |
nofor sufword vehage 3456-125-1-23456 |
| 808 |
nofor before nondigletter begword vehe 3456-125-15 |
| 809 |
nofor before nondigletter begword vehi 3456-125-24 |
| 810 |
|
| 811 |
# vei |
| 812 |
nofor before nondigletter begword vei 3456-24 |
| 813 |
nofor before nondigletter begword veibe 3456-24-12-15 |
| 814 |
nofor sufword veide 3456-24-1456 |
| 815 |
nofor sufword veien 3456-24-126 |
| 816 |
nofor sufword veige 3456-24-12456 |
| 817 |
nofor before nondigletter begword veij 3456-24-245 |
| 818 |
nofor sufword veind 3456-24-12345 |
| 819 |
|
| 820 |
# vej |
| 821 |
nofor before nondigletter begword vej 3456-245 |
| 822 |
nofor before nondigletter begword veja 3456-245-1 |
| 823 |
nofor before nondigletter begword vejadga 3456-245-1-145-1245-1 |
| 824 |
nofor before nondigletter begword vejaf 3456-245-1-124 |
| 825 |
nofor sufword vejafde 3456-245-1-124-1456 |
| 826 |
nofor before nondigletter begword vejafgif 3456-245-1-124-1245-24-124 |
| 827 |
nofor before nondigletter begword vejb 3456-245-12 |
| 828 |
nofor before nondigletter begword vejba 3456-245-12-1 |
| 829 |
nofor before nondigletter begword vejbe 3456-245-12-15 |
| 830 |
nofor before nondigletter begword vejbi 3456-245-12-24 |
| 831 |
nofor before nondigletter begword vejbid 3456-245-12-24-145 |
| 832 |
nofor before nondigletter begword vejc 3456-245-14 |
| 833 |
nofor before nondigletter begword vejd 3456-245-145 |
| 834 |
nofor before nondigletter begword vejda 3456-245-145-1 |
| 835 |
nofor sufword vejde 3456-245-1456 |
| 836 |
nofor before nondigletter begword vejdi 3456-245-145-24 |
| 837 |
nofor before nondigletter begword veje 3456-245-15 |
| 838 |
nofor before nondigletter begword vejea 3456-245-15-1 |
| 839 |
nofor before nondigletter begword vejeb 3456-245-15-12 |
| 840 |
nofor before nondigletter begword vejed 3456-245-15-145 |
| 841 |
nofor before nondigletter begword vejeda 3456-245-15-145-1 |
| 842 |
nofor sufword vejede 3456-245-15-1456 |
| 843 |
nofor before nondigletter begword vejef 3456-245-15-124 |
| 844 |
nofor before nondigletter begword vejeg 3456-245-15-1245 |
| 845 |
nofor sufword vejege 3456-245-15-12456 |
| 846 |
nofor sufword vejen 3456-245-126 |
| 847 |
nofor sufword vejene 3456-245-15-1246 |
| 848 |
nofor sufword vejer 3456-245-156 |
| 849 |
nofor word vejet 3456-245-346 |
| 850 |
nofor before nondigletter begword vejf 3456-245-124 |
| 851 |
nofor before nondigletter begword vejfa 3456-245-124-1 |
| 852 |
nofor before nondigletter begword vejfe 3456-245-124-15 |
| 853 |
nofor sufword vejfest 3456-245-124-15-1356 |
| 854 |
nofor before nondigletter begword vejfi 3456-245-124-24 |
| 855 |
nofor begword vejfor 3456-245-124-1346 |
| 856 |
nofor before nondigletter begword vejg 3456-245-1245 |
| 857 |
nofor before nondigletter begword vejga 3456-245-1245-1 |
| 858 |
nofor before nondigletter begword vejgaa 3456-245-1245-1-1 |
| 859 |
nofor sufword vejge 3456-245-12456 |
| 860 |
nofor before nondigletter begword vejgi 3456-245-1245-24 |
| 861 |
nofor before nondigletter begword vejh 3456-245-125 |
| 862 |
nofor before nondigletter begword vejha 3456-245-125-1 |
| 863 |
nofor before nondigletter begword vejhe 3456-245-125-15 |
| 864 |
nofor before nondigletter begword vejhi 3456-245-125-24 |
| 865 |
nofor sufword vejhist 3456-245-125-24-1356 |
| 866 |
nofor before nondigletter begword vejhj 3456-245-125-245 |
| 867 |
nofor before nondigletter begword veji 3456-245-24 |
| 868 |
nofor before nondigletter begword vejid 3456-245-24-145 |
| 869 |
nofor before nondigletter begword vejj 3456-245-245 |
| 870 |
nofor before nondigletter begword vejja 3456-245-245-1 |
| 871 |
nofor before nondigletter begword vejje 3456-245-245-15 |
| 872 |
nofor before nondigletter begword vejji 3456-245-245-24 |
| 873 |
nofor sufword vejor 3456-245-1346 |
| 874 |
nofor begword vejst 3456-245-1356 |
| 875 |
|
| 876 |
nofor always vend 3456-12345 |
| 877 |
nofor always veor 3456-1346 |
| 878 |
nofor always vest 3456-1356 |
| 879 |
nofor always vete 3456-1256 |
| 880 |
|
| 881 |
# Corrections of letters with accents |
| 882 |
nofor sufword aïda 1-5-24-145-1 |
| 883 |
nofor sufword anaïs 1-1345-1-5-24-234 |
| 884 |
nofor sufword barsebäck 12-1-1235-234-15-12-345-14-13 |
| 885 |
nofor sufword bohè 12-135-125-5-15 |
| 886 |
nofor sufword château 14-125-5-1-1256-1-136 |
| 887 |
nofor sufword citroën 14-24-2345-1235-135-5-15-1345 |
| 888 |
nofor sufword däniken 145-345-1345-24-13-126 |
| 889 |
nofor word fór 124-5-135-1235 |
| 890 |
nofor sufword göran 1245-246-1235-1-1345 |
| 891 |
nofor sufword göring 1245-246-1235-24-1345-1245 |
| 892 |
nofor word händel 125-345-1345-1456-123 |
| 893 |
nofor word händels 125-345-1345-1456-123-234 |
| 894 |
nofor sufword lagerlöf 123-1-1245-156-123-246-124 |
| 895 |
nofor sufword márquez 134-5-1-1235-6-12345-136-15-6-1356 |
| 896 |
nofor sufword miró 134-24-1235-5-135 |
| 897 |
nofor sufword moliè 134-135-123-24-5-15 |
| 898 |
nofor sufword norröna 1345-1346-1235-246-1345-1 |
| 899 |
nofor sufword tannhäus 2345-1-1345-1345-125-345-136-234 |
| 900 |
nofor sufword tórshavn 2345-5-135-1235-234-125-1-1236-1345 |
| 901 |
nofor sufword václav 1236-5-1-14-123-1-1236 |
| 902 |
nofor sufword verän 1236-156-345-1345 |
| 903 |
nofor sufword weizsäck 6-2456-15-24-6-1356-234-345-14-13 |
| 904 |
|
| 905 |
# Common combinations of one word contractions with slash |
| 906 |
word af/på 356-34-1234 |
| 907 |
word du/i 145-34-24 |
| 908 |
word eller/og 15-34-14 |
| 909 |
word fra/til 235-34-2345 |
| 910 |
word han/hun 13456-34-136 |
| 911 |
word hun/han 136-34-13456 |
| 912 |
word i/du 24-34-145 |
| 913 |
word og/eller 14-34-15 |
| 914 |
word over/under 1346-34-12345 |
| 915 |
word på/af 1234-34-356 |
| 916 |
word til/fra 2345-34-235 |
| 917 |
word under/over 12345-34-1346 |
| 918 |
|
| 919 |
# no backtrans of ^1 and `2. use contractions |
| 920 |
nofor always eta 346-1 |
| 921 |
nofor always etb 346-12 |
| 922 |
always etc 346-14 |
| 923 |
|
| 924 |
# Ensure no one-letter word contraction before or after a dash |
| 925 |
|
| 926 |
endword -af 36-1-124 |
| 927 |
begword af- 1-124-36 |
| 928 |
endword -altid 36-1-2345-145 |
| 929 |
begword altid- 1-2345-145-36 |
| 930 |
endword -at 36-1-2345 |
| 931 |
endword -a 36-6-1 |
| 932 |
begword at- 1-2345-36 |
| 933 |
endword -og 36-135-1245 |
| 934 |
endword -c 36-6-14 |
| 935 |
begword og- 135-1245-36 |
| 936 |
endword -du 36-145-136 |
| 937 |
endword -d 36-6-145 |
| 938 |
begword du- 145-136-36 |
| 939 |
endword -efter 36-15-124-2345-156 |
| 940 |
endword -z 36-6-1356 |
| 941 |
begword efter- 15-124-2345-156-36 |
| 942 |
midword -efter- 36-1356-36 |
| 943 |
endword -e 36-6-15 |
| 944 |
endword -for 36-124-1346 |
| 945 |
endword -f 36-6-124 |
| 946 |
begword for- 124-1346-36 |
| 947 |
endword -fra 36-124-1235-1 |
| 948 |
begword fra- 124-1235-1-36 |
| 949 |
endword -g 36-6-1245 |
| 950 |
endword -gennem 36-1245-126-1246-134 |
| 951 |
begword gennem- 1245-126-1246-134-36 |
| 952 |
endword -ham 36-125-1-134 |
| 953 |
begword ham- 125-1-134-36 |
| 954 |
endword -han 36-125-1-1345 |
| 955 |
endword -y 36-6-13456 |
| 956 |
begword han- 125-1-1345-36 |
| 957 |
endword -har 36-125-1-1235 |
| 958 |
endword -h 36-6-125 |
| 959 |
begword har- 125-1-1235-36 |
| 960 |
endword -hun 36-125-136-1345 |
| 961 |
endword -u 36-6-136 |
| 962 |
begword hun- 125-136-1345-36 |
| 963 |
endword -j 36-6-245 |
| 964 |
endword -kan 36-13-1-1345 |
| 965 |
endword -k 36-6-13 |
| 966 |
begword kan- 13-1-1345-36 |
| 967 |
endword -lige 36-123-24-12456 |
| 968 |
endword -l 36-6-123 |
| 969 |
begword lige- 123-24-12456-36 |
| 970 |
endword -med 36-146-145 |
| 971 |
endword -m 36-6-134 |
| 972 |
begword med- 146-145-36 |
| 973 |
endword -men 36-134-126 |
| 974 |
begword men- 134-126-36 |
| 975 |
endword -ned 36-1246-145 |
| 976 |
begword ned- 1246-145-36 |
| 977 |
endword -når 36-1345-16-1235 |
| 978 |
endword -n 36-6-1345 |
| 979 |
begword når- 1345-16-1235-36 |
| 980 |
endword -op 36-135-1234 |
| 981 |
endword -o 36-6-135 |
| 982 |
begword op- 135-1234-36 |
| 983 |
endword -over 36-135-1236-156 |
| 984 |
endword -x 36-6-1346 |
| 985 |
begword over- 135-1236-156-36 |
| 986 |
endword -på 36-1234-16 |
| 987 |
endword -p 36-6-1234 |
| 988 |
begword på- 1234-16-36 |
| 989 |
midword -på- 36-1234-36 |
| 990 |
endword -ret 36-1235-346 |
| 991 |
begword ret- 1235-346-36 |
| 992 |
midword -ret- 36-12356-36 |
| 993 |
endword -rigtig 36-1235-35-2345-35 |
| 994 |
endword -r 36-6-1235 |
| 995 |
begword rigtig- 1235-35-2345-35-36 |
| 996 |
midword -rigtig- 36-1235-36 |
| 997 |
endword -skal 36-123456-1-123 |
| 998 |
begword skal- 123456-1-123-36 |
| 999 |
midword -skal- 36-123456-36 |
| 1000 |
endword -som 36-234-135-134 |
| 1001 |
endword -s 36-6-234 |
| 1002 |
begword som- 234-135-134-36 |
| 1003 |
midword -som- 36-234-36 |
| 1004 |
endword -så 36-234-16 |
| 1005 |
endword -å 36-6-16 |
| 1006 |
begword så- 234-16-36 |
| 1007 |
endword -til 36-2345-24-123 |
| 1008 |
endword -t 36-6-2345 |
| 1009 |
begword til- 2345-24-123-36 |
| 1010 |
midword -til- 36-2345-36 |
| 1011 |
endword -under 36-136-1345-23456 |
| 1012 |
begword under- 136-1345-23456-36 |
| 1013 |
midword -under- 36-12345-36 |
| 1014 |
endword -ved 36-1236-15-145 |
| 1015 |
endword -v 36-6-1236 |
| 1016 |
begword ved- 1236-15-145-36 |
| 1017 |
midword -ved- 36-1236-36 |
| 1018 |
|
| 1019 |
|
| 1020 |
### Context rules - forward translation |
| 1021 |
|
| 1022 |
# Exclamation at beginning of string |
| 1023 |
noback context `["!"] @6-235 |
| 1024 |
|
| 1025 |
# Ensure two dashes where appropriate. |
| 1026 |
noback context $w["-"]$w @36 |
| 1027 |
noback context $sw["-"]"\xf800\xf801" @36 |
| 1028 |
noback context $sw["-"]$sw @36-36 |
| 1029 |
noback context `["-"]$sw @36-36 |
| 1030 |
noback context $sw["-"]~ @36-36 |
| 1031 |
noback context !$sw["-"]~ @36 |
| 1032 |
noback context `["-"]~ @36-36 |
| 1033 |
|
| 1034 |
# Ensure letsign between letter and numsign |
| 1035 |
noback context $l[]$D @6 |
| 1036 |
|
| 1037 |
|
| 1038 |
### context - backward translation |
| 1039 |
|
| 1040 |
# Ensure the correct number of dashes |
| 1041 |
nofor context @36[@36-36] "--" |
| 1042 |
nofor context [@36-36]@36 "--" |
| 1043 |
nofor context $w[@36-36]$w "--" |
| 1044 |
nofor context $sw[@36-36]$sw "-" |
| 1045 |
nofor context `[@36-36]$sw "-" |
| 1046 |
nofor context $sw[@36-36]~ "-" |
| 1047 |
nofor context `@36-36~ "-" |
| 1048 |
|
| 1049 |
|
| 1050 |
### Pass 2 - forward translation |
| 1051 |
|
| 1052 |
# No "nd", "hv", "or", or "st" after a digit and a letsign |
| 1053 |
noback pass2 @234f-123f-2456 @6-125-1236 |
| 1054 |
noback pass2 @234f-123f-12345 @6-1345-145 |
| 1055 |
noback pass2 @234f-123f-1346 @6-135-1235 |
| 1056 |
noback pass2 @234f-123f-1356 @6-234-2345 |
| 1057 |
noback pass2 @234f-123f-1256 @6-2345-15 |
| 1058 |
# extra lines to correct hyphenation errors caused by \xf801 |
| 1059 |
noback pass2 @234f-123f-135-3456-1235 @6-135-1236-156 |
| 1060 |
noback pass2 @234f-123f-3456 @6-1236-15 |
| 1061 |
|
| 1062 |
noback pass2 @234f-123f @6 |
| 1063 |
|
| 1064 |
# Correct chars defined as 8 dots because they include letsign |
| 1065 |
noback pass2 @467 @45-6 |
| 1066 |
noback pass2 @4568 @45-456 |
| 1067 |
noback pass2 @123457 @6-12345 |
| 1068 |
noback pass2 @24567 @6-2456 |
| 1069 |
noback pass2 @13467 @6-1346 |
| 1070 |
noback pass2 @13567 @6-1356 |
| 1071 |
noback pass2 @12567 @6-1256 |
| 1072 |
|
| 1073 |
noback pass2 @6-5 @5 # no letsign before letters with accent |
| 1074 |
noback pass2 @6-46-5 @46-5 # no letsign before cap letters with accent |
| 1075 |
noback pass2 @234f-123f-46-5 @46-5 # no letsign before cap letters with accent |
| 1076 |
noback pass2 _$D[@6-46-6] * |
| 1077 |
noback pass2 _$D[@6-46] * |
| 1078 |
noback pass2 @6-46-6 @46-6 # Ensure correct order and no double letsign |
| 1079 |
noback pass2 @6-46 @46-6 # Ensure correct order |
| 1080 |
|
| 1081 |
### Pass 2 - backward |
| 1082 |
|
| 1083 |
# Insert letsign between number (with extra punctuation) and capsletter sign |
| 1084 |
#nofor pass2 @3456$l.$Spm$l.@3$l.@3[]@46 @6 |
| 1085 |
#nofor pass2 @3456$l.$Spm$l.@3[]@46 @6 |
| 1086 |
#nofor pass2 @3456$l.$Spm$Spm[]@46 @6 |
| 1087 |
#nofor pass2 @3456$l.$Spm[]@46 @6 |
| 1088 |
|
| 1089 |
# Insert letsign between number (with extra punctuation) and capsword sign |
| 1090 |
#nofor pass2 @3456$l.$Spm$l.@3$l.@3[]@456 @6 |
| 1091 |
#nofor pass2 @3456$l.$Spm$l.@34$l.@34[]@456 @6 |
| 1092 |
#nofor pass2 @3456$l.$Spm$l.@36$l.@36[]@456 @6 |
| 1093 |
#nofor pass2 @3456$l.$Spm$l.@3[]@456 @6 |
| 1094 |
#nofor pass2 @3456$l.$Spm$l.@34[]@456 @6 |
| 1095 |
#nofor pass2 @3456$l.$Spm$l.@36[]@456 @6 |
| 1096 |
#nofor pass2 @3456$l.$Spm$Spm[]@456 @6 |
| 1097 |
#nofor pass2 @3456$l.$Spm[]@456 @6 |
| 1098 |
#nofor pass2 @3456$l.[]@456 @6 |
| 1099 |
|
| 1100 |
#nofor pass2 $l[]@46 @6 |
| 1101 |
#nofor pass2 $a[]@456 @6 |
| 1102 |
|
| 1103 |
### Pass 3 - forward translation |
| 1104 |
|
| 1105 |
# Ensure there is only one letsign |
| 1106 |
noback pass3 @6-6 @6 |
| 1107 |
|
| 1108 |
# Ensure there is only one emphasis sign |
| 1109 |
noback pass3 @56-56 @56 |
| 1110 |
noback pass3 @56-56-56 @56 |
| 1111 |
|
| 1112 |
|
| 1113 |
### Pass 3 - backward translation |
| 1114 |
|
| 1115 |
# Save letters that have been defined with letsign as part of their definitions |
| 1116 |
nofor pass3 @6-12345 @123457 |
| 1117 |
nofor pass3 @6-2456 @24567 |
| 1118 |
nofor pass3 @6-1346 @13467 |
| 1119 |
nofor pass3 @6-1356 @13567 |
| 1120 |
nofor pass3 @6-1256 @6-12567 |
| 1121 |
|
| 1122 |
# save ~ and | before inserting extra letsigns and endcapsword in pass 2. |
| 1123 |
nofor pass3 @45-6 @467 # Create alternative representation of "~" |
| 1124 |
nofor pass3 @45-456 @4568 |
| 1125 |
|
| 1126 |
# Include hyphenation file as the last thing |
| 1127 |
include da-dk-g2.dic |