956 lines
25 KiB
Plaintext
956 lines
25 KiB
Plaintext
# liblouis: Spanish, Grade 2 table
|
|
#
|
|
# -----------
|
|
#-index-name: Spanish, contracted
|
|
#-display-name: Spanish contracted braille
|
|
#
|
|
#+locale:es
|
|
#+type:literary
|
|
#+contraction:full
|
|
#+grade:2
|
|
# Marked as "direction:forward" by Bue Vester-Andersen
|
|
# as tests only run forward.
|
|
#+direction:forward
|
|
# -----------
|
|
#
|
|
# Based on the Linux screenreader BRLTTY, copyright (C) 1999-2006 by
|
|
# The BRLTTY Team
|
|
#
|
|
# Copyright (C) 2018 Juan Pablo Bello
|
|
#
|
|
# Other contributors: Carlos Monge (providing sources), Bert Frees (aid in table development)
|
|
#
|
|
# This file is part of liblouis.
|
|
#
|
|
# liblouis is free software: you can redistribute it and/or modify it
|
|
# under the terms of the GNU Lesser General Public License as
|
|
# published by the Free Software Foundation, either version 2.1 of the
|
|
# License, or (at your option) any later version.
|
|
#
|
|
# liblouis is distributed in the hope that it will be useful, but
|
|
# WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
# Lesser General Public License for more details.
|
|
#
|
|
# You should have received a copy of the GNU Lesser General Public
|
|
# License along with liblouis. If not, see
|
|
# <http://www.gnu.org/licenses/>.
|
|
#
|
|
# Remarks: this table is largely based following the conventions as set in the ONCE
|
|
# international manual for contracted (abbreviated) Spanish grade 2 stenography manual
|
|
# published in 1998, by Mª del Carmen Galíndez González, available at
|
|
# https://www.foal.es/es/biblioteca/curso-de-estenograf%C3%AD. The official Spanish
|
|
# dictionary (RAE 23rd edition, 2017 update) was used for the check up of several things,
|
|
# including contraction combinations, to check whether words existed in the language and
|
|
# so on. Found at http://dle.rae.es/. Revised accentuation rules are also in effect,
|
|
# especially those that deal with pronouns. This is important to mention as it is likely
|
|
# to confuse many people due to the recent revision and many still have misconceptions
|
|
# about pronouns. In a nutshell the accent for all demonstrative pronouns is now obsolete
|
|
# in the Spanish language, see:
|
|
# http://www.rae.es/consultas/el-adverbio-solo-y-los-pronombres-demostrativos-sin-tilde. A
|
|
# few other secondary sources as well as answers to numerous questions to skilled braille
|
|
# readers in different blindness braille Spanish social media groups have also been used
|
|
# for completeness. The listed reference is the latest dated one which had no conflicts
|
|
# or inconsistencies that could be found. For example, another unpublished online
|
|
# reference dated 2006 did exist in Colombia, however the entire text was already in
|
|
# grade 2 form, rendering it rather useless. It's important to note that this table is
|
|
# provided as a convenience only since there are currently (present year 2018) no
|
|
# official editorials or organizations which offer Spanish grade 2 texts or
|
|
# books. However, the original creator feels that abreviated forms of reading and writing
|
|
# are a key asset in any language, if not at least for personal use. Due that there are
|
|
# some officially published sources in Spanish grade 2 it would be a shame to let all of
|
|
# those world concerted efforts disappear and never make its way into modern times or
|
|
# technology. Even though commercially renowned packages like Duxbury do support
|
|
# abbreviated Spanish, various tests and readers have found it outdated and not always
|
|
# corrrectly implemented even as of version 12.3 in present year 2018. Open sourcing the
|
|
# grade 2 code will hopefully prevent this from happening and will keep braille moving
|
|
# forward. Usual disclaimer: of course, everyone who rigorously tested the table and
|
|
# improved its opcodes, etc. has done their best so that rules and signs are represented
|
|
# clearly and accurately, but cannot accept any responsibility for any errors or problems
|
|
# the user may encounter in applying it to his or her work. So reporting of any of those
|
|
# is always encouraged.
|
|
#
|
|
# ----------------------------------------------------------------------
|
|
|
|
# Add virtual dot to k, w and x (see below). This overwrites the definitions from
|
|
# es-g1.ctb. For the table to work these rules need to be defined before AND after the
|
|
# include.
|
|
lowercase k 13b
|
|
lowercase w 2456b
|
|
lowercase x 1346b
|
|
|
|
include es-g1.ctb
|
|
|
|
# braille indicators specific to Spanish Grade 2
|
|
|
|
# grade 2 interruptor and also accentuation indicator
|
|
|
|
multind 56 letsign capsletter
|
|
|
|
# emphasis start and end
|
|
|
|
emphclass italic
|
|
emphclass underline
|
|
emphclass bold
|
|
|
|
begemph bold 5-35
|
|
endemph bold 5-35
|
|
begemph italic 5-35
|
|
endemph italic 5-35
|
|
|
|
# Spanish grade 2 situations solved with the use of multi-pass implementations
|
|
|
|
# If a word happens to be made up of only lowered signs, then first contraction is not
|
|
# contracted to avoid confussion with punctuation. A multi-pass implementation is in order
|
|
# here. In a first pass all the contractions are made, but with a temporary virtual dot;
|
|
# then in a second pass some contractions are cancelled, and for the other contractions the
|
|
# virtual dot is removed.
|
|
|
|
# Adding the virtual dot to lowered cell contractions.
|
|
|
|
sign \xe001 2a
|
|
sign \xe002 23a
|
|
sign \xe003 25a
|
|
sign \xe004 256a
|
|
sign \xe005 26a
|
|
sign \xe009 35a
|
|
sign \xe008 236a
|
|
sign \xe007 2356a
|
|
sign \xe006 235a
|
|
sign \xe000 356a
|
|
|
|
# Forcing the contractions to have the virtual dot.
|
|
|
|
begmidword ab 2a
|
|
always br 23a
|
|
always cr 25a
|
|
always dr 256a
|
|
always en 26a
|
|
always in 35a
|
|
always er 236a
|
|
always gr 2356a
|
|
always pr 235a
|
|
always tr 356a
|
|
|
|
# Grouping all of these into a class.
|
|
|
|
attribute contraction \xe000\xe001\xe002\xe003\xe004\xe005\xe006\xe007\xe008\xe009
|
|
swapdd cancelcontraction 2a,23a,25a,256a,26a,35a,236a,2356a,235a,356a 1-12,12-1235,14-1235,145-1235,15-1345,24-1345,15-1235,1245-1235,1234-1235,2345-1235
|
|
swapdd finalizecontraction 2a,23a,25a,256a,26a,35a,236a,2356a,235a,356a 2,23,25,256,26,35,236,2356,235,356
|
|
|
|
# contraction cancellations using variables
|
|
|
|
noback pass2 $s[%contraction]$s %cancelcontraction
|
|
noback pass2 $s[%contraction]%contraction.$s %cancelcontraction
|
|
noback pass2 $s[%contraction]~ %cancelcontraction
|
|
noback pass2 $s[%contraction]%contraction.~ %cancelcontraction
|
|
noback pass2 `[%contraction]$s %cancelcontraction
|
|
noback pass2 `[%contraction]%contraction.$s %cancelcontraction
|
|
noback pass2 `[%contraction]~ %cancelcontraction
|
|
noback pass2 `[%contraction]%contraction.~ %cancelcontraction
|
|
# same with leading capsign
|
|
noback pass2 $s@46[%contraction]$s %cancelcontraction
|
|
noback pass2 $s@46[%contraction]$wx.$s %cancelcontraction
|
|
noback pass2 $s@46[%contraction]~ %cancelcontraction
|
|
noback pass2 $s@46[%contraction]$wx.~ %cancelcontraction
|
|
noback pass2 `@46[%contraction]$s %cancelcontraction
|
|
noback pass2 `@46[%contraction]$wx.$s %cancelcontraction
|
|
noback pass2 `@46[%contraction]~ %cancelcontraction
|
|
noback pass2 `@46[%contraction]$wx.~ %cancelcontraction
|
|
|
|
noback pass2 %contraction %finalizecontraction
|
|
|
|
# Whenever x, w or k is anywhere in a word the entire word is uncontracted and dot 5 prefixes the word.
|
|
|
|
# Translate words containing k, w or x according to character definitions.
|
|
|
|
nocont K
|
|
nocont W
|
|
nocont X
|
|
nocont k
|
|
nocont w
|
|
nocont x
|
|
|
|
# To prefix the words with dot 5 we use a multi-pass implementation. First we add a virtual
|
|
# dot to k, w and x so that they can be distinguished in pass2.
|
|
lowercase k 13b
|
|
lowercase w 2456b
|
|
lowercase x 1346b
|
|
|
|
# Then we define a class and a swap set. The class is needed to make the negations work.
|
|
# (does not work with only the swapdd rule: is this a bug?)
|
|
attribute kwx kwx # this is the 2nd class defined in this table, so we can also use $x instead of %kwx
|
|
# The swap set is needed for the rule that removes the virtual dots.
|
|
swapdd kwx 13b,2456b,1346b 13,2456,1346
|
|
# We are using the same name for both because we can.
|
|
|
|
# In a first pass we add the dot 5.
|
|
noback pass2 _$s[%kwx] @5*
|
|
noback pass2 _$s[!$xs.%kwx] @5* # !$xs means "anything but a K, W, X or SPACE"
|
|
noback pass2 `[%kwx] @5*
|
|
noback pass2 `[!$xs.%kwx] @5*
|
|
|
|
# In a second pass we remove the virtual dots.
|
|
noback pass3 %kwx %kwx
|
|
|
|
# Special omnipresent mandatory rules for dot 5 to avoid punctuation ending
|
|
# ambiguity. Closing quotation, question marks, or both.
|
|
|
|
endword ?" 5-26-236
|
|
endword " 5-236
|
|
endword ? 5-26
|
|
|
|
# single cell word contractions, single letters
|
|
|
|
word bien 12
|
|
word con 14
|
|
word de 145
|
|
word el 15
|
|
word fue 124
|
|
word gran 1245
|
|
word haber 125
|
|
word si 24
|
|
word jamás 245
|
|
word al 13
|
|
word le 123
|
|
word me 134
|
|
word no 1345
|
|
word año 12456
|
|
word por 1234
|
|
word que 12345
|
|
word ser 1235
|
|
word se 234
|
|
word te 2345
|
|
word un 136
|
|
word vez 1236
|
|
word como 2456
|
|
word son 1346
|
|
word este 1356
|
|
|
|
# single cell contractions based on signs and accented letters
|
|
|
|
word las 12346
|
|
word ella 123456
|
|
word mas 134-12346
|
|
word él 2346
|
|
word según 23456
|
|
word para 16
|
|
word siempre 126
|
|
word ante 146
|
|
word cada 1456
|
|
word muy 156
|
|
word es 1246
|
|
word pues 1256
|
|
word los 246
|
|
word sobre 23
|
|
word del 256
|
|
word en 26
|
|
word pero 235
|
|
word grado 2356
|
|
word hace 236
|
|
word sin 35
|
|
word entre 356
|
|
word la 3
|
|
word lo 36
|
|
word número 3456
|
|
word sí 34
|
|
word aquel 346
|
|
word su 345
|
|
|
|
# common derivative plurals and endings based on these contractions
|
|
|
|
# pronouns first
|
|
|
|
word estos 1356-246
|
|
word estas 1356-12346
|
|
word eso 1246-135
|
|
word esa 1246-1
|
|
word esos 1246-246
|
|
word ésas 1246-12346
|
|
word aquello 346-135
|
|
word aquella 346-1
|
|
word aquellas 346-12346
|
|
word aquellos 346-246
|
|
|
|
# two sign words
|
|
|
|
word bienes 12-1246
|
|
word ello 123456-135
|
|
word ellas 123456-12346
|
|
word ellos 123456-246
|
|
word una 136-1
|
|
word uno 136-135
|
|
word unos 136-246
|
|
word unas 136-12346
|
|
word ese 1246-15
|
|
word años 12456-246
|
|
word grados 2356-246
|
|
word números 3456-246
|
|
word seres 234-1246
|
|
word sones 1346-1246
|
|
word hacer 236-1235
|
|
word hacen 236-1345
|
|
word hacemos 236-134-246
|
|
|
|
# dot 5 as stenographic accentuator for a few of those words
|
|
|
|
word qué 5-12345
|
|
word sé 5-234
|
|
word cómo 5-2456
|
|
word más 12356
|
|
word e 5-15
|
|
word u 5-136
|
|
|
|
# abbreviations consisting of two or more signs
|
|
|
|
# letter a
|
|
word absoluto 1-12
|
|
word acaso 1-14
|
|
word acerca 1-14-14
|
|
word apenas 1-1234
|
|
word aunque 1-136
|
|
word atrás 1-356
|
|
# acción is added at the word endings
|
|
|
|
# letter b
|
|
|
|
word buena 12-1
|
|
word bajo 12-245
|
|
word buenamente 12-134
|
|
word buen 12-1345
|
|
word bueno 12-135
|
|
word bastante 12-2345
|
|
sufword bondad 12-1456
|
|
|
|
# letter c
|
|
|
|
contraction cc
|
|
|
|
# this specific word has potential back translation problems
|
|
sufword cerca 14-14
|
|
contraction cd
|
|
word cuando 14-145
|
|
word ciego 14-1245
|
|
word cual 14-123
|
|
word cualquier 14-12345
|
|
word cualquiera 14-12345-1
|
|
word casi 14-234
|
|
word cierto 14-2345
|
|
word cuanto 14-136
|
|
word cuyo 14-13456
|
|
|
|
# letter d
|
|
|
|
word debajo 145-12-245
|
|
contraction dc
|
|
sufword decía 145-14
|
|
prfword decían 145-14-1345
|
|
word donde 145-145
|
|
word dondequiera 145-145-12345
|
|
contraction df
|
|
sufword difícil 145-124
|
|
prfword diferencia 145-124-14
|
|
prfword diferente 145-124-2345
|
|
prfword dijo 145-245
|
|
word delante 145-123
|
|
prfword demás 145-134
|
|
word demasiado 145-134-145
|
|
word después 145-1234
|
|
word desde 145-234
|
|
word durante 145-136
|
|
word detrás 145-356
|
|
|
|
# letter e
|
|
|
|
word efecto 15-124
|
|
word efectivo 15-124-1236
|
|
sufword efectividad 15-124-1236-1456
|
|
word ejemplo 15-245
|
|
sufword ejemplar 15-245-1235
|
|
|
|
# letter f
|
|
|
|
sufword favor 124-1236
|
|
sufword fácil 124-12356
|
|
sufword facilidad 124-1456
|
|
|
|
# letter g
|
|
|
|
# this specific word conflicts with back translation but many words in the language can contract it
|
|
noback always grande 1245-145
|
|
sufword general 1245-1345
|
|
sufword generalidad 1245-1345-1456
|
|
|
|
# letter h
|
|
|
|
word había 125-12
|
|
contraction hbd
|
|
word habido 125-12-145
|
|
word habían 125-12-1345
|
|
word hacia 125-14
|
|
word hijo 125-245
|
|
contraction hm
|
|
word hermano 125-134
|
|
word hasta 125-234
|
|
contraction ht
|
|
word historia 125-2345
|
|
word haya 125-13456
|
|
word hayan 125-13456-1345
|
|
word hombre 125-2456
|
|
|
|
# letter i
|
|
|
|
sufword igual 24-1245
|
|
sufword igualdad 24-1245-1456
|
|
|
|
# leter j
|
|
|
|
word junto 245-2345
|
|
word joven 245-1236
|
|
sufword juventud 245-1236-2345
|
|
|
|
# letter k
|
|
|
|
contraction kg
|
|
word algo 13-1245
|
|
word alguien 13-1245-1345
|
|
word algún 13-1345
|
|
word alguna 13-1345-1
|
|
word alguno 13-1345-135
|
|
sufword alrededor 13-1235
|
|
|
|
# letter l
|
|
|
|
contraction lg
|
|
word largo 123-1245
|
|
word lejos 123-245
|
|
contraction lu
|
|
sufword lugar 123-136
|
|
word luego 123-1256
|
|
word luegos 123-1256-234
|
|
|
|
# letter m
|
|
|
|
contraction ma
|
|
prfword madre 134-1
|
|
prfword medio 134-145
|
|
always mediante 134-145-2345
|
|
sufword mejor 134-245
|
|
contraction mm
|
|
word mismo 134-134
|
|
word manera 134-1345
|
|
word menos 134-234
|
|
sufword mujer 134-136
|
|
sufword mayor 134-13456
|
|
word mayoría 134-13456-1235
|
|
word mientras 134-356
|
|
|
|
# letter n
|
|
|
|
word nunca 1345-14
|
|
word necesario 1345-14-1235
|
|
sufword necesidad 1345-14-1456
|
|
word nadie 1345-145
|
|
word ningún 1345-1245
|
|
word ninguna 1345-1245-1
|
|
word ninguno 1345-1245-135
|
|
sufword natural 1345-2345
|
|
word naturaleza 1345-2345-1356
|
|
word naturalidad 1345-2345-1456
|
|
word nuevo 1345-1236
|
|
sufword novedad 1345-1236-1456
|
|
prfword nada 1345-1456
|
|
word niño 1345-12456
|
|
word nuestro 1345-1256
|
|
|
|
# letter o
|
|
|
|
sufword oficio 135-124
|
|
sufword oficial 135-124-123
|
|
word oportuno 135-1234
|
|
sufword oportunidad 135-1234-1456
|
|
word otro 135-356
|
|
word ocasión 135-3456
|
|
|
|
# letter p
|
|
|
|
word padre 1234-1
|
|
contraction pc
|
|
word poco 1234-14
|
|
word podía 1234-145
|
|
word podían 1234-145-1345
|
|
sufword persona 1234-1345
|
|
word personalidad 1234-1345-1456
|
|
word porque 1234-12345
|
|
word poder 1234-1235
|
|
word pequeño 1234-12456
|
|
word puede 1234-1256
|
|
|
|
# letter q
|
|
|
|
word quien 12345-1345
|
|
|
|
# letter r
|
|
|
|
word relación 1235-123
|
|
word relativo 1235-123-1236
|
|
word relatividad 1235-123-1236-1456
|
|
word relatividades 1235-123-1236-1456-1246
|
|
word razón 1235-1356
|
|
|
|
# letter s
|
|
|
|
word sido 234-145
|
|
prfword siguiente 234-1245
|
|
word solo 234-123
|
|
word sino 234-1345
|
|
word superior 234-1234
|
|
word superioridad 234-1234-1456
|
|
word siquiera 234-12345
|
|
word sitio 234-2345
|
|
word situación 234-2345-3456
|
|
word suyo 234-13456
|
|
|
|
# letter t
|
|
|
|
word también 2345-12
|
|
word todo 2345-145
|
|
word tenía 2345-1345
|
|
word tenido 2345-1345-145
|
|
word tenían 2345-1345-1345
|
|
word tiempo 2345-1234
|
|
word tampoco 2345-1234-14
|
|
sufword temporal 2345-1234-123
|
|
word tener 2345-1235
|
|
word tanto 2345-2345
|
|
contraction tv
|
|
word todavía 2345-1236
|
|
word tuyo 2345-13456
|
|
|
|
# letter v
|
|
|
|
word veces 1236-14
|
|
word vida 1236-145
|
|
prfword verdad 1236-1456
|
|
word vuestro 1236-1256
|
|
|
|
# letter x
|
|
|
|
sufword exterior 1346-1235
|
|
|
|
# u acute
|
|
|
|
word único 23456-14
|
|
word último 23456-123
|
|
|
|
# misc symbols
|
|
|
|
word arriba 16-1235
|
|
sufword anterior 146-1235
|
|
sufword anterioridad 146-1235-1456
|
|
word antes 146-234
|
|
word adelante 1456-123
|
|
word además 1456-134
|
|
word estaba 1246-12
|
|
word estaban 1246-12-1345
|
|
word estado 1246-145
|
|
word están 1246-1345
|
|
word estando 1246-1345-145
|
|
word estar 1246-1235
|
|
word está 1246-2345
|
|
word estuvo 1246-1236
|
|
sufword abajo 2-345
|
|
word breve 23-1236
|
|
word brevedad 23-1236-1456
|
|
word condición 25-145-3456
|
|
word conmigo 25-134
|
|
word consigo 25-234
|
|
word consecuencia 25-234-14
|
|
prfword consecuente 25-324-2345
|
|
word contigo 25-2345
|
|
prfword contra 25-356
|
|
word contrario 25-356-1235
|
|
word contrariedad 25-356-1235-1456
|
|
word encima 26-14
|
|
word entonces 26-2345
|
|
word principio 235-14
|
|
word principal 235-14-123
|
|
word propio 235-1234
|
|
sufword propiedad 235-1234-1456
|
|
word pronto 235-2345
|
|
sufword hacía 236-14
|
|
word hacían 236-14-1345
|
|
sufword hacer 236-1235
|
|
sufword inferior 35-124
|
|
sufword inferioridad 35-124-1456
|
|
word inmediato 35-134
|
|
sufword interior 35-1235
|
|
sufword interioridad 35-1235-1456
|
|
word interés 35-2345
|
|
word interesante 35-2345-2345
|
|
word trabajo 356-12
|
|
word trabajar 356-12-1235
|
|
word trabajador 356-12-156
|
|
word entretanto 356-2345
|
|
word numeroso 3456-234
|
|
word ahora 4-125
|
|
word mucho 4-134
|
|
word nosotros 45-1345
|
|
word vosotros 45-1236
|
|
word importancia 345-1234-14
|
|
word importante 345-1234-2345
|
|
word sus 345-234
|
|
|
|
# plurals, common derivatives and accentuations for every one of these words when needed
|
|
|
|
word absolutos 1-12-246
|
|
word absolutas 1-12-246
|
|
word absolutamente 1-12-134
|
|
word acciones 1-3456-1246
|
|
word accionando 1-3456-146-145
|
|
word bajos 12-245-246
|
|
word bajas 12-245-12346
|
|
word bajes 12-245-1246
|
|
word buenos 12-1345-246
|
|
word buenas 12-1345-12346
|
|
word buenamente 12-1345-134
|
|
word bastantes 12-2345-1246
|
|
word bondades 12-1456-1246
|
|
word cercas 14-14-12346
|
|
word ciegas 14-1245-12346
|
|
word ciegos 14-1245-246
|
|
word ciegamente 14-1245-134
|
|
word cierta 14-2345-1
|
|
word ciertas 14-2345-12346
|
|
prfword ciertos 14-2345-246
|
|
word ciertamente 14-2345-134
|
|
word concierto 25-14-2345
|
|
word cuales 14-123-1246
|
|
word cuál 5-14-123
|
|
word cuáles 5-14-123-1246
|
|
word cuánto 5-14-136
|
|
word cuántos 5-14-136-246
|
|
word cuántas 5-14-136-12346
|
|
word cuantas 14-136-12346
|
|
word cuantos 14-136-246
|
|
word cuya 14-13456-1
|
|
word cuyas 14-13456-12346
|
|
word cuyos 14-13456-246
|
|
word dónde 5-145-145
|
|
prfword diferencias 145-124-14-12346
|
|
prfword diferentes 145-124-2345-1246
|
|
word demasiados 145-134-145-246
|
|
word demasiadas 145-134-145-12346
|
|
word efectos 15-124-246
|
|
word efectivos 15-124-1236-246
|
|
word efectivas 15-124-1236-12346
|
|
word efectiva 15-124-1236-a
|
|
word efectivamente 15-124-1236-134
|
|
word ejemplos 15-245-246
|
|
word favores 124-1236-1246
|
|
word grandes 1245-145-1246
|
|
word hijos 125-245-246
|
|
word hijas 125-245-12346
|
|
word hermanos 125-134-246
|
|
word hermanas 125-134-12346
|
|
word hermana 125-134-1
|
|
word hermanastra 125-134-1-234-356-1
|
|
word hermanastro 125-134-1-234-356-135
|
|
word hermanastras 125-134-1-234-356-12346
|
|
word hermanastros 125-134-1-234-356-246
|
|
word historias 125-2345-12346
|
|
word prehistoria 235-125-2345
|
|
word prehistorias 235-125-2345-12346
|
|
word hombres 125-2456-1246
|
|
word juntos 245-2345-246
|
|
word juntas 245-2345-12346
|
|
word junta 245-2345-1
|
|
word conjunto 25-245-2345
|
|
word conjuntos 25-245-2345-246
|
|
word conjuntas 25-245-2345-12346
|
|
word conjunta 25-245-2345-1
|
|
word disjuntos 256-245-2345-246
|
|
word disjuntas 256-245-2345-12346
|
|
word algunas 13-1345-12346
|
|
word algunos 13-1345-246
|
|
word largos 123-1245-246
|
|
word largas 123-1245-12346
|
|
word madres 134-1-1246
|
|
prfword medias 134-145-12346
|
|
prfword medios 134-145-246
|
|
word misma 134-134-1
|
|
word mismas 134-134-12346
|
|
word mismos 134-134-246
|
|
word maneras 134-1345-12346
|
|
word sobremanera 23-134-1345
|
|
word necesarias 1345-14-1235-12346
|
|
word necesarios 1345-14-1235-246
|
|
word necesariamente 1345-14-1235-134
|
|
word naturalezas 1345-2345-1356-12346
|
|
word nuevas 1345-1236-12346
|
|
word nuevos 1345-1236-246
|
|
word nuevamente 1345-1236-134
|
|
word niña 1345-12456-1
|
|
word niñas 1345-12456-12346
|
|
word niños 1345-12456-246
|
|
word nuestras 1345-136-12346
|
|
word nuestros 1345-136-246
|
|
sufword oficios 135-124-246
|
|
sufword extraoficial 1346-2345-1235-1-135-124-123
|
|
word oportunas 135-1234-12346
|
|
word oportunos 135-1234-246
|
|
word inoportuno 35-135-1234
|
|
word inoportunos 35-135-1234-246
|
|
sufword inoportuna 35-135-1234-1
|
|
word inoportunas 35-135-1234-12346
|
|
sufword inoportunidad 35-135-1234-1456
|
|
word jóvenes 245-1236-1246
|
|
word otras 135-356-12346
|
|
word otros 135-356-246
|
|
word ocasiones 135-3456-1246
|
|
word ocasionalmente 135-3456-13-134
|
|
word padres 1234-1-1246
|
|
word compadre 36-1234-1-1246
|
|
word compadres 36-1234-1-1246
|
|
word poca 1234-14-1
|
|
word pocas 1234-14-12346
|
|
word pocos 1234-14-246
|
|
word personas 1234-1345-12346
|
|
word pequeña 1234-12456-1
|
|
word pequeñas 1234-12456-12346
|
|
word pequeños 1234-12456-246
|
|
word pequeñez 1234-12456-15-1356
|
|
word pequeñeces 1234-12456-15-14-1246
|
|
word pueden 1234-1256-1345
|
|
word puedes 1234-1256-234
|
|
prfword quién 5-12345-1345
|
|
word relaciones 1235-123-1246
|
|
word relacionando 1235-123-146-145
|
|
word relativa 1235-123-1236-1
|
|
word relativas 1235-123-1236-12346
|
|
word relativos 1235-123-1236-246
|
|
word relativamente 1235-123-1236-1-134
|
|
word razones 1235-1356-1246
|
|
prfword razon 1235-1356
|
|
prfword siguientes 234-1245-1246
|
|
word solos 234-123-246
|
|
word solas 234-123-12346
|
|
word sólamente 234-123-1-134
|
|
word sola 234-123-1
|
|
word sitios 234-2345-246
|
|
word situaciones 234-2345-3456-1246
|
|
word suyas 234-13456-12346
|
|
word suyos 234-13456-246
|
|
word todas 2345-145-12346
|
|
word todos 2345-145-246
|
|
word sobretodo 23-2345-145
|
|
word contenía 25-2345-1345
|
|
word contenían 25-2345-1345-1345
|
|
word entretenía 356-2345-1345
|
|
word entretenían 356-2345-1345-1345
|
|
word retenía 1235-2345-1345
|
|
word retenían 1235-2345-1345-1345
|
|
word entretiempo 356-2345-1234
|
|
word tiempos 2345-1234-246
|
|
word entretiempos 356-2345-1234-246
|
|
word sobretiempo 23-2345-1234
|
|
word contener 25-2345-1235
|
|
word entretener 356-2345-1235
|
|
word tuyas 2345-13456-12346
|
|
word tuyos 2345-13456-246
|
|
word convida 25-1236-145
|
|
word convidas 25-1236-145-12346
|
|
word vidas 1236-145-12346
|
|
word vuestras 1236-1256-12346
|
|
word vuestros 1236-1256-246
|
|
word única 23456-14-1
|
|
word únicamente 23456-14-1-134
|
|
word únicas 23456-14-12346
|
|
word únicos 23456-14-246
|
|
word última 23456-123-1
|
|
word últimamente 23456-123-1-134
|
|
word últimas 23456-123-12346
|
|
word últimos 23456-123-246
|
|
word brevemente 23-1236-134
|
|
word breves 23-1236-1246
|
|
word brevedades 23-1236-1456-1246
|
|
word condiciones 25-145-3456-1246
|
|
word condicionalmente 25-145-3456-13-134
|
|
word incondicionalmente 35-25-145-3456-13-134
|
|
word consecuencias 25-234-14-12346
|
|
word principios 235-14-246
|
|
word propia 235-1234-1
|
|
word propiamente 235-1234-1-134
|
|
word propias 235-1234-12346
|
|
word propios 235-1234-246
|
|
word inmediatamente 35-134-1-134
|
|
word inmediatas 35-134-12346
|
|
word inmediata 35-134-1
|
|
word inmediatos 35-134-246
|
|
word inmediatez 35-134-15-1356
|
|
word intereses 35-2345-1246
|
|
word interesantemente 35-2345-2345-134
|
|
word interesantes 35-2345-2345-1246
|
|
word trabajas 356-12-12346
|
|
word trabajos 356-12-246
|
|
word numerosos 3456-246-246
|
|
word numerosas 3456-246-12346
|
|
word muchas 4-134-12346
|
|
word muchos 4-134-246
|
|
word nosotras 45-1345-12346
|
|
word vosotras 45-1236-12346
|
|
word importancias 345-1234-14-12346
|
|
word importantes 345-1234-2345-1246
|
|
word quienes 12345-1345-1246
|
|
word quiénes 5-12345-1345-1246
|
|
word quién 5-12345-1345
|
|
|
|
# general syllabic contractions
|
|
|
|
# Some rules to some contractions, starting with the x (contraction for on) should always
|
|
# go after consonants, not vowels. For this a class definition is used to group all
|
|
# consonants. Potential back translation issue here.
|
|
|
|
attribute consonants BbCcDdFfGgHhJjKkLlMmNnPpQqRrSsTtVvWwXxYyZzÑñ
|
|
after consonants always on 1346
|
|
# same applies to ion
|
|
after consonants always ion 3456
|
|
# The u e contraction may never be used after the letter g, avoids confussion with u
|
|
# diaeresis which is part of many words. More classes.
|
|
attribute euvowels Gg
|
|
after euvowels always eu 15-136
|
|
after euvowels always EU 15-136
|
|
|
|
# only exception to this contraction, avoids confussion with the Spanish comma at end of words
|
|
|
|
partword ad 1456
|
|
partword al 13
|
|
partword an 146
|
|
partword ar 16
|
|
partword as 12346
|
|
partword em 126
|
|
partword es 1246
|
|
partword im 345
|
|
partword ion 3456
|
|
partword om 2456
|
|
partword or 156
|
|
partword os 246
|
|
partword qu 12345
|
|
partword ue 1256
|
|
|
|
# word endings, including plurals. Some are formed using ES, others just the letter S.
|
|
|
|
prfword acción 1-3456
|
|
endword acciónes 1-3456-1246
|
|
endword ando 146-145
|
|
endword andos 146-145-234
|
|
endword ección 15-3456
|
|
endword ecciones 15-3456-1246
|
|
endword endo 26-145
|
|
endword endos 26-145-234
|
|
endword icción 24-3456
|
|
endword icciones 24-3456-1246
|
|
endword iendo 256-145
|
|
endword ión 3456
|
|
endword iones 3456-1246
|
|
endword mente 134
|
|
endword mentes 134-234
|
|
endword que 12345
|
|
endword ques 12345-234
|
|
endword ucción 136-3456
|
|
endword ucciones 136-3456-1246
|
|
|
|
# Word beginnings may not be followed by vowels (to avoid confussion with punctuation
|
|
# signs), including accented ones. More classes follow.
|
|
attribute vowels AaEeIiOoUuÁáÉéÍíÓóÚúÜü
|
|
|
|
# Setting the exceptions, though note that this will not work when back translating but it
|
|
# willb e needed in a few cases.
|
|
before vowels begword com 14-2456
|
|
before vowels begword con 14-1346
|
|
before vowels begword dis 145-24-234
|
|
before vowels begword entre 35-356-15
|
|
before vowels begword ex 15-1346
|
|
before vowels begword inter 35-2345-236
|
|
before vowels begword pre 1234-1235-15
|
|
before vowels begword re 1235-15
|
|
before vowels begword sobre 234-135-23-15
|
|
|
|
# word beginnings
|
|
|
|
begword com 36
|
|
begword con 25
|
|
begword dis 256
|
|
begword entre 356
|
|
begword ex 1346
|
|
begword inter 13456
|
|
begword pre 235
|
|
begword re 1235
|
|
begword sobre 23
|
|
|
|
# The consonant which follows a word beginning may not be contracted. Not many exceptions so setting them one by one.
|
|
|
|
begword compr 36-1234-1235
|
|
begword contr 25-2345-1235
|
|
begword consu 25-234-136
|
|
begword congr 25-1245-1235
|
|
begword concr 25-14-1235
|
|
begword condr 25-145-1235
|
|
begword disgr 245-1245-1235
|
|
begword distr 256-2345-1235
|
|
begword entrecr 356-14-1235
|
|
begword extr 1346-3245-1235
|
|
begword expr 1346-1234-1235
|
|
begword interpr 13456-1234-1235
|
|
begword intergr 13456-1245-1235
|
|
begword pregr 235-1245-1235
|
|
begword prepr 235-1234-1235
|
|
begword retr 1235-2345-1235
|
|
begword repr 1235-1234-1235
|
|
begword regr 1235-1245-1235
|
|
begword recr 1235-14-1235
|
|
begword rebr 1235-12-1235
|
|
begword redr 1235-145-1235
|
|
begword sobrepr 23-1234-1235
|
|
|
|
# A word beginning should be followed by at least a consonant and a vowel or a consonant
|
|
# and a stenographic contraction. Some words are thus entirely uncontracted. Again, very
|
|
# few ones in the language.
|
|
|
|
word red 1235-15-145
|
|
word rey 1235-15-13456
|
|
word res 1235-15-234
|
|
word sobren 234-135-23-25
|
|
word extra 1346-2345-1235-1
|
|
word sobres 234-135-23-1246
|
|
|
|
# exceptions to the entire table, words which may never be contracted or brailled
|
|
# differently to avoid confussion with other contracted words
|
|
word vodca 1236-135-14-145-1
|
|
word entrenen 15-1345-356-26-26
|
|
word as 1-234
|
|
word os 135-234
|
|
word ion 24-135-1345
|
|
|
|
# Whenever some partword contractions overlap, such as ad and dr, in a single word
|
|
# (ladrillo) the dr contraction is preferred. Setting the only six cases where this can
|
|
# occur.
|
|
|
|
always adr 1-256
|
|
always uen 136-26
|
|
always quem 12345-126
|
|
always uem 136-126
|
|
always uer 136-236
|
|
always ues 136-1246
|
|
|
|
# some cases for word endings (prioritization)
|
|
|
|
endword emando 126-146-145
|
|
endword emandos 126-146-145-234
|
|
endword imando 345-146-145
|
|
endword imandos 345-146-145-234
|
|
endword emente 15-134
|
|
endword ementes 15-134-234
|
|
endword imente 24-134
|
|
endword imentes 24-134-234
|