diff --git a/Rules/Languages/ca/ClearSpeak_Rules.yaml b/Rules/Languages/ca/ClearSpeak_Rules.yaml new file mode 100644 index 000000000..fb1cc763d --- /dev/null +++ b/Rules/Languages/ca/ClearSpeak_Rules.yaml @@ -0,0 +1,766 @@ +--- +- name: pause + tag: "!*" + match: "not(self::m:math) and not($MatchingPause) and @data-intent-property[contains(., ':pause')]" + replace: + - with: + variables: [MatchingPause: "true()"] + replace: + - test: + - if: "contains(@data-intent-property, ':pause-long')" + then: [pause: long] + - else_if: "contains(@data-intent-property, ':pause-short')" + then: [pause: short] + else: [pause: medium] + - x: "." + +- name: intent-literal-silent + tag: [mi, mo, mn] + match: "contains(@data-intent-property, ':silent:')" + # say nothing + replace: [] + +# handling of negative numbers that come from 'intent' is hard -- we do something that is close to right here +- name: intent-literal-negative-number + tag: mn + match: "starts-with(text(), '-')" + replace: + - t: "menys" # phrase(10 'minus' 4 equals 6) + - x: "translate(text(), '-_', '')" + +- name: default + tag: square-root + match: "." + replace: + - test: + if: "$Verbosity!='Terse'" + then: [ot: ""] # Catalan elision cannot be split across speech tokens + - test: + if: "$ClearSpeak_Roots = 'PosNegSqRoot' or $ClearSpeak_Roots = 'PosNegSqRootEnd'" + then: + - bookmark: "*[1]/@id" + - test: + if: "parent::*[self::m:minus and count(*)=1]" + then: [t: "negativa"] # phrase(minus 4 is a 'negative' number) + else: [t: "positiva"] # phrase(10 is a 'positive' number) + - t: "arrel quadrada" # phrase(8 is the 'square root' of 64) + - test: + if: "$Verbosity!='Terse'" + then: [t: "de"] # phrase(the square root 'of' 5) + else: [pause: short] + - x: "*[1]" + - test: + - if: "$ClearSpeak_Roots = 'RootEnd' or $ClearSpeak_Roots = 'PosNegSqRootEnd'" + then: + - pause: short + - t: "fi de l'arrel" # phrase(the square root of x 'end root') + - pause: medium + - else_if: "IsNode(*[1], 'simple')" + then: [pause: short] + else: [pause: long] + +- name: default + tag: root + match: "." + replace: + - test: + if: "$Verbosity!='Terse'" + then: [ot: ""] # Catalan elision cannot be split across speech tokens + - test: + if: "$ClearSpeak_Roots = 'PosNegSqRoot' or $ClearSpeak_Roots = 'PosNegSqRootEnd'" + then: + - test: + if: "parent::*[(self::m:minus or self::m:plus) and count(*)=1]" + then: [bookmark: "parent/@id"] + - test: + if: "parent::m:minus" + then: [t: "negativa"] # phrase(minus 6 is a 'negative' number) + else: [t: "positiva"] # phrase(10 is a 'positive' number) + - test: + if: "*[2][self::m:mn and not(contains(., '.'))]" + then_test: + - if: "*[2][.='2']" + then: [t: "arrel quadrada"] # phrase(5 is the 'square root' of 25) + - else_if: "*[2][.='3']" + then: [t: "arrel cúbica"] # phrase(5 is the 'cube root' of 625) + - else: [x: "ToOrdinal(*[2])", t: "arrel"] # phrase(the square 'root' of 25) + else: + - test: + if: "*[2][self::m:mi][string-length(.)=1]" + then: + - x: "*[2]" + - pronounce: [text: "-th", ipa: "θ", sapi5: "th", eloquence: "T"] + else: [x: "*[2]"] + - t: "arrel" # phrase(the square 'root' of 36) + - test: + if: "$Verbosity!='Terse'" + then: [t: "de"] # phrase(the square root 'of' 36) + - x: "*[1]" + - test: + if: "$ClearSpeak_Roots = 'RootEnd' or $ClearSpeak_Roots = 'PosNegSqRootEnd'" + then: + - pause: short + - t: "fi de l'arrel" # phrase(start the fifth root of x 'end root') + - pause: medium + else_test: + if: "IsNode(*[1], 'simple')" + then: [pause: short] + else: [pause: long] + +# The 'negative' rule interacts with the msqrt/mroot rules as those might pick off this case ("the negative square root of x") +- name: negative_and_positive + tag: [plus, minus] + match: "count(*)=1 and contains(@data-intent-property, ':prefix:')" + replace: + - test: + if: + - "*[1][self::m:square-root or self::m:root] and" + - "($ClearSpeak_Roots = 'PosNegSqRoot' or $ClearSpeak_Roots = 'PosNegSqRootEnd')" + then: [t: ""] + else: + - bookmark: "@id" + - test: + if: "self::m:minus" + then: [t: "negativa"] # phrase(minus 5 is a 'negative' number) + else: [t: "positiva"] # phrase(7 is a 'positive' number) + - x: "*[1]" + +# Fraction rules +# Mixed numbers mostly "just work" because the invisible char reads as "and" and other parts read properly on their own + +# Units (e.g., meters per second) +- name: per-fraction + tag: fraction + match: + - "$ClearSpeak_Fractions='Per' or" + - "(BaseNode(*[1])[contains(@data-intent-property, ':unit') or" + - " ( self::m:mrow and count(*)=3 and" # maybe a bit paranoid checking the structure... + - " *[1][self::m:mn] and *[2][.='\u2062'] and BaseNode(*[3])[contains(@data-intent-property, ':unit')] ) ] and" + - " BaseNode(*[2])[contains(@data-intent-property, ':unit')] )" + replace: + - x: "*[1]" + - t: "per" # phrase('5 meters 'per' second) + - x: "*[2]" + +- name: common-fraction + tag: fraction + match: + - "($ClearSpeak_Fractions='Auto' or $ClearSpeak_Fractions='Ordinal' or $ClearSpeak_Fractions='EndFrac') and" + - "*[1][self::m:mn][not(contains(., $DecimalSeparators)) and ($ClearSpeak_Fractions='Ordinal' or text()<20)] and" + - "*[2][self::m:mn][not(contains(., $DecimalSeparators)) and ($ClearSpeak_Fractions='Ordinal' or (2<= text() and text()<=10))]" + variables: [IsPlural: "*[1]!=1"] + replace: + - x: "*[1]" + - x: "ToOrdinal(*[2], true(), $IsPlural)" # extra args specify fractional ordinal and whether it is plural + +- name: fraction-over-simple + tag: fraction + match: + - "($ClearSpeak_Fractions='Over' or $ClearSpeak_Fractions='FracOver' or $ClearSpeak_Fractions='OverEndFrac') or" + - "( not($ClearSpeak_Fractions='General' or $ClearSpeak_Fractions='GeneralEndFrac') and" + - " (IsNode(*[1],'simple') and IsNode(*[2],'simple')) )" # simple fraction in ClearSpeak spec + replace: + - test: + if: "$ClearSpeak_Fractions='FracOver'" + then: + - test: + if: "$Verbosity!='Terse'" + then: [ot: "la"] + - t: "fracció" # phrase(the 'fraction' with 3 over 4) + - x: "*[1]" + - t: "sobre" # phrase(the fraction 3 'over' 4) + - x: "*[2]" + - test: + # very ugly!!! -- replicate nested ordinal fraction as they are an exception + if: "$ClearSpeak_Fractions='OverEndFrac' or ($ClearSpeak_Fractions='EndFrac' and not( ($ClearSpeak_Fractions='Auto' or $ClearSpeak_Fractions='Ordinal' or $ClearSpeak_Fractions='EndFrac') and *[1][*[1][self::m:mn][not(contains(., '.')) and ($ClearSpeak_Fractions='Ordinal' or text()<20)] and *[2][self::m:mn][not(contains(., '.')) and ($ClearSpeak_Fractions='Ordinal' or (2<= text() and text()<=10))] ] and *[2][*[1][self::m:mn][not(contains(., '.')) and ($ClearSpeak_Fractions='Ordinal' or text()<20)] and *[2][self::m:mn][not(contains(., '.')) and ($ClearSpeak_Fractions='Ordinal' or (2<= text() and text()<=10))] ] ) )" + then: + - pause: short + - t: "fi de la fracció" # phrase(7 over 8 'end fraction') + - pause: short + +- # fraction with text or numbers followed by text in both numerator and denominator + name: fraction-over-text + tag: fraction + match: + - "not($ClearSpeak_Fractions='General' or $ClearSpeak_Fractions='GeneralEndFrac') and" + - "( " + - " ((*[1][self::m:mi or self::m:mtext][string-length(.)>1]) or " # fractions with text + - " (*[1][self::m:mrow][count(*)=3][ " + - " *[1][self::m:mn] and " + - " *[2][self::m:mo][.='⁢'] and " # invisible times + - " *[3][self::m:mi or self::m:mtext][string-length(.)>1] ]) ) and" + - " ((*[2][self::m:mi or self::m:mtext][string-length(.)>1]) or " # fractions with text + - " (*[2][self::m:mrow][count(*)=3][ " + - " *[1][self::m:mn] and " + - " *[2][self::m:mo][.='⁢'] and " # invisible times + - " *[3][self::m:mi or self::m:mtext][string-length(.)>1] ]) )" + - ")" + replace: + - x: "*[1]" + - t: "sobre" # phrase(the fraction 3 'over' 4) + - x: "*[2]" + - test: + if: "$ClearSpeak_Fractions='EndFrac' or $ClearSpeak_Fractions='OverEndFrac'" + then: + - pause: short + - t: "fi de la fracció" # phrase(7 over 8 'end fraction') + - pause: short + +- name: default + tag: fraction + match: "." + replace: + - ot: "la" # phrase(5 is 'the' square toot of 25) + - t: "fracció amb numerador" # phrase(the 'fraction with numerator' 6) + - test: + if: "not(IsNode(*[1], 'simple'))" + then: [pause: medium] + - x: "*[1]" + - pause: medium + - t: "i denominador" # phrase(the fraction with numerator 5 'and denominator' 8) + - x: "*[2]" + - pause: long + - test: + if: "$ClearSpeak_Fractions='EndFrac' or $ClearSpeak_Fractions='GeneralEndFrac'" + then: + - pause: short + - t: "fi de la fracció" # phrase(the fraction with 3 over 4 'end fraction') + - pause: short + +# rules for functions raised to a power +# these could have been written on 'mrow' but putting them on msup seems more specific +# to see if it is a function, we look right to see if the following sibling is apply-function +- name: ClearSpeak-function-inverse + tag: inverse-function + match: "." + replace: + - test: + if: "$ClearSpeak_Trig = 'TrigInverse'" + then: [x: "*[1]", bookmark: "*[2]/@id", t: "inversa"] # phrase(8 over 5 is the 'inverse' of 5 over 8) + else_test: + if: "$ClearSpeak_Trig = 'ArcTrig'" + then: [bookmark: "*[2]/@id", t: "arc", x: "*[1]"] # phrase(the 'arc' of a circle) + else: [bookmark: "*[2]/@id", t: "inversa", x: "*[1]"] # default/Auto # phrase(8 over 5 is the 'inverse' of 5 over 8) + +- name: function-squared-or-cubed + tag: power + match: + - "*[2][self::m:mn][.='2' or .='3'] and" + - "following-sibling::*[1][self::m:mo][.='⁡']" #invisible function apply + replace: + - x: "*[1]" + - bookmark: "*[2]/@id" + - test: + if: "*[2][.='2']" + then: [t: "al quadrat"] # phrase(25 equals 5 'squared') + else: [t: "al cub"] # phrase(625 equals 5 'cubed') + +- name: function-power + tag: power + match: + - "following-sibling::*[1][self::m:mo][.='⁡']" #invisible function apply + replace: + - test: + if: "$Verbosity!='Terse'" + then: [ot: "la"] # phrase('the' third power of 2) + - bookmark: "*[2]/@id" + - test: + if: "*[2][self::m:mn][not(contains(., '.'))]" + then: [x: "ToOrdinal(*[2])"] + else: [x: "*[2]"] + - t: "potència de" # phrase(the third 'power of' 6) + - pause: short + - x: "*[1]" + +- name: AfterPower-nested + tag: power + match: # directly a superscript or an mrow that contains a superscript + - "$ClearSpeak_Exponents = 'AfterPower' and" + - "*[2][self::m:power or self::m:power or self::m:mrow[m:power]]" + replace: + - x: "*[1]" + - t: "elevat a l'exponent" # phrase(5 'raised to the exponent' x plus 1) + - pause: short + - x: "*[2]" + - pause: short + - t: "fi de l'exponent" # phrase(5 raised to the exponent x plus 1 'end exponent') + +- name: AfterPower-default + tag: power + match: "$ClearSpeak_Exponents = 'AfterPower'" + replace: + - x: "*[1]" + - t: "elevat a la potència" # phrase(x is 'raised to the power' 4) + - x: "*[2]" + - pause: short + +- name: squared + tag: power + match: "*[2][self::m:mn][.='2'] and $ClearSpeak_Exponents = 'Auto'" + replace: + - x: "*[1]" + - bookmark: "*[2]/@id" + - t: "al quadrat" # phrase(7 'squared' equals 49) + +- name: cubed + tag: power + match: "*[2][self::m:mn][.='3'] and $ClearSpeak_Exponents = 'Auto'" + replace: + - x: "*[1]" + - bookmark: "*[2]/@id" + - t: "al cub" # phrase(5 'cubed' equals 125) + +- name: simple-integer + tag: power + match: "*[2][self::m:mn][not(contains(., '.'))]" + replace: + - x: "*[1]" + - t: "a la" # phrase(2 raised 'to the' power 7) + - test: + if: "*[2][.>0]" + then: [x: "ToOrdinal(*[2])"] + else: [x: "*[2]"] + - test: + if: "$ClearSpeak_Exponents != 'Ordinal'" + then: [t: "potència"] # phrase(2 raised to the 'power' 7) + +- name: simple-negative-integer + tag: power + match: + - "*[2][self::m:minus and count(*)=1 and " + - " *[1][self::m:mn][not(contains(., '.'))]" + - " ]" + replace: + - x: "*[1]" + - t: "a la" # phrase(2 raised 'to the' power 7) + - x: "*[2]" + - test: + if: "$ClearSpeak_Exponents != 'Ordinal'" + then: [t: "potència"] # phrase(2 raised to the 'power' 7) + +- name: simple-var + tag: power + match: "*[2][self::m:mi][string-length(.)=1]" + replace: + - x: "*[1]" + - t: "a la" # phrase(3 raised 'to the' power 7) + - x: "*[2]" + - pronounce: [text: "-th", ipa: "θ", sapi5: "th", eloquence: "T"] + - test: + if: "$ClearSpeak_Exponents != 'Ordinal'" + then: [t: "potència"] # phrase(2 raised to the 'power' 7) + +# match nested exponent, where the nested exponent is has the power 2 or 3 (n below) +# [xxx]^n, - [xxx]^n, [xxx] var^n, -[xxx] var^n +# where xxx is a number or common fraction (or a var in the first two forms) +# short of creating a specialized built-in function, I don't see a way to eliminate a lot of repetition in the matches +# also really bad is that the test of a common fraction is replicated here (four times!) +# Note: the ClearSpeak doc doesn't say these only apply when the pref is "Auto", +# but the test cases all fall back to "raised to the exponent" when not "Auto" +# If these are allowed for non-Auto values, then you end up with "...power power...". +- # [xxx]^n + name: nested-squared-or-cubed + tag: power + match: + - "$ClearSpeak_Exponents = 'Auto' and" + - "*[2][self::m:power][" + - " *[2][self::m:mn][.='2' or .='3'] and " # exp is 2 or 3 + # base is mn, mi, common fraction ([xxx] case) + - " *[1][self::m:mn or self::m:mi or " + - " self::m:fraction[*[1][self::m:mn][not(contains(., '.')) and text()<20] and" + - " *[2][self::m:mn][not(contains(., '.')) and 2<= text() and text()<=10]]" + - " ]" + - " ]" + replace: + - x: "*[1]" + - t: "elevat a la" # phrase(x 'raised to the' second power) + - x: "*[2]" + - t: "potència" # phrase(x raised to the second 'power') + +- # - [xxx]^n + name: nested-negative-squared-or-cubed + tag: power + match: + - "$ClearSpeak_Exponents = 'Auto' and" + - " *[2][self::m:minus and count(*)=1 and " + - " *[1]/*[1][self::m:power][" + - " *[2][self::m:mn][.='2' or .='3'] and " # exp is 2 or 3" + # base is mn, mi, common fraction ([xxx] case) + - " *[1][self::m:mn or self::m:mi or " + - " self::m:fraction[*[1][self::m:mn][not(contains(., '.')) and text()<20] and" + - " *[2][self::m:mn][not(contains(., '.')) and 2<= text() and text()<=10]]" + - " ]" + - " ]" + - " ]" + replace: + - x: "*[1]" + - t: "elevat a la" # phrase(x 'raised to the' second power) + - x: "*[2]" + - t: "potència" # phrase(x raised to the second 'power') + +- # [xxx] var^n + name: nested-var-squared-or-cubed + tag: power + match: + - "$ClearSpeak_Exponents = 'Auto' and" + - " *[2][self::m:mrow][count(*)=3][ " + - " *[3][self::m:power][" + - " *[2][self::m:mn][.='2' or .='3'] and " # exp is 2 or 3 + - " *[1][self::m:mi]" + - " ] and " + - " *[2][self::m:mo][.='⁢'] and " # invisible times + # base is mn, or common fraction ([xxx] case) + - " *[1][self::m:mn or " + - " self::m:fraction[*[1][self::m:mn][not(contains(., '.')) and text()<20] and" + - " *[2][self::m:mn][not(contains(., '.')) and 2<= text() and text()<=10]]" + - " ]" + - " ]" + replace: + - x: "*[1]" + - t: "elevat a la" # phrase(x 'raised to the' second power) + - x: "*[2]" + - t: "potència" # phrase(x raised to the second 'power') + +- # -[xxx] var^n + name: nested-negative-var-squared-or-cubed + tag: power + match: + - "$ClearSpeak_Exponents = 'Auto' and" + - " *[2][self::m:mrow][count(*)=3][ " + - " *[3][self::m:power][" + - " *[2][self::m:mn][.='2' or .='3'] and " # exp is 2 or 3 + - " *[1][self::m:mi]" + - " ] and " + - " *[2][self::m:mo][.='⁢'] and " # invisible times + - " *[1][self::m:minus and count(*)=1 and " + # base is mn, or common fraction ([xxx] case) + - " *[1][self::m:mn or " + - " self::m:fraction[*[1][self::m:mn][not(contains(., '.')) and text()<20] and" + - " *[2][self::m:mn][not(contains(., '.')) and 2<= text() and text()<=10]]" + - " ]" + - " ]" + - " ]" + replace: + - x: "*[1]" + - t: "elevat a la" # phrase(x 'raised to the' second power) + - x: "*[2]" + - t: "potència" # phrase(x raised to the second 'power') + +- name: default-exponent-power + tag: power + match: # directly a superscript or an mrow that contains a superscript + - "*[2][self::m:power or self::m:power or self::m:mrow[m:power]]" + replace: + - x: "*[1]" + - t: "elevat a l'exponent" # phrase(x is 'raised to the exponent') + - pause: short + - x: "*[2]" + - pause: short + - t: "fi de l'exponent" # phrase(and now 'end exponent' has been reached) + +- name: default + tag: power + match: "." + replace: + - x: "*[1]" + - t: "elevat a la" # phrase(x 'raised to the' second power) + - x: "*[2]" + - t: "potència" # phrase(x raised to the second 'power') + +# +# Some rules on mrows +# +- # the inference rules lump absolute value and cardinality together, so those rules are implemented here + name: ClearSpeak-absolute-value + tag: absolute-value + match: "." + variables: [WordToSay: "IfThenElse($ClearSpeak_AbsoluteValue = 'Cardinality', 'cardinality', 'absolute value')"] + replace: + - test: + if: "$Verbosity!='Terse'" + then: [ot: "el"] # phrase('the' absolute value of 25) + - x: "$WordToSay" + - t: "de" # phrase(the absolute value 'of' 25) + - x: "*[1]" + - test: + if: "$ClearSpeak_AbsoluteValue = 'AbsEnd'" + then: + - pause: short + - t: "fi del" # phrase('end' absolute value) + - x: "$WordToSay" + - pause: short + +- name: set + tag: set + match: "." + replace: + - test: + - if: "count(*)=0" + then: [t: "el conjunt buit"] # phrase('the empty set') + - else_if: "count(*)=2" + then: + - test: + if: "$Verbosity!='Terse'" + then: [t: "el"] # phrase('the' empty set) + - t: "conjunt buit" # phrase(the 'empty set') + - else_if: "count(*[1]/*)=3 and *[1]/*[2][self::m:mo][.=':' or .='|' or .='∣']" + then: + - test: + if: "$Verbosity!='Terse'" + then: [t: "el"] # phrase('the' set of all integers) + - t: "conjunt de" # phrase(this is a 'set of' numbers) + - test: + if: "$ClearSpeak_Sets != 'woAll'" + then: [t: "tots els"] # phrase(the set of 'all' integers) + - x: "*[1]/*[1]" + - t: "tal que" # phrase(the set S 'such that' x is less than y) + - x: "*[1]/*[3]" + else: + - test: + if: "$ClearSpeak_Sets != 'SilentBracket'" + then: + - test: + if: "$Verbosity!='Terse'" + then: [t: "el"] # phrase('the' set of integers) + - t: "conjunt" # phrase(this is a 'set' of integers) + - x: "*[1]" + +- # intervals are controlled by a ClearSpeak Preference -- parens/brackets don't have to match, so we avoid IsBracketed + # alternatively, we could have four (or ten) rules, but there is a lot of duplication if we do that + # this one rule handles all ten cases listed as part $ClearSpeak_Paren = 'Interval' + # note that *[2] is an mrow with X, ",", Y, so getting X or Y is a double index + name: ClearSpeak-intervals # avoid overriding with default "intervals" name + variables: + - is_intervals_start_infinity: "*[1][self::m:minus and count(*)=1 and *[1][.='∞']]" + - is_intervals_end_infinity: "*[2][.='∞'or (self::m:plus and count(*)=1 and *[1][.='∞'])]" + tag: [open-interval, open-closed-interval, closed-interval, closed-open-interval] + match: "." + replace: + - t: "l'interval des de" # phrase('the interval from' a to b) + - x: "*[1]" + - t: "fins a" # phrase(the interval from a 'to' b) + - x: "*[2]" + - pause: short + - test: + if: "not($is_intervals_start_infinity)" + then: + - test: + if: "starts-with(name(.), 'open')" + then: [t: "sense"] # phrase(the interval from a to b 'not' including b) + - t: "incloent" # phrase(the interval from a to b not 'including' b) + - x: "*[1]" + # logic to deal with [not] arg #1 + - test: + if: "not($is_intervals_start_infinity or $is_intervals_end_infinity)" + then_test: + - if: "name(.)='open-interval'" + then: [t: "o"] # phrase(the interval including a 'or' b ) + - else_if: "name(.)='closed-interval'" + then: [t: "i"] # phrase(the interval including a 'and' b) + else: [t: "però"] # phrase(the interval including a 'but' not b) + # some ugly logic dealing with connectives: or, but, but, and (cleaner to be part of next clause?) + - test: + if: "not($is_intervals_end_infinity)" + then: + - test: + # there is some asymmetry to the test because of the and/or/but logic above + if: "not( name(.)='open-interval' or name(.)='closed-interval' ) or $is_intervals_start_infinity" + then: + - test: + if: "name(.) = 'open-interval' or name(.) = 'closed-open-interval'" + then: [t: "sense"] # phrase(the interval 'not' including a) + - t: "incloent" # phrase(the interval not 'including' a) + - x: "*[2]" + + # onto the [not] [including]... part +- name: binomial-frac-vector + tag: matrix + match: + - "$ClearSpeak_Matrix = 'Combinatorics' and " + - "count(*[1]/*)=1 and count(*)=2" + replace: + - x: "*[1]/*[1]/*" # mtable/mtr/mtd + - t: "sobre" # phrase(the binomial coefficient n 'choose' m) + - x: "*[2]/*[1]/*" + +- name: ClearSpeak-default + tag: [mtr, mlabeledtr] + match: "parent::m:matrix or parent::m:determinant" + variables: [NextLineIsContinuedRow: "following-sibling::*[1][contains(@data-intent-property, ':continued-row:')]"] + replace: + - pause: medium + - t: "fila" # phrase(the first 'row' of a matrix) + - x: "count(preceding-sibling::*)+1" + - test: + if: ".[self::m:mlabeledtr]" + then: + - t: "amb etiqueta" # phrase(the line 'with label' first equation) + - x: "*[1]/*" + - pause: short + - pause: medium + - test: + if: ".[self::m:mlabeledtr]" + then: [x: "*[position()>1]"] + else: [x: "*"] + +- # handle both log and ln + name: ClearSpeak-log + tag: mi + match: ".='log' or .='ln'" + replace: + - bookmark: "@id" + - test: + if: "$Verbosity!='Terse' and not(IsNode(following-sibling::*[2],'simple'))" + then: [ot: "el"] # phrase('the' square root of 25) + - test: + - if: ".='log'" + then: [t: "log"] + - else_if: "$ClearSpeak_Log = 'LnAsNaturalLog'" + then: [t: "logaritme natural"] # phrase(the 'natural log' of x) + else: [spell: "'ln'"] + +- name: ClearSpeak-multi-line + tag: [piecewise, system-of-equations, lines] # these are ignored in favor of the ClearSpeak prefs + match: "." + variables: + # Wikipedia has some tables where all the entire first column is empty (e.g., https://en.wikipedia.org/wiki/List_of_trigonometric_identities) + - LineCount: "count(*[not(contains(@data-intent-property, ':continued-row:'))])" + - NextLineIsContinuedRow: "false()" # default value + - IsColumnSilent: true() + replace: + - test: + - if: "$ClearSpeak_MultiLineOverview = 'Auto'" + then: + - x: "$LineCount" + - test: + - if: "($ClearSpeak_MultiLineLabel = 'Auto' and self::m:piecewise) or $ClearSpeak_MultiLineLabel = 'Case'" + then: [t: "cas"] # phrase(this is the first 'case' of three cases) + - else_if: "$ClearSpeak_MultiLineLabel = 'Auto' or $ClearSpeak_MultiLineLabel = 'Line' or $ClearSpeak_MultiLineLabel = 'None'" # already dealt with Auto/Case + then: [t: "línia"] # phrase(this is the first 'line' of three lines) + - else_if: "$ClearSpeak_MultiLineLabel = 'Constraint'" + then: [t: "restricció"] # phrase(this is the first 'constraint' of three constraints) + - else_if: "$ClearSpeak_MultiLineLabel = 'Equation'" + then: [t: "equació"] # phrase(this is the first 'equation' of three equations) + - else_if: "$ClearSpeak_MultiLineLabel = 'Row'" + then: [t: "fila"] # phrase(this is the first 'row' of three rows) + - else_if: "$ClearSpeak_MultiLineLabel = 'Step'" + then: [t: "pas"] # phrase(this is the first 'step' of three steps) + # else 'None -- don't say anything' + - test: + - if: "$LineCount != 1" + then: [ct: "s"] # plural # phrase(shown by the letter 's') + - pause: short + - x: "*" + - pause: long + +- name: ClearSpeak-default-multiline + tag: [mtr, mlabeledtr] + match: "parent::m:piecewise or parent::m:system-of-equations or parent::m:lines" + variables: [NextLineIsContinuedRow: "following-sibling::*[1][contains(@data-intent-property, ':continued-row:')]"] + replace: + - test: + if: "not($LineCount=1 or $ClearSpeak_MultiLineLabel='None' or contains(@data-intent-property, ':continued-row:'))" + then: + - pause: medium + - test: + - if: "($ClearSpeak_MultiLineLabel = 'Auto' and parent::m:piecewise) or $ClearSpeak_MultiLineLabel = 'Case'" + then: [t: "cas"] # phrase(in this 'case' x is not equal to y) + - else_if: "$ClearSpeak_MultiLineLabel = 'Auto' or $ClearSpeak_MultiLineLabel = 'Line'" # already dealt with Auto/Case + then: [t: "línia"] # phrase(the straight 'line' between x and y) + - else_if: "$ClearSpeak_MultiLineLabel = 'Constraint'" + then: [t: "restricció"] # phrase(there is a 'constraint' on possible values) + - else_if: "$ClearSpeak_MultiLineLabel = 'Equation'" + then: [t: "equació"] # phrase(the 'equation' pi r squared gives the area of a circle) + - else_if: "$ClearSpeak_MultiLineLabel = 'Row'" + then: [t: "fila"] # phrase(the values on the top 'row' are relevant) + - else_if: "$ClearSpeak_MultiLineLabel = 'Step'" + then: [t: "pas"] # phrase(this is a 'step' by step process) + # else 'None -- don't say anything' + - x: "count(preceding-sibling::*[not(contains(@data-intent-property, ':continued-row:'))]) + 1" + - test: + if: "self::m:mlabeledtr" + then: + - t: "amb etiqueta" # phrase(the diagram is complete 'with label') + - x: "*[1]/*" + - test: + - if: "$ClearSpeak_MultiLineLabel='None'" + then: [pause: xlong] # need a very long pause with no line labels + - else_if: "not(contains(@data-intent-property, ':continued-row:'))" + then: [pause: medium] + - test: + if: "self::m:mlabeledtr" + then: [x: "*[position()>1]"] + else: [x: "*"] + +- name: ClearSpeak_Functions_None + tag: mo + match: + - ".='⁡' and $ClearSpeak_Functions = 'None' and" + - "not(preceding-sibling::*[1][IsInDefinition(., 'TrigFunctionNames')])" # Functions=None does not apply to "trig" functions + replace: + test: + if: "$ClearSpeak_ImpliedTimes = 'None'" + then: [t: ""] + else: [t: "per"] # phrase(5 'times' 3 equals 15) + +- name: no-times + tag: mo + match: + # Note: this rule is also part of the paren rule so that the parens speak + - ".='⁢' and $ClearSpeak_ImpliedTimes = 'None'" + replace: + - t: "" + +- name: ClearSpeak-times + tag: mo + match: + # say "times" when invisible times is followed by parens or a superscript that has a base with parens or "|"s + # if we aren't sure if it is times or not, don't say anything + - ".='⁢' and (not(@data-function-guess) or $ClearSpeak_Functions = 'None') and" + - "not(ancestor-or-self::*[contains(@data-intent-property, ':literal:')]) and (" + - " $ClearSpeak_ImpliedTimes = 'MoreImpliedTimes'" + - " or " + - " following-sibling::*[1][" + - " IsBracketed(., '(', ')') or IsBracketed(., '[', ']') or IsBracketed(., '|', '|') or " + # most of these aren't mentioned in ClearSpeak spec, but are (I think) expected uses of "times" + - " self::m:matrix or self::m:determinant or self::m:binomial or" # followed by parens + - " self::m:square-root or self::m:msqrt or self::m:root or self::m:mroot or" + - " (self::m:msub or self::m:msubsup or" + - " ((self::m:msup or self::m:power) and not(IsNode(*[1], 'leaf') and *[2][self::m:mn and (.=2 or '.=3')]))) and " # followed by msup, etc. + - " (*[1][self::m:mrow[IsBracketed(., '(', ')') or IsBracketed(., '[', ']') or IsBracketed(., '|', '|')] or " + - " self::m:matrix or self::m:determinant] or" # base has parens + - " not(IsNode(*[2], 'simple')) or " + - " (self::m:msubsup and not(IsNode(*[3], 'simple')))" + - " )" + - " ]" + # other possibility is the preceding element has parens (but not the following) + # this is not mentioned in the ClearSpeak rules or examples but seems like it should say "times". E.g, |x| y + - " or " + - " preceding-sibling::*[1][" + - " IsBracketed(., '(', ')') or IsBracketed(., '[', ']') or IsBracketed(., '|', '|')]" # followed by parens + - " )" + replace: + - t: "per" # phrase(5 'times' 3 equals 15) + +- name: no-say-parens + tag: mrow + match: + - "parent::*[not(self::m:msup) and not(self::m:msub) and not(self::m:msubsup) and not(self::m:power) and" + - " not(self::m:math) ] and " # rule out [x] standing alone + - "( IsBracketed(., '(', ')') or IsBracketed(., '[', ']') ) and " + - "not( $ClearSpeak_Functions = 'None' and " + - " (preceding-sibling::*[1][.='⁡'] or following-sibling::*[1][.='⁡']) ) and " + - "not( $ClearSpeak_ImpliedTimes = 'None' and " + - " (preceding-sibling::*[1][.='⁢'] or following-sibling::*[1][.='⁢']) ) and " + - "IsNode(*[2], 'simple') and" + - "not(preceding-sibling::*[1][.='\u2062' and @data-function-guess]) and" + - "not(ancestor-or-self::*[contains(@data-intent-property, ':literal:')])" + # missing clause: 'a positive fraction that is spoken as an ordinal + # (either by the Ordinal preference or by the default rules)' + replace: + - x: "*[2]" + +- include: "SharedRules/geometry.yaml" +- include: "SharedRules/linear-algebra.yaml" +- include: "SharedRules/general.yaml" +- include: "SharedRules/default.yaml" diff --git a/Rules/Languages/ca/SharedRules/calculus.yaml b/Rules/Languages/ca/SharedRules/calculus.yaml new file mode 100644 index 000000000..105c6b459 --- /dev/null +++ b/Rules/Languages/ca/SharedRules/calculus.yaml @@ -0,0 +1,56 @@ +--- + +- name: laplacian + tag: laplacian + match: "count(*) <= 1" # can be on ∇^2 or on enclosing mrow + replace: + - t: "laplacià" # phrase('laplacian' of x) -- "LahPlahsian" sounds better with speech engines tested + - test: + if: "count(*) = 1" + then: + - test: + if: "$Verbosity!='Terse'" + then: [t: "de"] # phrase(function 'of' one variable) -- note OneCore voices spell out "div" + - test: + if: "not(IsNode(*[1], 'leaf'))" + then: [pause: short] + - x: "*[1]" + +- name: divergence + tag: divergence + match: "count(*) = 1" + replace: + - test: + if: "$Verbosity='Terse'" + then: [t: "div"] # phrase('div' is short for divergence) -- note OneCore voices spell out "div" + else: [t: "divergència de"] # phrase('divergence of' this function from the mean) + - test: + if: "not(IsNode(*[1], 'leaf'))" + then: [pause: short] + - x: "*[1]" + +- name: curl + tag: curl + match: "count(*) = 1" + replace: + - t: "rotacional" # phrase(the 'curl of' a field) + - test: + if: "$Verbosity!='Terse'" + then: [t: "de"] # phrase(function 'of' one variable) -- note OneCore voices spell out "div" + - test: + if: "not(IsNode(*[1], 'leaf'))" + then: [pause: short] + - x: "*[1]" + +- name: gradient + tag: gradient + match: "count(*) = 1" + replace: + - test: + if: "$Verbosity!='Terse'" + then: [t: "gradient de"] # phrase(the hill has a 'gradient of' five percent) + else: [t: "del"] # phrase(the delete key is labeled 'del') + - test: + if: "not(IsNode(*[1], 'leaf'))" + then: [pause: short] + - x: "*[1]" diff --git a/Rules/Languages/ca/SharedRules/default.yaml b/Rules/Languages/ca/SharedRules/default.yaml new file mode 100644 index 000000000..17a5f6ab6 --- /dev/null +++ b/Rules/Languages/ca/SharedRules/default.yaml @@ -0,0 +1,750 @@ +--- +#default rules shared among several speech rules +- name: default + tag: math + match: "." + replace: + - with: + variables: + - ClearSpeak_Fractions: "IfThenElse($Verbosity='Verbose' and $ClearSpeak_Fractions='Auto', 'EndFrac', $ClearSpeak_Fractions)" + - ClearSpeak_AbsoluteValue: "IfThenElse($Verbosity='Verbose' and $ClearSpeak_AbsoluteValue='Auto', 'AbsEnd', $ClearSpeak_AbsoluteValue)" + - ClearSpeak_Roots: "IfThenElse($Verbosity='Verbose' and $ClearSpeak_Roots='Auto', 'RootEnd', $ClearSpeak_Roots)" + - ClearSpeak_Matrix: "IfThenElse($Verbosity='Verbose' and $ClearSpeak_Matrix='Auto', 'EndMatrix', $ClearSpeak_Matrix)" + + - MatchingPause: false() + # should be set at mtable level, but unknown intents make that impossible to know + - IsColumnSilent: false() + replace: + - test: + if: "$MathRate = 100" + then: [x: "*"] + else: + - rate: + value: "$MathRate" + replace: [x: "*"] + +- name: empty-mrow + tag: mrow + match: "not(*)" + replace: + - t: " " # say nothing -- placeholder + +- name: default + tag: mrow + match: "." + replace: + - insert: + nodes: "*" + replace: [pause: auto] + +- name: default + tag: mn + match: "." + replace: + - bookmark: "@id" + - test: + - if: "@data-roman-numeral" + then: [spell: "text()", pause: "short"] + else: [x: "translate(., $BlockSeparators, '')"] # remove digit block separators + +- name: default + tag: [mo, mtext] + match: "." + replace: + - bookmark: "@id" + - x: "text()" + +- name: default + tag: mi + match: "." + replace: + - bookmark: "@id" + - test: + - if: "string-length(.) = 1 and text() != '_'" # need unicode.tdl to kick in for single letter tokens + then: [x: "text()"] + - else_if: "@data-chem-element > 0 or @data-roman-numeral" # NavMode=Character needs this + then: [spell: "text()", pause: "short"] + else: [x: "translate(., '-_\u00A0', ' ')"] # from intent literals or from extra spaces added (which get deleted) + +- name: default + tag: ms + match: "." + replace: + - t: "la cadena" # phrase('the string' is long) + - pause: short + - x: "text()" + +- name: default + tag: mstyle + match: "." + replace: [x: "*"] + + +- name: literal-simple + # don't include nested fractions. E.g, fraction a plus b over c + 1 end fraction" is ambiguous + # by simplistic SimpleSpeak's rules "b over c" is a fraction, but if we say nested fractions + # are never simple, then any 'over' applies only to enclosing "fraction...end fraction" pair. + tag: mfrac + match: + - "(IsNode(*[1],'leaf') and IsNode(*[2],'leaf')) and" + - "not(ancestor::*[name() != 'mrow'][1]/self::m:fraction)" # FIX: can't test for mrow -- what should be used??? + replace: + - x: "*[1]" + - t: "sobre" # phrase("the fraction x 'over' y") + - x: "*[2]" + - pause: short + +- name: literal-default + tag: mfrac + match: "." + replace: + - t: "inici" # phrase("'start' fraction x over y end of fraction") + - pause: short + - x: "*[1]" + - test: + if: "not(IsNode(*[1],'leaf'))" + then: [pause: short] + - t: "sobre" # phrase("the fraction x 'over' y") + - test: + if: "not(IsNode(*[2],'leaf'))" + then: [pause: short] + - x: "*[2]" + - pause: short + - test: + if: "$Impairment = 'Blindness'" + then: [t: "fi"] # phrase("start of fraction x over y 'end over'") + - pause: medium + + +# not sure what really should be said for these since we should not assume they are square roots +- name: literal-default + tag: msqrt + match: "." + replace: + - test: + if: "$Verbosity!='Terse'" + then: [ot: "el"] # phrase("'the' root of x") + - t: "arrel" + - test: + if: "$Verbosity!='Terse'" + then: [t: "de"] # phrase("the root 'of' x") + - x: "*[1]" + - pause: short + - test: + if: "not(IsNode(*[1],'leaf')) or $Impairment = 'Blindness'" + then: [t: "fi de l'arrel", pause: medium] # phrase("root of x 'end root symbol'") + +# not sure what really should be said for these since we should not assume they are square roots +- name: literal-default + tag: mroot + match: "." + replace: + - test: + if: "$Verbosity!='Terse'" + then: [ot: "el"] # phrase("'the' root of x") + - t: "arrel amb índex" # phrase("the 'root with index' 3 of 5") + - x: "*[1]" + - pause: short + - t: "de" # phrase("the root 'of' x") + - x: "*[2]" + - pause: short + - test: + if: "not(IsNode(*[2],'leaf'))" + then: [t: "fi del símbol d'arrel"] # phrase("root of x 'end root symbol'") + + +- name: simple-sub + tag: indexed-by + # invisible comma -- want "x 1 when subscript is an integer" + match: "count(*)=2 and $Verbosity='Terse' and *[2][self::m:mn and translate(., '.,', '')=.]" + replace: + - x: "*[1]" + - x: "*[2]" + - pause: short + +- name: no-end-sub + tag: indexed-by + match: "count(*)=2 and *[2][self::m:mrow and *[2][.='⁣']]" + replace: + - x: "*[1]" + - t: "subíndex" # phrase(x 'sub' 2) + - x: "*[2]" + - pause: short + +- name: power-indexed-by + tag: power-indexed-by + match: "." + replace: + - x: "*[1]" + - t: "subíndex" # phrase(x 'sub' 2) + - x: "*[2]" + - pause: short + +# otherwise let definitions/default infix handle it + +- name: literal + tag: msub + match: "." + replace: + - x: "*[1]" + - test: + if: "not($Verbosity='Terse' and *[2][self::m:mn and not(translate(., '.,', '')!=.)])" # just say "x 1" for terse vs "x sub 1" + then: [t: "subíndex"] # phrase(x 'sub' 2) + - x: "*[2]" + + +- name: literal + tag: [msup, msubsup] + match: "." + replace: + - x: "*[1]" + - test: + if: "name(.)='msubsup'" + then: + - t: "subíndex" # phrase(x 'sub' 2) + - x: "*[2]" + - test: + if: "*[last()][translate(., '′″‴⁗†‡°*', '')='']" + then: [x: "*[last()]"] + else_test: + if: "ancestor-or-self::*[contains(@data-intent-property, ':literal:')]" # FIX: is this test necessary? + then: + - t: "superíndex" # phrase(x 'super' 2) + - x: "*[last()]" + - test: + if: "not(IsNode(*[last()], 'simple')) or $Impairment = 'Blindness'" + then: [t: "fi del superíndex"] # phrase(x super 2 'end of super') + else: + - test: + if: "$Verbosity='Verbose'" + then: [t: "superíndex"] + else: [t: "superíndex"] + - x: "*[last()]" + - test: + if: "$Verbosity='Verbose'" + then: [t: "fi del superíndex"] + else: [t: "fi del superíndex"] + +- name: default + tag: munder + match: "." + replace: + - test: + if: "not(IsNode(*[1], 'leaf'))" + then: [t: "quantitat"] # phrase(phrase(x 'quantity' with y above it) + - x: "*[1]" + - t: "amb" # phrase(x 'with' z below it) + - x: "*[2]" + - t: "a sota" # phrase(x with z 'below' it) + +# FIX: this only works for up to four dots (which is realistically all we need) +- name: dot-over + tag: modified-variable + match: "*[1][self::m:mi] and (*[2][translate(., '.', '')=''])" + replace: + - x: "*[1]" + - x: "IfThenElse(string-length(*[2])=1, 'dot', + IfThenElse(string-length(*[2])=2, 'double dot', + IfThenElse(string-length(*[2])=3, 'triple dot', 'quadruple dot') + ))" + - pause: short + +# FIX: the 'translate' list is a little different from 'modified-variable', so we also include 'mover' (unify?) +- name: diacriticals + tag: [mover, modified-variable] + match: "*[1][self::m:mi] and *[2][translate(., '\u0306\u030c.\u00A8\u02D9\u20DB\u20DC`^ˇ~→¯_', '')='']" + replace: + - x: "*[1]" + - x: "*[2]" + - pause: short + +- name: default + tag: mover + match: "." + replace: + - test: + if: "not(IsNode(*[1], 'leaf'))" + then: [t: "quantitat"] # phrase(phrase(the 'quantity' x plus 1 with y above it) + - x: "*[1]" + - t: "amb" # phrase(x modified 'with' y above it) + - x: "*[2]" + - t: "damunt" # phrase(x modified 'with' y above it) + +- name: default + tag: munderover + match: "." + replace: + - test: + if: "not(IsNode(*[1], 'leaf'))" + then: [t: "quantitat"] # phrase(the 'quantity' x plus 1 with y above it) + - x: "*[1]" + - t: "amb" # phrase(x modified 'with' y above it) + - x: "*[2]" + - t: "a sota i" # phrase(x modified with y 'below and' y above it) + - x: "*[3]" + - t: "damunt" # phrase(x modified with y 'above' it) + +- name: default + # Here we support up to 2 prescripts and up to 4 postscripts -- that should cover all reasonable cases + # If there are more, we just dump them out without regard to sup/super :-( + # FIX: this could use more special cases + # There is (currently) no way in MathCAT to deal with n-ary arguments other than "all" ('*') or an individual entry ('*[1]'). + tag: mmultiscripts + match: "." + variables: + # computing the number of postscripts is messy because of being optionally present -- we use "mod" to get the count right + - Prescripts: "m:mprescripts/following-sibling::*" + - NumChildren: "count(*)" # need to stash this since the count is wrong inside '*[...]' below + - Postscripts: "*[position()>1 and position() < (last() + ($NumChildren mod 2) -count($Prescripts))]" + replace: + - x: "*[1]" + - test: + if: "$Prescripts" # more common case + then: + - with: + variables: + - PreSubscript: "IfThenElse($Verbosity='Verbose', 'subíndex previ', 'sub previ')" + - PreSuperscript: "IfThenElse($Verbosity='Verbose', 'superíndex previ', 'super previ')" + replace: + - test: # only bother announcing if there is more than one prescript + if: "count($Prescripts) > 2" + then: + - t: "amb" # phrase(substitute x 'with' y) + - x: "count($Prescripts) div 2" + - t: "índexs previs" # phrase(in this equation certain 'prescripts' apply) + - pause: short + - test: + if: "not($Prescripts[1][self::m:none])" + then: + - x: "$PreSubscript" + - x: "$Prescripts[1]" + - test: + if: "not($Prescripts[1][self::m:none] or $Prescripts[2][self::m:none])" + then: [t: "i"] # phrase(10 is greater than 8 'and' less than 15) + - test: + if: "not($Prescripts[2][self::m:none])" + then: + - x: "$PreSuperscript" + - x: "$Prescripts[2]" + - pause: short + - test: + if: "count($Prescripts) > 2" # more common case + then: + - test: + if: "not($Prescripts[3][self::m:none])" + then: + - x: "$PreSubscript" + - x: "$Prescripts[3]" + - test: + if: "not($Prescripts[3][self::m:none] or $Prescripts[4][self::m:none])" + then: [t: "i"] # phrase(10 is grater than 8 'and' less than 15) + - test: + if: "not($Prescripts[4][self::m:none])" + then: + - x: "$PreSuperscript" + - x: "$Prescripts[4]" + - test: + if: "count($Prescripts) > 4" # give up and just dump them out so at least the content is there + then: + - t: "i índexs previs alterns" # phrase(in this case there are values 'and alternating prescripts') + - x: "$Prescripts[position() > 4]" + - t: "fi dels índexs previs" # phrase(This is where 'end prescripts' occurs) + - test: + if: "$Postscripts" + then: + - with: + variables: + - PostSubscript: "IfThenElse($Verbosity='Verbose', 'subíndex', 'sub')" + - PostSuperscript: "IfThenElse($Verbosity='Verbose', 'superíndex', 'super')" + replace: + - test: # only bother announcing if there is more than one postscript + if: "count($Postscripts) > 2" + then: + - test: + if: "$Prescripts" + then: [t: "i"] # phrase(10 is greater than 8 'and' less than 15) + - t: "amb" # phrase(substitute x 'with' y) + - x: "count($Postscripts) div 2" + - t: "índexs posteriors" # phrase(this material includes several 'postscripts') + - pause: short + - test: + if: "not($Postscripts[1][self::m:none])" + then: + - x: "$PostSubscript" + - x: "$Postscripts[1]" + - test: + if: "not($Postscripts[1][self::m:none] or $Postscripts[2][self::m:none])" + then: [t: "i"] # phrase(10 is greater than 8 'and' less than 15) + - test: + if: "not($Postscripts[2][self::m:none])" + then: + - x: "$PostSuperscript" + - x: "$Postscripts[2]" + - test: + if: "count($Postscripts) > 2" + then: + - test: + if: "not($Postscripts[3][self::m:none])" + then: + - x: "$PostSubscript" + - x: "$Postscripts[3]" + - test: + if: "not($Postscripts[3][self::m:none] or $Postscripts[4][self::m:none])" + then: [t: "i"] # phrase(10 is greater than 8 'and' less than 15) + - test: + if: "not($Postscripts[4][self::m:none])" + then: + - x: "$PostSuperscript" + - x: "$Postscripts[4]" + - test: + if: "count($Postscripts) > 4" + then: + - test: + if: "not($Postscripts[5][self::m:none])" + then: + - x: "$PostSubscript" + - x: "$Postscripts[5]" + - test: + if: "not($Postscripts[5][self::m:none] or $Postscripts[6][self::m:none])" + then: [t: "i"] # phrase(10 is greater than 8 'and' less than 15) + - test: + if: "not($Postscripts[6][self::m:none])" + then: + - x: "$PostSuperscript" + - x: "$Postscripts[6]" + - test: + if: "count($Postscripts) > 6" + then: + - test: + if: "not($Postscripts[7][self::m:none])" + then: + - x: "$PostSubscript" + - x: "$Postscripts[7]" + - test: + if: "not($Postscripts[7][self::m:none] or $Postscripts[8][self::m:none])" + then: [t: "i"] # phrase(10 is less than 15 'and' greater than 5) + - test: + if: "not($Postscripts[8][self::m:none])" + then: + - x: "$PostSuperscript" + - x: "$Postscripts[8]" + - test: + if: "count($Postscripts) > 8" # give up and just dump them out so at least the content is there + then: + - t: "i índexs alterns" # phrase(this situation involves complexities 'and alternating scripts') + - x: "$Postscripts[position() > 8]" + - t: "fi dels índexs" # phrase(At this point 'end scripts' occurs) + +- name: default + tag: [mtable, array] + variables: + - IsColumnSilent: "false()" + - NumColumns: "CountTableColumns(.)" + - NumRows: "CountTableRows(.)" + match: "." + replace: + - t: "taula amb" # phrase(the 'table with' 3 rows) + - x: "$NumRows" + - test: + if: "$NumRows=1" + then: [t: "fila"] # phrase(the table with 1 'row') + else: [t: "files"] # phrase(the table with 3 'rows') + - t: "i" # phrase(the table with 3 rows 'and' 4 columns) + - x: "$NumColumns" + - test: + if: "$NumColumns=1" + then: [t: "columna"] # phrase(the table with 3 rows and 1 'column') + else: [t: "columnes"] # phrase(the table with 3 rows and 4 'columns') + - pause: long + - x: "*" + +- name: default + # callers/context should do that. + # this may get called from navigation -- in that case, there is no context to speak the row #, so don't do it + tag: [mtr, mlabeledtr] + match: "." + replace: + - pause: medium + - t: "fila" # phrase(the first 'row' of a matrix) + - x: "count(preceding-sibling::*)+1" + - test: + if: "self::m:mlabeledtr" + then: + - t: "amb etiqueta" # phrase(the line 'with label' first equation) + - x: "*[1]/*" + - pause: short + - pause: medium + - test: + if: "self::m:mlabeledtr" + then: [x: "*[position()>1]"] + else: [x: "*"] + +- name: default + tag: mtd + match: "." + replace: + - test: + # ClearSpeak normally speaks "column 1" even though it says the row number, which is a waste... + # The following is commented out but the count(...)!=0 probably belongs in other rule sets + # if: not($IsColumnSilent) and ($ClearSpeak_Matrix = 'SpeakColNum' or count(preceding-sibling::*) != 0) + if: "not($IsColumnSilent)" + then: + - t: "columna" # phrase(the first 'column' of the matrix) + - x: "count(preceding-sibling::*)+IfThenElse(parent::m:mlabeledtr, 0, 1)" + - pause: medium + - x: "*" + - test: + # short pause after each element; medium pause if last element in a row; long pause for last element in matrix + - if: count(following-sibling::*) > 0 + then: [pause: short] + - else_if: count(../following-sibling::*) > 0 + then: [pause: medium] + else: [pause: long] + + +- name: empty-box + # The ordering below is the order in which words come out when there is more than one value + # Note: @notation can contain more than one value + tag: menclose + match: "@notation='box' and *[self::m:mtext and .=' ']" + replace: + - t: "requadre buit" # phrase(the 'empty box' contains no values) + +- name: default + # The ordering below is the order in which words come out when there is more than one value + # Note: @notation can contain more than one value + tag: menclose + match: "." + replace: + - test: + if: ".[contains(concat(' ', normalize-space(@notation), ' '), ' box ')]" + then: [t: "requadre", pause: short] # phrase(the 'box' around the expression) + - test: + if: ".[contains(@notation,'roundedbox')]" + then: [t: "requadre arrodonit", pause: short] # phrase(the 'round box' around the expression) + - test: + if: ".[contains(@notation,'circle')]" + then: [t: "cercle", pause: short] # phrase(the 'circle' around the expression) + - test: + if: ".[ contains(concat(' ', normalize-space(@notation), ' '), ' left ') or contains(concat(' ', normalize-space(@notation), ' '), ' right ') or contains(@notation,'top') or contains(@notation,'bottom') ]" + then: + - t: "línia sobre" # phrase(draw a straight 'line' on the page) + - test: + if: ".[contains(concat(' ', normalize-space(@notation), ' '), ' left ')]" + then: [t: "esquerra", pause: short] # phrase(line on 'left' of the expression) + - test: + if: ".[contains(concat(' ', normalize-space(@notation), ' '), ' right ')]" + then: [t: "dreta", pause: short] # phrase(line on 'right' of the expression) + - test: + if: ".[contains(@notation,'top')]" + then: [t: "part superior", pause: short] # phrase(line on 'top' of the expression) + - test: + if: ".[contains(@notation,'bottom')]" + then: [t: "part inferior", pause: short] # phrase(line on the 'bottom' of the expression) + - test: + if: ".[ contains(@notation,'updiagonalstrike') or contains(@notation,'downdiagonalstrike') or contains(@notation,'verticalstrike') or contains(@notation,'horizontalstrike') ]" + then: + - test: + if: ".[contains(@notation,'updiagonalstrike') and contains(@notation,'downdiagonalstrike')]" + then: [spell: "'x'", pause: short] # seems better to say 'x cross out' than 'up diagonal, down diagonal cross out' + else: + - test: + if: ".[contains(@notation,'updiagonalstrike')]" + then: [t: "diagonal ascendent", pause: short] # phrase(the line runs 'up diagonal') + - test: + if: ".[contains(@notation,'downdiagonalstrike')]" + then: [t: "diagonal descendent", pause: short] # phrase(the line runs 'down diagonal') + - test: + if: ".[contains(@notation,'verticalstrike')]" + then: [t: "vertical", pause: short] # phrase(the line is 'vertical') + - test: + if: ".[contains(@notation,'horizontalstrike')]" + then: [t: "horitzontal", pause: short] # phrase(the line is 'horizontal') + - t: "ratllat" # phrase(please 'cross out' the incorrect answer) + - pause: short + - test: + if: ".[contains(@notation,'uparrow')]" + then: [t: "fletxa amunt", pause: short] # phrase(direction is shown by the 'up arrow') + - test: + if: ".[contains(concat(' ', normalize-space(@notation), ' '), ' downarrow ')]" + then: [t: "fletxa avall", pause: short] # phrase(the trend is shown by the 'down arrow') + - test: + if: ".[contains(@notation,'leftarrow')]" + then: [t: "fletxa esquerra", pause: short] # phrase(the 'left arrow' indicates going back) + - test: + if: ".[contains(concat(' ', normalize-space(@notation), ' '), ' rightarrow ')]" + then: [t: "fletxa dreta", pause: short] # phrase(the 'right arrow' indicates moving forward) + - test: + if: ".[contains(@notation,'northeastarrow')]" + then: [t: "fletxa nord-est", pause: short] # phrase(direction is indicated by the 'northeast arrow') + - test: + if: ".[contains(concat(' ', normalize-space(@notation), ' '), ' southeastarrow ')]" + then: [t: "fletxa sud-est", pause: short] # phrase(direction is shown by the 'southeast arrow') + - test: + if: ".[contains(concat(' ', normalize-space(@notation), ' '), ' southwestarrow ')]" + then: [t: "fletxa sud-oest", pause: short] # phrase(direction is shown by the 'southwest arrow') + - test: + if: ".[contains(@notation,'northwestarrow')]" + then: [t: "fletxa nord-oest", pause: short] # phrase(direction is shown by the 'northwest arrow') + - test: + if: ".[contains(@notation,'updownarrow')]" + then: [t: "fletxa vertical de doble punta", pause: short] # phrase(upward movement is indicated by the 'double ended vertical arrow') + - test: + if: ".[contains(@notation,'leftrightarrow')]" + then: [t: "fletxa horitzontal de doble punta", pause: short] # phrase(progress is indicated by the 'double ended horizontal arrow') + - test: + if: ".[contains(@notation,'northeastsouthwestarrow')]" + then: [t: "fletxa diagonal ascendent de doble punta", pause: short] # phrase(trend is indicated by the 'double ended up diagonal arrow') + - test: + if: ".[contains(@notation,'northwestsoutheastarrow')]" + then: [t: "fletxa diagonal descendent de doble punta", pause: short] # phrase(trend is indicated by the 'double ended down diagonal arrow') + - test: + if: ".[contains(@notation,'actuarial')]" + then: [t: "símbol actuarial", pause: short] # phrase(the 'actuarial symbol' represents a specific quantity) + - test: + if: ".[contains(@notation,'madrub')]" + then: [t: "símbol factorial àrab", pause: short] # phrase(the 'arabic factorial symbol' represents a factorial operation) + - test: + if: ".[contains(@notation,'phasorangle')]" + then: [t: "angle fasorial", pause: short] # phrase(the 'phasor angle' is used to measure electrical current) + - test: + if: ".[contains(@notation,'longdiv') or not(@notation) or normalize-space(@notation) ='']" # default + then: [t: "símbol de divisió llarga", pause: short] # phrase(the 'long division symbol' indicates a long division calculation) + - test: + if: ".[contains(@notation,'radical')]" + then: [t: "arrel quadrada", pause: short] # phrase(5 is the 'square root' of 25) + - t: "tancament" # phrase(parentheses are 'enclosing' part of the equation) + - test: + if: "*[self::m:mtext and .=' ']" + then: [t: "espai"] # otherwise there is complete silence # phrase(there is a 'space' between the words) + else: [x: "*"] + - test: + if: "$Impairment = 'Blindness' and ( $SpeechStyle != 'SimpleSpeak' or not(IsNode(*[1], 'leaf')) )" + then: [t: "fi del tancament"] # phrase(reached the 'end enclosure' point) + - pause: short + +- name: semantics + tag: "semantics" + match: "*[@encoding='MathML-Presentation']" + replace: + - x: "*[@encoding='MathML-Presentation']/*[1]" + +- name: semantics-default + tag: "semantics" + match: . + replace: + - x: "*[1]" + +- name: apply-function + tag: "apply-function" + match: . + replace: + - x: "*[1]" + - t: "de" # phrase(the sine 'of' x ) + - pause: auto + - x: "*[position() > 1]" + +# Here are the intent hints that need to be handled: 'prefix' | 'infix' | 'postfix' | 'function' | 'silent' +- name: silent-intent + # uncaught intent -- the args have been inserted in the order of speech + tag: "*" + match: "count(*)>0 and (contains(@data-intent-property, ':silent:') or translate(name(.), '-_', '')='')" + replace: + - x: "*" + - test: + if: "IsNode(., '2D')" + then: [pause: short] + else: [pause: auto] + +- name: nofix-intent + # uncaught intent -- the args have been inserted in the order of speech + tag: "*" + match: "contains(@data-intent-property, ':nofix:') " + replace: + - x: "SpeakIntentName(name(.), $Verbosity, 'nofix')" + +- name: prefix-intent + # uncaught intent -- the args have been inserted in the order of speech + tag: "*" + match: "count(*)>0 and contains(@data-intent-property, ':prefix:')" + replace: + - x: "SpeakIntentName(name(.), $Verbosity, 'prefix')" + - x: "*" + - test: + if: "not( IsBracketed(., '', '') or IsNode(*[last()], 'simple') )" + then: [x: "GetBracketingIntentName(name(.), $Verbosity, 'prefix', 'end')"] + - test: + if: "IsNode(., '2D')" + then: [pause: short] + else: [pause: auto] + +- name: postfix-intent + # uncaught intent -- the args have been inserted in the order of speech + tag: "*" + match: "count(*)>0 and contains(@data-intent-property, ':postfix:')" + replace: + - test: + if: "$Impairment = 'Blindness' and not( IsBracketed(., '', '') or IsNode(*[1], 'simple') )" + then: [x: "GetBracketingIntentName(name(.), $Verbosity, 'postfix', 'start')"] + - x: "*" + - x: "SpeakIntentName(name(.), $Verbosity, 'postfix')" + +- name: infix-intent + # uncaught intent -- the args have been inserted in the order of speech + tag: "*" + match: "count(*)>0 and contains(@data-intent-property, ':infix:')" + replace: + - test: + if: "$Impairment = 'Blindness' and not( IsBracketed(., '', '') or IsNode(*[1], 'simple') )" + then: [x: "GetBracketingIntentName(name(.), $Verbosity, 'infix', 'start')"] + - test: + if: "count(*) = 1" # in cases such as continued-row, plus/minus might have just one child + then: + - x: "SpeakIntentName(name(.), $Verbosity, 'infix')" + - pause: auto + - x: "*[1]" + else: + - insert: + nodes: "*" + replace: [x: "SpeakIntentName(name(.), $Verbosity, 'infix')", pause: auto] + - test: + if: "$Impairment = 'Blindness' and not( IsBracketed(., '', '') or IsNode(*[last()], 'simple') )" + then: [x: "GetBracketingIntentName(name(.), $Verbosity, 'infix', 'end')"] + - test: + if: "IsNode(., '2D')" # add (probably) a slightly longer pause if this came from a 2D node + then: [pause: short] + else: [pause: auto] + +- name: function-intent + # uncaught intent -- speak as foo of arg1 comma arg2 .... The MathML spec requires arguments to functions + tag: "*" + match: "count(*)>0" + replace: + - x: "SpeakIntentName(name(.), $Verbosity, 'function')" + - test: + if: "$Verbosity != 'Terse' and not(contains(@data-intent-property, ':literal:')) and + not(count(*)=2 and (IsInDefinition(*[1], 'TrigFunctionNames') or IsInDefinition(name(.), 'TerseFunctionNames')) and IsNode(*[2], 'simple'))" + then: [t: "de", pause: auto] # phrase(sine 'of' 5) + - insert: + nodes: "*" + replace: + - test: + if: "not(contains(@data-intent-property, ':literal:'))" + then: [x: "','"] + - pause: auto + - test: + # speak "end ..." if not bracketed or last child is not simple and not last node + if: "$Impairment = 'Blindness' and not(*[last()][IsBracketed(., '', '') or IsNode(., 'simple')] )" + then: [x: "GetBracketingIntentName(name(.), $Verbosity, 'function', 'end')"] + - test: + if: "IsNode(., '2D')" + then: [pause: short] + else: [pause: auto] + + +- name: default-text + # unknown leaf -- just speak the text -- could be a literal intent + tag: "*" + match: "." + replace: + - x: "translate(name(), '-_', ' ')" diff --git a/Rules/Languages/ca/SharedRules/general.yaml b/Rules/Languages/ca/SharedRules/general.yaml new file mode 100644 index 000000000..6eec7bc64 --- /dev/null +++ b/Rules/Languages/ca/SharedRules/general.yaml @@ -0,0 +1,1088 @@ +--- + +# number-sets are a little messy in that the base was converted to a number-set, so we have to match that (simple) case last +- name: pos-neg-number-sets + tag: number-sets + match: "count(*)=2 and *[2][.='+' or .='-']" + replace: + - test: + if: "$Verbosity!='Terse'" + then: + - t: "la" # phrase('the' square root of 25 equals 5) + - bookmark: "*[2]/@id" + - test: + - if: "*[2][.='+']" + then: [t: "positiu"] # phrase(set of all 'positive' integers less than 10) + else: [t: "negatiu"] # phrase(set of all 'negative' integers less than minus 10) + - bookmark: "*[1]/@id" + - test: + - if: "*[1][.='ℂ']" + then: [t: "nombres complexos"] # phrase('complex numbers' consist of two parts) + - else_if: "*[1][.='ℕ']" + then: [t: "nombres naturals"] # phrase('natural numbers' are numbers from 1 to infinity) + - else_if: "*[1][.='ℚ']" + then: [t: "nombres racionals"] # phrase('rational numbers' are the fraction of 2 integers) + - else_if: "*[1][.='ℝ']" + then: [t: "nombres reals"] # phrase('real numbers' can be both positive and negative) + - else_if: "*[1][.='ℤ']" + then: [t: "enters"] # phrase(positive 'integers' are natural numbers above 0) + else: [x: "*[1][text()]"] # shouldn't happen + +- name: dimension-number-sets + + # should be single digit integer at this point (e.g, R^3) + tag: number-sets + match: "count(*)=2" + replace: + - bookmark: "*[1]/@id" + - test: + - if: "*[1][.='ℂ']" + then: [t: "C"] # phrase(the letter 'C' used to represent complex number) + - else_if: "*[1][.='ℕ']" + then: [t: "N"] # phrase(the letter 'N' may represent natural numbers) + - else_if: "*[1][.='ℚ']" + then: [t: "Q"] # phrase(the letter 'Q' may represent rational numbers) + - else_if: "*[1][.='ℝ']" + then: [t: "R"] # phrase(the letter 'R' may represent real numbers) + - else_if: "*[1][.='ℤ']" + then: [t: "Z"] # phrase(the letter 'Z' may represent integers) + else: [x: "*[1][text()]"] # shouldn't happen + - bookmark: "*[2]/@id" + - x: "*[2]" + +- name: simple-number-sets + tag: number-sets + match: "count(*)=0" + replace: + - bookmark: "@id" + - test: + - if: ".='ℂ'" + then: [t: "els nombres complexos"] # phrase('the complex numbers' include 2 parts) + - else_if: ".='ℕ'" + then: [t: "els nombres naturals"] # phrase('the natural numbers' begin at 1) + - else_if: ".='ℚ'" + then: [t: "els nombres racionals"] # phrase('the rational numbers' are the fraction of 2 integers) + - else_if: ".='ℝ'" + then: [t: "els nombres reals"] # phrase('the real numbers' can be both positive and negative) + - else_if: ".='ℤ'" + then: [t: "els enters"] # phrase('the integers' are natural numbers above 0) + else: [x: "text()"] # shouldn't happen + +- name: real-part + tag: real-part + match: "." + replace: + - bookmark: "@id" + - t: "la part real" # phrase('the real part' of a complex number does not include the imaginary part) + +- name: imaginary-part + tag: imaginary-part + match: "." + replace: + - bookmark: "@id" + - t: "la part imaginària" # phrase('the imaginary part' is part of a complex number) + +# rules on scripted vertical bars ('evaluated at') +- name: evaluated-at-2 + tag: evaluate + match: "count(*)=2" + replace: + - x: "*[1]" + - pause: auto + - t: "avaluat a" # phrase(results were 'evaluated at' a given point) + - pause: auto + - x: "*[2]" + +- name: evaluated-at-3 + tag: evaluate + match: "count(*)=3" + replace: + - x: "*[1]" + - pause: auto + - t: "avaluat a" # phrase(results were 'evaluated at' this point) + - pause: auto + - x: "*[3]" + - t: "menys la mateixa expressió avaluada a" # phrase(this result is 'minus the same expression evaluated at' an earlier point) + - x: "*[2]" + +- name: permutation + # Not a default because the order of the args is reversed + tag: pochhammer + match: "count(*)=2 and contains(@data-intent-property, ':infix:')" + replace: + - x: "*[2]" + - t: "permutacions de" # phrase(the solution involves several 'permutations of' values) + - x: "*[1]" + +- name: intervals + tag: [open-interval, open-closed-interval, closed-interval, closed-open-interval] + match: "count(*)=2" + replace: + - test: + if: "$Verbosity!='Terse'" + then: + - t: "la" # phrase('the' square root of 25 equals 5) + - x: "translate(name(.),'-', ' ')" + - test: + if: "$Verbosity!='Terse'" + then: + - t: "des de" # phrase(subtracting 5 'from' 10 gives 5) + - x: "*[1]" + - t: "a" # phrase(adding 6 'to' 6 equals 12) + - x: "*[2]" + else: + - x: "*[1]" + - t: "coma" # phrase(use a 'comma' to divide large numbers or as a decimal point) + - x: "*[2]" + +- name: default-point + tag: point + match: "count(*)=2" + replace: + - test: + if: "$Verbosity!='Terse'" + then: + - t: "la" # phrase('the' square root of 25 equals 5) + - t: "punt" # phrase(a decimal 'point' indicates the fraction component of a number) + - x: "*[1]" + - t: "coma" # phrase(use a 'comma' to divide large numbers or as a decimal point) + - x: "*[2]" + +- name: bigop-both + tag: large-op + match: "count(*) = 3" + replace: + - test: + if: "$Verbosity!='Terse'" + then: [ot: "la"] # phrase('the' square root of 25 equals 5) + - x: "*[1]" + - t: "des de" # phrase(subtracting 5 'from' 10 gives 5) + - x: "*[2]" + - pause: short + - t: "a" # phrase(adding 6 'to' 6 equals 12) + - x: "*[3]" + - test: + if: "following-sibling::*" + then: [t: "de"] # phrase(the square root 'of' 25 equals 5) + +- name: bigop-under + tag: large-op + match: "count(*)=2" + replace: + - test: + if: "$Verbosity!='Terse'" + then: [ot: "la"] # phrase('the' square root of 25 equals 5) + - x: "*[1]" + - t: "sobre" # phrase(2 'over' 3 equals two thirds) + - x: "*[2]" + - test: + if: "following-sibling::*" + then: [t: "de"] # phrase(the square root 'of' 25 equals 5) + +- name: largeop + tag: mrow + match: "count(*)=2 and IsInDefinition(*[1], 'LargeOperators')" + replace: + - test: + if: "$Verbosity!='Terse'" + then: [ot: "la"] # phrase('the' square root of 25 equals 5) + - x: "*[1]" + - t: "de" # phrase(the square root 'of' 25 equals 5) + - x: "*[2]" + +- name: repeating-decimal + tag: repeating-decimal + match: "." + replace: + - x: "*[1]" + - t: "amb dígits periòdics" # phrase('with repeating digits') + - spell: "*[2]" + +- name: msubsup-skip-super + # handles single, double, etc., prime + tag: [skip-super, say-super] + match: "count(*)=3" + replace: + - x: "*[1]" + - test: + if: "$Verbosity='Verbose'" + then: [t: "subíndex"] # phrase(a 'subscript' may be used to indicate an index) + else: [t: "subíndex"] # phrase(the result is 'sub' optimal) + - x: "*[2]" + - test: + if: "not(IsNode(*[2],'leaf') and $Impairment = 'Blindness')" + then: + - test: + if: "$Verbosity='Verbose'" + then: [t: "fi del subíndex"] # phrase(this is the 'end subscript' position) + else: [t: "fi del subíndex"] # phrase(this is the 'end sub' position) + - pause: short + else_test: + if: "*[2][self::m:mi]" # need a pause in "x sub k prime" so the prime is not associated with the 'k' + then: [pause: short] + - test: + if: "name(.)='say-super'" + then_test: + if: "$Verbosity='Verbose'" + then: [t: "superíndex"] # phrase(a 'superscript' number indicates raised to a power) + else: [t: "superíndex"] # phrase(this is a 'super' set of numbers) + - x: "*[3]" + - pause: short + +# in terse mode, we just say "m" or "s", etc., not meters or seconds +- name: unit-terse + tag: unit + match: "$Verbosity = 'Terse' and string-length(.)=1" + replace: + - bookmark: "@id" + - spell: "text()" + +# the order of matching is +# 1. does it match the base of an SI unit +# 2. does it match an English unit (if in an English language) +# 3. does it match an SI prefix followed by an SI that accepts SI prefixes +# Due to this order, some things like "ft" and "cd" mean "feet" vs "femto-tonnes" and "pints" vs "pico-tonnes" +- name: unit + tag: unit + match: "." + variables: + # If the coefficient is singular, we don't add the plural ending. Finding the coefficient is tricky + # Normal case (A) "3m" (parents is mrow), but could also be (B) "3 m^2" (etc.) (parent is power/mrow) + # But it might be in a fraction as (C) "3 m/s" (parent is fraction/mrow) or (D) "3 m^2/s^2" (parent is power/fraction/mrow) + # or even (E) {3 m^2}/s (parent is power/mrow) + # If in a fraction, only look in the numerator to find the coefficient + # Note: we have a special case for pseudo-scripts like "°" (degrees) which are not powers -- they are essentially "1^°" + # The following "IfThenElse" logic returns the mrow that potentially contains the coefficient, if it exists + # The tests are in the order A, B & E, C, D + - MRowForCoefficient: "IfThenElse(parent::m:mrow, parent::m:mrow, + IfThenElse(parent::m:power, ancestor::*[2][self::m:mrow], + IfThenElse(parent::m:fraction and not(preceding-sibling::*), ancestor::*[2][self::m:mrow], + IfThenElse(parent::m:power[parent::m:fraction and not(preceding-sibling::*)], ancestor::*[3][self::m:mrow], false()) ) ) )" + - IsSingular: "(not($MRowForCoefficient) and parent::*[name(.)!='skip-super' or *[1][.=1]]) or + ($MRowForCoefficient and $MRowForCoefficient[(count(*) = 3 and *[1][self::m:mn and .=1] and *[2]='\u2062')])" + - Prefix: "''" + - Word: "''" + replace: + - bookmark: "@id" + - test: + # is the whole string match a SI Unit without a prefix? + - if: "DefinitionValue(., 'Speech', 'SIUnits') != ''" + then: + - set_variables: [Word: "DefinitionValue(., 'Speech', 'SIUnits')"] + - else_if: "DefinitionValue(., 'Speech', 'UnitsWithoutPrefixes') != ''" + then: + - set_variables: [Word: "DefinitionValue(., 'Speech', 'UnitsWithoutPrefixes')"] + - else_if: "DefinitionValue(., 'Speech', 'EnglishUnits') != ''" + then: + - set_variables: [Word: "DefinitionValue(., 'Speech', 'EnglishUnits')"] + + # do the first two chars match "da" and the remainder match an SIUnit + - else_if: "string-length(.) >= 3 and + substring(., 1, 2) = 'da' and + DefinitionValue(substring(., 3), 'Speech', 'SIUnits') != ''" + then: + - set_variables: + - Prefix: "DefinitionValue('da', 'Speech', 'SIPrefixes')" + - Word: "DefinitionValue(substring(., 3), 'Speech', 'SIUnits')" + + # does the first char match a prefix and the remainder match an SIUnit + - else_if: "string-length(.) >= 2 and + DefinitionValue(substring(., 1, 1), 'Speech', 'SIPrefixes') != '' and + DefinitionValue(substring(., 2), 'Speech', 'SIUnits') != ''" + then: + - set_variables: + - Prefix: "DefinitionValue(substring(., 1, 1), 'Speech', 'SIPrefixes')" + - Word: "DefinitionValue(substring(., 2), 'Speech', 'SIUnits')" + + # not a known unit -- just speak the text, possibly as a plural + - else: + - set_variables: + - Word: "text()" + + # somewhat complicated logic to avoid spaces around "-" as in "centi-grams" vs "centi - grams" -- probably doesn't matter + - test: + if: "$Prefix = ''" + then: + - test: + - if: "$IsSingular" + # HACK: '\uF8FE' is used internally for the concatenation char by 'ct' -- this gets the prefix concatenated to the base + then: [x: "$Word"] + - else_if: "DefinitionValue($Word, 'Speech', 'PluralForms') != ''" + then: [x: "DefinitionValue($Word, 'Speech', 'PluralForms')"] + else: [x: "$Word", ct: "s"] + else: + - x: "$Prefix" + - ct: "-" + - test: + - if: "$IsSingular" + # HACK: '\uF8FE' is used internally for the concatenation char by 'ct' -- this gets the prefix concatenated to the base + then: [x: "concat('\uF8FE', $Word)"] + - else_if: "DefinitionValue($Word, 'Speech', 'PluralForms') != ''" + then: [x: "concat('\uF8FE', DefinitionValue($Word, 'Speech', 'PluralForms'))"] + else: [x: "concat('\uF8FE', $Word)", ct: "s"] + +# need to reverse the order of speech: $ 3 -> 3 dollars +- name: currency + tag: mrow + match: "count(*)=3 and DefinitionValue(*[1], 'Speech', 'CurrencySymbols') != ''" + variables: + # If the amount is singular, we don't add the plural ending. + - IsSingular: "*[3][self::m:mn and .=1] and *[2]='\u2062'" + - CurrencyWord: "DefinitionValue(*[1], 'Speech', 'CurrencySymbols')" + replace: + - bookmark: "*[3]/@id" + - x: "*[3]" + - test: + - if: "$IsSingular" + then: [x: "$CurrencyWord"] + - else_if: "DefinitionValue($CurrencyWord, 'Speech', 'PluralForms') != ''" + then: [x: "DefinitionValue($CurrencyWord, 'Speech', 'PluralForms')"] + else: [x: "DefinitionValue(*[1], 'Speech', 'CurrencySymbols')", ct: "s"] + +- name: sin + tag: mi + match: ".='sin'" + replace: + - bookmark: "@id" + - t: "sinus" # phrase(the 'sine' of the angle) +- name: cos + tag: mi + match: ".='cos'" + replace: + - bookmark: "@id" + - test: + if: "$Verbosity='Terse'" + then: [t: "cos"] # phrase('cos' is the abbreviation for cosine) + else: [t: "cosinus"] # phrase(find the 'cosine' in a right-angle triangle) +- name: tan + tag: mi + match: ".='tan' or .='tg'" + replace: + - bookmark: "@id" + - test: + if: "$Verbosity='Terse'" + then: [t: "tan"] # phrase(the 'tan' is the ratio of the opposite to the adjacent side of a right-angled triangle) + else: [t: "tangent"] # phrase(a 'tangent' is a straight line that touches a curve) +- name: sec + tag: mi + match: ".='sec'" + replace: + - bookmark: "@id" + - test: + if: "$Verbosity='Terse'" + then: [t: "secant"] # phrase(to 'seek' a solution) + else: [t: "secant"] # phrase(a 'secant' intersects a curve at two or more points) +- name: csc + tag: mi + match: ".='csc'" + replace: + - bookmark: "@id" + - test: + if: "$Verbosity='Terse'" + then: [t: "cosecant"] # phrase(we will 'cosecant' a solution) + else: [t: "cosecant"] # phrase(the 'cosecant' is the reciprocal of the secant) +- name: cot + tag: mi + match: ".='cot'" + replace: + - bookmark: "@id" + - test: + if: "$Verbosity='Terse'" + then: [t: "cotangent"] # phrase(find the 'cotangent' in a right-angle triangle) + else: [t: "cotangent"] # phrase(the 'cotangent' is the reciprocal of the tangent) + +- name: sinh + tag: mi + match: ".='sinh'" + replace: + - bookmark: "@id" + - test: + if: "$Verbosity='Terse'" + then: [t: "sinus hiperbòlic"] # phrase(the word 'sinch' is an abbreviation for hyperbolic sine) + else: [t: "sinus hiperbòlic"] # phrase(the 'hyperbolic sine' is used in mathematics) +- name: cosh + tag: mi + match: ".='cosh'" + replace: + - bookmark: "@id" + - test: + if: "$Verbosity='Terse'" + then: [t: "cosh"] # phrase('cosh' is an abbreviation of hyperbolic cosine) + else: [t: "cosinus hiperbòlic"] # phrase(the 'hyperbolic cosine' is a mathematical function) +- name: tanh + tag: mi + match: ".='tanh'" + replace: + - bookmark: "@id" + - test: + if: "$Verbosity='Terse'" + then: [t: "tangent hiperbòlica"] # phrase('tanch' is shorthand for hyperbolic tangent) + else: [t: "tangent hiperbòlica"] # phrase('hyperbolic tangent' is a mathematical function) +- name: sech + tag: mi + match: ".='sech'" + replace: + - bookmark: "@id" + - test: + if: "$Verbosity='Terse'" + then: [t: "secant hiperbòlica"] # phrase('sheck' is shorthand for hyperbolic secant) + else: [t: "secant hiperbòlica"] # phrase('hyperbolic secant' is a mathematical function) +- name: csch + tag: mi + match: ".='csch'" + replace: + - bookmark: "@id" + - test: + if: "$Verbosity='Terse'" + then: [t: "cosinus hiperbòlic"] # phrase('cosheck' is shorthand for hyperbolic cosecant) + else: [t: "cosecant hiperbòlica"] # phrase('hyperbolic cosecant' is a mathematical function) +- name: coth + tag: mi + match: ".='coth'" + replace: + - bookmark: "@id" + - test: + if: "$Verbosity='Terse'" + then: [t: "cotangent hiperbòlic"] # phrase('cotanch' is shorthand for hyperbolic cotangent) + else: [t: "cotangent hiperbòlica"] # phrase(the 'hyperbolic cotangent' is a mathematical function) +- name: exponential + tag: mi + match: ".='exp'" + replace: + - bookmark: "@id" + - test: + if: "$Verbosity='Terse'" + then: [t: "exp"] # phrase('exp' means exponential function) + else: [t: "exponencial"] # phrase('exponential' function) +- name: covariance + tag: mi + match: ".='Cov'" + replace: + - bookmark: "@id" + - test: + if: "$Verbosity='Terse'" + then: [t: "Cov"] # phrase('Cov' is shorthand for the covariance function) + else: [t: "covariància"] # phrase('covariance' function) + +- + name: log # handle log, principal Log, and ln (if in an mrow, 'intents' are used) + tag: mi + match: ".='log' or .='Log' or .='ln'" + replace: + - bookmark: "@id" + - test: + - if: "$Verbosity!='Terse'" + then: [ot: "la"] # phrase('the' logarithm function is used in mathematics) + - test: + - if: ".= 'log'" + then: [t: "log"] # phrase(the 'log' function is used in mathematics) + - else_if: ".= 'Log'" + then: [t: "valor principal del logaritme"] + - else_if: "$Verbosity='Terse'" + then: [spell: "'ln'"] + else: [t: "logaritme natural"] # phrase(the 'natural log' function is used in mathematics) + + +- name: multi-line + # that eliminates the need for the if: else_if: ... + # IDEA: set a variable with the word to say for the row (e.g., RowLabel = Row/Case/Line/...) + tag: [piecewise, system-of-equations, lines] + match: "." + variables: + # Wikipedia has some tables where all the entire first column is empty (e.g., https://en.wikipedia.org/wiki/List_of_trigonometric_identities) + - LineCount: "count(*[not(contains(@data-intent-property, ':continued-row:'))])" + - NextLineIsContinuedRow: "false()" # default value + - IsColumnSilent: true() + replace: + - x: "$LineCount" + - test: + - if: "self::m:piecewise" + then: [t: "cas"] # phrase(this is the first 'case' of three cases) + - else_if: "self::m:system-of-equations" + then: [t: "equació"] # phrase(this is the first 'equation' of three equations) + else: [t: "línia"] # phrase(this is the first 'line' of three lines) + - test: + - if: "$LineCount != 1" + then: [ct: "s"] # plural + - pause: short + - x: "*" + - pause: long + + +- name: default-multiline + tag: [mtr, mlabeledtr] + match: "parent::m:piecewise or parent::m:system-of-equations or parent::m:lines" + variables: [NextLineIsContinuedRow: "following-sibling::*[1][contains(@data-intent-property, ':continued-row:')]"] + replace: + - test: + if: "not($LineCount=1 or contains(@data-intent-property, ':continued-row:'))" + then: + - pause: medium + - test: + - if: "parent::m:piecewise" + then: [t: "cas"] # phrase('case' 1 of 10 cases) + - else_if: "parent::m:system-of-equations" + then: [t: "equació"] # phrase('equation' 1 of 10 equations) + else: [t: "línia"] # phrase('line 1 of 10 lines) + - x: "count(preceding-sibling::*[not(contains(@data-intent-property, ':continued-row:'))]) + 1" + - test: + if: "self::m:mlabeledtr" + then: + - t: "amb etiqueta" # phrase(the diagram is complete 'with label') + - x: "*[1]/*" + - test: + if: "not(contains(@data-intent-property, ':continued-row:'))" + then: [pause: medium] + - test: + if: "self::m:mlabeledtr" + then: [x: "*[position()>1]"] + else: [x: "*"] + +- name: default-multiline + tag: mtd + match: "parent::*[parent::m:piecewise or parent::m:system-of-equations or parent::m:lines]" + variables: [LongPause: "$SpeechStyle = 'ClearSpeak' and $ClearSpeak_MultiLinePausesBetweenColumns = 'Long'"] + replace: + - test: + if: "IsInDefinition(*[1], 'ComparisonOperators')" + then: [pause: short] + - test: + if: "*[1][@data-added!='missing-content']" + then: [x: "*"] + - test: + # no pause after each element; medium pause if last element in a row; long pause for last element in matrix unless ClearSpeak override + - if: "count(following-sibling::*) = 0 and not($NextLineIsContinuedRow)" + then_test: + if: "count(../following-sibling::*) > 0" + then_test: + if: "$LongPause" + then: [pause: long] + else: [pause: medium] + else_test: + if: "IsInDefinition(*[1], 'ComparisonOperators')" + then: [pause: short] + else: [pause: auto] + +# Matrix/Determinant rules +# matrix and determinant are the same other than "matrix"/"determinant" based on the bracketing chars +# the pausing logic is pushed down to the +# the rules either speak the s (to get "row n") or the s. "column n" spoken if $IsColumnSilent is false +- name: 1x1-matrix + tag: [matrix, determinant] + variables: [IsColumnSilent: true()] + match: "count(*)=1 and *[self::m:mtr][count(*) = 1]" + replace: + - ot: "la" # phrase('the' 1 by 1 matrix M) + - t: "1 per 1" # phrase(the '1 by 1' matrix) + - test: + if: "self::m:determinant" # just need to check the first bracket since we know it must be (, [, or | + then: [t: "determinant"] # phrase(the 2 by 2 'determinant')) + else: [t: "matriu"] # phrase(the 2 by 2 'matrix') + + - t: "amb entrada" # phrase(the 2 by 2 matrix 'with entry' x) + - x: "*[1]/*" + +# simpler reading methods for special case matrices +- name: zero-matrix + tag: matrix + # select all the non-zero entries -- if there are none of them, then it is a zero matrix + match: "not( */*/*[not(self::m:mn and .= 0)] )" + replace: + - t: "la" # phrase('the' 1 by 2 matrix M) + - x: count(*) + - t: "per" # phrase(the 1 'by' 2 matrix) + - x: count(*[self::m:mtr][1]/*) + - t: "matriu nul·la" # phrase(the 2 by 2 'zero matrix') + - pause: long + +- name: identity-matrix + tag: matrix + # every diagonal entry must be a literal 1, and every off-diagonal entry must be a literal 0 + match: + - "count(*) = count(*[1]/*) and " # matrix is square + - "not( */*[count(preceding-sibling::*) = count(../preceding-sibling::*)]/*[not(self::m:mn and .= 1)] ) and " # on-diagonal + - "not( */*[count(preceding-sibling::*) != count(../preceding-sibling::*)]/*[not(self::m:mn and .= 0)] )" # off-diagonal + replace: + - t: "la" # phrase('the' 1 by 2 matrix M) + - x: count(*) + - t: "per" # phrase(the 1 'by' 2 matrix) + - x: count(*[self::m:mtr][1]/*) + - t: "matriu identitat" # phrase(the 2 by 2 'identity matrix') + - pause: long + +- name: diagonal-matrix + tag: matrix + # select all the non-zero entries...if they are not on the diagonal + # if there are any of them, then this isn't an identity matrix + match: + - "count(*) = count(*[1]/*) and " + - "not( */*/*[not(self::m:mn and .= 0)]" + - " [count(../preceding-sibling::*)!=count(../../preceding-sibling::*)]" + - " )" + replace: + - t: "la" # phrase('the' 1 by 2 matrix) + - x: count(*) + - t: "per" # phrase(the 1 'by' 2 matrix) + - x: count(*[self::m:mtr][1]/*) + - t: "matriu diagonal" # phrase(the 2 by 2 'diagonal matrix') + - pause: long + - insert: + # this lists the diagonal 'mtd's to be read, and they say "column nnn" before reading the contents + # there seems to be an xpath bug -- without the parens, the match fails for the + # test Languages::en::mtable::diagonal_matrix due to match failure (the third matching element seems to be missing) + nodes: "(*/*/*[not(self::m:mn and .= 0)]/..)" + replace: [pause: auto] + - pause: long + +# simpler reading methods for smaller matrices if the entries are simple +- name: 2-or-3x1-matrix + tag: matrix + variables: [IsColumnSilent: true()] + match: + - "$ClearSpeak_Matrix != 'SpeakColNum' and " # "simple" isn't used for this preference + - "*[self::m:mtr][count(*) = 1] and " # one column + - count(*)<=3 and # at least two rows + - IsNode(*/*/*,'simple') # IsNode() returns true if all the nodes are simple + replace: + - t: "la" # phrase('the' 2 by 2 matrix M) + - x: count(*) + - t: "per 1 columna" # phrase(the 2 'by 1 column' matrix) + - test: + if: "$ClearSpeak_Matrix = 'Vector' or $ClearSpeak_Matrix = 'EndVector'" + then: [t: "vector"] # phrase(the 2 by 2 'vector') + else: [t: "matriu"] # phrase(the 2 by 2 'matrix') + - pause: long + - x: "*/*" + - test: + if: "$ClearSpeak_Matrix = 'EndMatrix' or $ClearSpeak_Matrix = 'EndVector'" + then: + - t: "fi" # phrase('end' of matrix) + - test: + if: $ClearSpeak_Matrix = 'EndVector' + then: [t: "vector"] # phrase(the 2 column 'vector') + else: [t: "matriu"] # phrase(the 2 by 2 'matrix') + +- name: default-column-matrix + tag: matrix + variables: [IsColumnSilent: true()] + match: "*[self::m:mtr][count(*) = 1]" + replace: + - t: "la" # phrase('the' 2 by 2 matrix M) + - x: "count(*)" + - t: "per 1 columna" # phrase(the 2 'by 1 column' matrix) + - test: + if: "$ClearSpeak_Matrix = 'Vector' or $ClearSpeak_Matrix = 'EndVector'" + then: [t: "vector"] # phrase(the 2 column 'vector') + else: [t: "matriu"] # phrase(the 2 by 2 'matrix') + - pause: long + - x: "*" # select the rows (mtr) + - test: + if: "$ClearSpeak_Matrix = 'EndMatrix' or $ClearSpeak_Matrix = 'EndVector'" + then: [t: "fi de la matriu"] # phrase(the 'end of matrix' has been reached) + +- name: 1x2-or-3-matrix + tag: matrix + variables: [IsColumnSilent: "$SpeechStyle = 'SimpleSpeak' or ($SpeechStyle = 'ClearSpeak' and $ClearSpeak_Matrix != 'SpeakColNum')"] + match: + - "$ClearSpeak_Matrix != 'SpeakColNum' and " # "simple" isn't used for this preference + - count(*)=1 and # one row + - count(*[1]/*)<=3 and # at least two cols + - IsNode(*/*/*,'simple') # IsNode() returns true if all the nodes are simple + replace: + - t: "la matriu d'1 per" # phrase('the 1 by' 2 matrix) + - x: count(*/*) + - t: "fila" # phrase(the 1 by 4 'row' matrix) + - test: + if: "$ClearSpeak_Matrix = 'Vector' or $ClearSpeak_Matrix = 'EndVector'" + then: [t: "vector"] # phrase('the 1 by' 2 row 'vector') + else: [t: "matriu"] # phrase('the 1 by' 2 'matrix') + - pause: long + - x: "*/*" + - test: + if: "$ClearSpeak_Matrix = 'EndMatrix' or $ClearSpeak_Matrix = 'EndVector'" + then: + - t: "fi" # phrase(the 'end' of matrix has been reached) + - test: + if: $ClearSpeak_Matrix = 'EndMatrix' + then: [t: "matriu"] # phrase(the 2 by 2 'matrix') + else: [t: "vector"] # phrase(the 2 by 1 'vector') + +- name: default-row-matrix + tag: matrix + variables: [IsColumnSilent: "$SpeechStyle = 'ClearSpeak' and $ClearSpeak_Matrix = 'SilentColNum'"] + match: "count(*)=1" # one row + replace: + - t: "la matriu d'1 per" # phrase('the 1 by' 2 matrix) + - x: "count(*/*)" + - t: "fila" # phrase(the 1 by 2 'row' matrix) + - test: + if: "$ClearSpeak_Matrix = 'Vector' or $ClearSpeak_Matrix = 'EndVector'" + then: [t: "vector"] # phrase(the 2 by 1 'vector') + else: [t: "matriu"] # phrase(the 2 by 2 'matrix') + - pause: long + - pause: medium + - x: "*/*" # select the cols (mtd) + - test: + if: "$ClearSpeak_Matrix = 'EndMatrix' or $ClearSpeak_Matrix = 'EndVector'" + then: + - t: "fi" # phrase(the 'end' of matrix has been reached) + - test: + if: $ClearSpeak_Matrix = 'EndMatrix' + then: [t: "matriu"] # phrase(the 2 by 2 'matrix') + else: [t: "vector"] # phrase(the 2 by 1 'vector') + +- name: simple-small-matrix + tag: [matrix, determinant] + match: + - "$ClearSpeak_Matrix != 'SpeakColNum' and " # "simple" isn't used for this preference + - (count(*)<=3 and count(*[1]/*)<=3) and # no bigger than a 3x3 matrix + - IsNode(*/*/*,'simple') # IsNode() returns true if all the nodes are simple + variables: [IsColumnSilent: "$SpeechStyle = 'SimpleSpeak' or ($SpeechStyle = 'ClearSpeak' and $ClearSpeak_Matrix != 'SpeakColNum')"] + replace: + - t: "la" # phrase('the' 1 by 2 matrix M) + - x: count(*) + - t: "per" # phrase(the 1 'by' 2 matrix) + - x: count(*[self::m:mtr][1]/*) + - test: + if: "self::m:determinant" + then: [t: "determinant"] # phrase(the 2 by 2 'determinant') + else: + - test: + if: "@columnlines and (contains(normalize-space(@columnlines), 'solid') or contains(normalize-space(@columnlines), 'dashed'))" + then: [t: "matriu ampliada"] # phrase(the 2 by 2 'augmented matrix') + else: [t: "matriu"] # phrase(the 2 by 2 'matrix') + - pause: long + - x: "*" + - test: + if: "$ClearSpeak_Matrix = 'EndMatrix' or $ClearSpeak_Matrix = 'EndVector'" + then: + - t: "fi" # phrase(the 'end' of matrix has been reached) + - test: + if: "self::m:determinant" + then: [t: "determinant"] # phrase(the 2 by 2 'determinant') + else: [t: "matriu"] # phrase(the 2 by 2 'matrix') + +- name: default-matrix + tag: [matrix, determinant] + variables: [IsColumnSilent: "$SpeechStyle = 'ClearSpeak' and $ClearSpeak_Matrix = 'SilentColNum'"] + match: "." + replace: + - t: "la" # phrase('the' 1 by 2 matrix M) + - x: "count(*)" + - t: "per" # phrase(the 1 'by' 2 matrix) + - x: "count(*[self::m:mtr][1]/*)" + - test: + if: "self::m:determinant" + then: [t: "determinant"] # phrase(the 2 by 2 'determinant') + else: + - test: + if: "@columnlines and (contains(normalize-space(@columnlines), 'solid') or contains(normalize-space(@columnlines), 'dashed'))" + then: [t: "matriu ampliada"] # phrase(the 2 by 2 'augmented matrix') + else: [t: "matriu"] # phrase(the 2 by 2 'matrix') + - pause: long + - x: "*" + - test: + if: "$ClearSpeak_Matrix = 'EndMatrix' or $ClearSpeak_Matrix = 'EndVector'" + then: + - t: "fi" # phrase(the 'end' of matrix has been reached) + - test: + if: "self::m:determinant" + then: [t: "determinant"] # phrase(the 2 by 2 'determinant') + else: [t: "matriu"] # phrase(the 2 by 2 'matrix's) + +- name: chemistry-msub + tag: [chemical-formula] + match: "*[1][.='msub']" + replace: + - x: "*[2]" + - test: + if: "$Verbosity='Verbose'" + then: [t: "subíndex"] # phrase(H 'subscript' 2) + else_test: + if: "$Verbosity='Medium'" + then: [t: "subíndex"] # phrase(H 'sub' 2) + - x: "*[3]" + +- name: dimension-by + tag: mrow + match: dimension-product + replace: + - insert: + nodes: "*" + replace: [t: "per", pause: auto] # phrase(3 'by' 5 matrix) + +- name: chemistry-msup + tag: [chemical-formula] + match: "count(*)=3 and *[1][.='msup']" + replace: + - x: "*[2]" + - test: + if: "$Verbosity='Verbose'" + then: [t: "superíndex"] # phrase(H 'superscript' 2) + else_test: + if: "$Verbosity='Medium'" + then: [t: "superíndex"] # phrase(H 'super' 2) + - x: "*[3]" + - test: + if: "following-sibling::*[1][.='+' or .='-']" # a little lazy -- assumes chemistry superscripts end with + or - + then: [pause: medium] + +- + # There currently is no way to do sub/super for n-ary number of args + # Instead, we just deal with up to two prescripts and up to four postscripts (repeating blocks of similar code [UGLY!]) + # This hopefully covers all reasonable cases... + name: chemistry-scripts + tag: [chemical-formula, chemical-nuclide] + variables: + # computing the number of postscripts is messy because of being optionally present -- we use "mod" to get the count right + - Prescripts: "m:mprescripts/following-sibling::*" + - NumChildren: "count(*)" # need to stash this since the count is wrong inside '*[...]' below + - Postscripts: "*[position()>1 and position() < (last() + ($NumChildren mod 2) -count($Prescripts))]" + match: . # should only be msubsup or mmultiscripts at this point + replace: + - test: + if: "$Prescripts" # we have at least one pre sub/super + then: + # nuclide: speak the superscript first + - test: + if: "not($Prescripts[2][self::m:none])" + then: + - test: + if: "$Verbosity='Verbose'" + then: [t: "superíndex"] # phrase(H 'superscript' 2) + else_test: + if: "$Verbosity='Medium'" + then: [t: "superíndex"] # phrase(H 'super' 2) + - x: "$Prescripts[2]" + - pause: "short" + - test: + if: "not($Prescripts[1][self::m:none])" + then: + - test: + if: "$Verbosity='Verbose'" + then: [t: "subíndex"] # phrase(a 'subscript' may be used to indicate an index) + else_test: + if: "$Verbosity='Medium'" + then: [t: "subíndex"] # phrase(here is a 'sub' total) + - x: "$Prescripts[1]" + - pause: "short" + - test: + if: "count($Prescripts) > 2" # can this happen for chemistry??? we allow for one *extra* pre sub/super pair + then: + - test: + if: "not($Prescripts[4][self::m:none])" + then: + - test: + if: "$Verbosity='Verbose'" + then: [t: "superíndex"] # phrase(H 'superscript' 2) + else_test: + if: "$Verbosity='Medium'" + then: [t: "superíndex"] # phrase(H 'super' 2) + - x: "$Prescripts[4]" + - pause: "short" + - test: + if: "not($Prescripts[3][self::m:none])" + then: + - test: + if: "$Verbosity='Verbose'" + then: [t: "subíndex"] # phrase(H 'subscript' 2) + else_test: + if: "$Verbosity='Medium'" + then: [t: "subíndex"] # phrase(H 'sub' 2) + - x: "$Prescripts[3]" + - pause: "short" + - x: "*[1]" # base + - test: + if: "$Postscripts" + then: + - test: + if: "not($Postscripts[1][self::m:none])" + then: + - test: + if: "$Verbosity='Verbose'" + then: [t: "subíndex"] # phrase(phrase(H 'subscript' 2) + else_test: + if: "$Verbosity='Medium'" + then: [t: "subíndex"] # phrase(phrase(H 'sub' 2) + - x: "$Postscripts[1]" + - pause: "short" + - test: + if: "not($Postscripts[2][self::m:none])" + then: + - test: + if: "$Verbosity='Verbose'" + then: [t: "superíndex"] # phrase(H 'superscript' 2) + else_test: + if: "$Verbosity='Medium'" + then: [t: "superíndex"] # phrase(H 'super' 2) + - x: "$Postscripts[2]" + - pause: "short" + - test: + if: "count($Postscripts) > 2" + then: + - test: + if: "not($Postscripts[3][self::m:none])" + then: + - test: + if: "$Verbosity='Verbose'" + then: [t: "subíndex"] # phrase(H 'subscript' 2) + else_test: + if: "$Verbosity='Medium'" + then: [t: "subíndex"] # phrase(H 'sub' 2) + - x: "$Postscripts[3]" + - pause: "short" + - test: + if: "not($Postscripts[4][self::m:none])" + then: + - test: + if: "$Verbosity='Verbose'" + then: [t: "superíndex"] # phrase(H 'superscript' 2) + else_test: + if: "$Verbosity='Medium'" + then: [t: "superíndex"] # phrase(H 'super' 2) + - x: "$Postscripts[4]" + - pause: "short" + - test: + if: "count($Postscripts) > 4" + then: + - test: + if: "not($Postscripts[5][self::m:none])" + then: + - test: + if: "$Verbosity='Verbose'" + then: [t: "subíndex"] # phrase(H 'subscript' 2) + else_test: + if: "$Verbosity='Medium'" + then: [t: "subíndex"] # phrase(H 'sub' 2) + - x: "$Postscripts[5]" + - pause: "short" + - test: + if: "not($Postscripts[6][self::m:none])" + then: + - test: + if: "$Verbosity='Verbose'" + then: [t: "superíndex"] # phrase(H 'superscript' 2) + else_test: + if: "$Verbosity='Medium'" + then: [t: "superíndex"] # phrase(H 'super' 2) + - x: "$Postscripts[6]" + - pause: "short" + - test: + if: "count($Postscripts) > 6" + then: + - test: + if: "not($Postscripts[7][self::m:none])" + then: + - test: + if: "$Verbosity='Verbose'" + then: [t: "subíndex"] # phrase(H 'subscript' 2) + else_test: + if: "$Verbosity='Medium'" + then: [t: "subíndex"] # phrase(H 'sub' 2) + - x: "$Postscripts[7]" + - pause: "short" + - test: + if: "not($Postscripts[8][self::m:none])" + then: + - test: + if: "$Verbosity='Verbose'" + then: [t: "superíndex"] # phrase(H 'superscript' 2) + else_test: + if: "$Verbosity='Medium'" + then: [t: "superíndex"] # phrase(H 'super' 2) + - x: "$Postscripts[8]" + - pause: "short" + - test: + if: "$Postscripts[last()][not(self::m:none)] and following-sibling::*[1][.='+' or .='-']" + then: [pause: medium] + +- name: chemistry + tag: chemical-equation + match: "." + replace: + - x: "*" + +- name: chemical-element + tag: chemical-element + match: "." + replace: + - bookmark: "@id" + - spell: text() + - pause: short + +- name: chemical-state + tag: chemical-state + match: "count(*)=1" + replace: + - bookmark: "*[1]/@id" + - test: + - if: ".='s'" + then: [t: "sòlid"] # phrase(Boron is a 'solid' in its natural state) + - else_if: ".='l'" + then: [t: "líquid"] # phrase(water is a 'liquid') + - else_if: ".='g'" + then: [t: "gas"] # phrase(hydrogen is a 'gas' ) + else: [t: "aquós"] # phrase(an 'aqueous' solution is contained in water) + - pause: short + +- name: chemical-formula-operator-bond + tag: chemical-formula-operator + match: "@data-chemical-bond" + replace: + # FIX: this might be better/more efficient if in unicode.yaml + - bookmark: "@id" + - test: + - if: ".='-' or .=':'" + then: [t: "enllaç senzill"] # phrase(a 'single bond' is formed when two atoms share one pair of electrons) + - else_if: ".='=' or .='∷'" + then: [t: "enllaç doble"] # phrase(a 'double bond' may occur when two atoms share two pairs of electrons) + - else_if: ".='≡'" + then: [t: "enllaç triple"] # phrase(a 'triple bond' occurs when two atoms share three pairs of electrons) + - else_if: ".='≣'" + then: [t: "enllaç quàdruple"] # phrase(a 'quadruple bond' occurs when two atoms share four pairs of electrons) + else: [x: "text()"] + +- name: chemical-formula-operator + tag: chemical-formula-operator + match: "." + replace: + x: "text()" + +- name: chemical-arrow-operator + tag: chemical-arrow-operator + match: "." + replace: + # FIX: this might be better/more efficient if in unicode.yaml + - bookmark: "@id" + - test: + - if: ".='→' or .='⟶'" + then_test: + if: "$Verbosity='Terse'" + then: [t: "forma"] # phrase(hydrogen and oxygen 'forms' water ) + else: [t: "reacciona per formar"] # phrase(hydrogen and oxygen 'reacts to form' water) + - else_if: ".='⇌' or .='🣑'" # U+01F8D1 + then: [t: "està en equilibri amb"] # phrase(a reactant 'is in equilibrium with' a product) + - else_if: ".='🣓'" # U+1F8D3 + then: [t: "està en equilibri desplaçat cap a l'esquerra amb"] # phrase(the reactant 'is in equilibrium biased to the left with' the product) + - else_if: ".='🣒'" # U+1F8D2 + then: [t: "està en equilibri desplaçat cap a la dreta amb"] # phrase(the reactant 'is in equilibrium biased to the right with' the product) + else: [x: "*"] + +- name: chemical-equation-operator + tag: chemical-equation-operator + match: "." + replace: + - bookmark: "@id" + - x: "text()" + +- name: none + tag: none + match: "../../*[self::m:chemical-formula or self::m:chemical-nuclide]" + replace: + - t: "" # don't say anything + +- name: ignore-intent-wrapper + tag: intent-wrapper + match: "." + replace: + - x: "*" diff --git a/Rules/Languages/ca/SharedRules/geometry.yaml b/Rules/Languages/ca/SharedRules/geometry.yaml new file mode 100644 index 000000000..51e7a766b --- /dev/null +++ b/Rules/Languages/ca/SharedRules/geometry.yaml @@ -0,0 +1,79 @@ +--- + +- name: line-segment + tag: line-segment + match: "count(*)=2" + replace: + - test: + if: "$Verbosity='Verbose'" + then: + - t: "el segment de recta des de" # phrase('the line segment from' A to B) + - x: "*[1]" + - t: "fins a" # phrase(the line segment from A 'to' B) + - x: "*[2]" + else: + - t: "segment de recta" # phrase(the 'line segment' A B) + - x: "*[1]" + - x: "*[2]" + +- name: geometry-ray + tag: ray + match: "count(*)=2" + replace: + - test: + if: "$Verbosity='Verbose'" + then: + - t: "la semirecta des de" # phrase('the ray from' A to B) + - x: "*[1]" + - t: "fins a" # phrase(the ray from A 'to' B) + - x: "*[2]" + else: + - t: "semirecta" # phrase(the 'ray'A B) + - x: "*[1]" + - x: "*[2]" + +- name: geometry-arc + tag: arc + match: "count(*)=2" + replace: + - test: + if: "$Verbosity='Verbose'" + then: [ot: "l'"] # phrase('the' arc A B C) + - t: "arc" # phrase(the 'arc' A B C) + - x: "*[1]" + - x: "*[2]" + +- name: measure-of-angle + tag: measure-of-angle + match: "count(*)=3" + replace: + - test: + if: "$Verbosity='Verbose'" + then: + - t: "la mesura de l'angle" # phrase('the measure of the angle' ABC) + else: + - t: "mesura de l'angle" # phrase('measure of angle' ABC) + - x: "*[1]" + - x: "*[2]" + - x: "*[3]" + + +- name: coordinate + tag: coordinate + match: "." + replace: + - test: + if: "$Verbosity='Verbose'" + then: [ot: "el"] # phrase('the' point at 1, 2) + - t: "punt" # phrase(the 'point' at 1, 2) + - test: + if: "$Verbosity='Verbose'" + then: [t: "a"] # phrase('the' point at 1, 2) + - pause: short + - insert: + nodes: "*" + replace: [t: "coma", pause: auto] # phrase(f of x 'comma' y) + - pause: short + - test: + if: "($SpeechStyle='ClearSpeak' and $Verbosity='Verbose') or not(IsNode(*[last()],'leaf'))" + then: [t: "fi del punt"] # phrase(start point, 'end point') diff --git a/Rules/Languages/ca/SharedRules/linear-algebra.yaml b/Rules/Languages/ca/SharedRules/linear-algebra.yaml new file mode 100644 index 000000000..95da892e2 --- /dev/null +++ b/Rules/Languages/ca/SharedRules/linear-algebra.yaml @@ -0,0 +1,36 @@ +--- + +- name: scalar-determinant + tag: determinant + match: "count(*)=1 and not(*[1][self::m:mtr])" + replace: + - test: + if: "$Verbosity='Verbose'" + then: + - t: "el" # phrase('the' square root of 25 equals 5) + - t: "determinant" # phrase(the 'determinant' of a matrix) + - test: + if: "$Verbosity!='Terse'" + then: + - t: "de" # phrase(systems 'of' linear equations) + - x: "*[1]" + - test: + if: "not(IsNode(*[1], 'simple')) and $Impairment = 'Blindness'" + then: [t: "fi del determinant"] # phrase('end determinant' of a matrix) + + +- name: subscripted-norm + tag: subscripted-norm + match: "count(*)=2" + replace: + - test: + if: "$Verbosity='Verbose'" + then: + - t: "la" # phrase('the' square root of 25 equals 5) + - x: "*[2]" + - t: "norma" # phrase(the 'norm' can be a measure of distance) + - test: + if: "$Verbosity!='Terse'" + then: + - t: "de" # phrase(systems 'of' linear equations) + - x: "*[1]" diff --git a/Rules/Languages/ca/SimpleSpeak_Rules.yaml b/Rules/Languages/ca/SimpleSpeak_Rules.yaml new file mode 100644 index 000000000..dbc997277 --- /dev/null +++ b/Rules/Languages/ca/SimpleSpeak_Rules.yaml @@ -0,0 +1,350 @@ +--- +- name: pause + tag: "!*" + match: "not(self::m:math) and not($MatchingPause) and @data-intent-property[contains(., ':pause')]" + replace: + - with: + variables: [MatchingPause: "true()"] + replace: + - test: + - if: "contains(@data-intent-property, ':pause-long')" + then: [pause: long] + - else_if: "contains(@data-intent-property, ':pause-short')" + then: [pause: short] + else: [pause: medium] + - x: "." + +- name: intent-literal-silent + tag: [mi, mo, mn] + match: "contains(@data-intent-property, ':silent:')" + # say nothing + replace: [] + +# handling of negative numbers that come from 'intent' is hard -- we do something that is close to right here +- name: intent-literal-negative-number + tag: mn + match: "starts-with(text(), '-')" + replace: + - t: "menys" # phrase(x 'minus' y) + - x: "translate(text(), '-_', '')" + +- name: default + tag: square-root + match: "." + replace: + - test: + if: "$Verbosity!='Terse'" + then: [ot: ""] # Catalan elision cannot be split across speech tokens + - t: "arrel quadrada" # phrase(the 'square root' of x) + - test: + if: "$Verbosity!='Terse'" + then: [t: "de"] # phrase(the square root 'of' x) + else: [pause: short] + - x: "*[1]" + - pause: short + - test: + if: "not(IsNode(*[1], 'leaf')) and $Impairment = 'Blindness'" + then: [t: "fi de l'arrel", pause: medium] # phrase(start the square root of x 'end of root') + +- name: default + tag: root + match: "." + replace: + - test: + if: "$Verbosity!='Terse'" + then: [ot: ""] + - test: + if: "*[2][self::m:mn and not(contains(., '.'))]" + then_test: + - if: "*[2][.='2']" + then: [t: "arrel quadrada"] # phrase(the 'square root' of x) + - else_if: "*[2][.='3']" + then: [t: "arrel cúbica"] # phrase(the 'cube root' of x) + - else: [x: "ToOrdinal(*[2])", t: "arrel"] # phrase(the square 'root' of 25) + else: + - test: + if: "*[2][self::m:mi][string-length(.)=1]" + then: + - x: "*[2]" + - pronounce: [text: "-th", ipa: "θ", sapi5: "th", eloquence: "T"] + else: [x: "*[2]"] + - t: "arrel" # phrase(the square 'root' of) + - test: + if: "$Verbosity!='Terse'" + then: [t: "de"] # phrase(the square root 'of' x) + - x: "*[1]" + - pause: short + - test: + if: "not(IsNode(*[1], 'leaf')) and $Impairment = 'Blindness'" + then: [t: "fi de l'arrel", pause: medium] # phrase(start the square root of x 'end of root') + +# Fraction rules +# Mixed numbers mostly "just work" because the invisible char reads as "and" and other parts read properly on their own +- name: common-fraction + tag: fraction + match: + - "*[1][self::m:mn][not(contains(., '.')) and text()<20] and" + - "*[2][self::m:mn][not(contains(., '.')) and 2<= text() and text()<=10]" + variables: [IsPlural: "*[1]!=1"] + replace: + - x: "*[1]" + - x: "ToOrdinal(*[2], true(), $IsPlural)" # extra args specify fractional ordinal and whether it is plural + +- name: common-fraction-mixed-number + tag: fraction + match: + - "preceding-sibling::*[1][self::m:mo][.='⁤'] and" # preceding element is invisible plus + - "*[1][self::m:mn][not(contains(., '.'))] and" + - "*[2][self::m:mn][not(contains(., '.'))]" + variables: [IsPlural: "*[1]!=1"] + replace: + - x: "*[1]" + - x: "ToOrdinal(*[2], true(), $IsPlural)" # extra args specify fractional ordinal and whether it is plural + + +# Units (e.g., meters per second, m^2/s^2, (3m^2)/s) +- name: per-fraction + tag: fraction + match: + - "BaseNode(*[1])[contains(@data-intent-property, ':unit') or" + - " ( self::m:mrow and count(*)=3 and" # maybe a bit paranoid checking the structure... + - " *[1][self::m:mn] and *[2][.='\u2062'] and BaseNode(*[3])[contains(@data-intent-property, ':unit')] ) ] and" + - "BaseNode(*[2])[contains(@data-intent-property, ':unit')] " + replace: + - x: "*[1]" + - t: "per" # phrase('5 meters 'per' second) + - x: "*[2]" + +- name: simple + # don't include nested fractions. E.g, fraction a plus b over c + 1 end fraction" is ambiguous + # by simplistic SimpleSpeak's rules "b over c" is a fraction, but if we say nested fractions + # are never simple, then any 'over' applies only to enclosing "fraction...end fraction" pair. + tag: fraction + match: + - "(IsNode(*[1],'leaf') and IsNode(*[2],'leaf')) and" + - "not(ancestor::*[name() != 'mrow'][1]/self::m:fraction)" # FIX: can't test for mrow -- what should be used??? + replace: + - x: "*[1]" + - t: "sobre" # phrase(the fraction 3 'over' 4) + - x: "*[2]" + - pause: short + +- name: default + tag: fraction + match: "." + replace: + - test: + if: "$Impairment = 'Blindness'" + then: [t: "fracció"] # phrase(the 'fraction' 3 over 4) + - pause: short + - x: "*[1]" + - test: + if: "not(IsNode(*[1],'leaf'))" + then: [pause: short] + - t: "sobre" # phrase(the fraction 3 'over' 4) + - test: + if: "not(IsNode(*[2],'leaf'))" + then: [pause: short] + - x: "*[2]" + - pause: short + - test: + if: "$Impairment = 'Blindness'" + then: [t: "fi de la fracció"] # phrase(start 7 over 8 'end of fraction') + - pause: medium + +# rules for functions raised to a power +# these could have been written on 'mrow' but putting them on msup seems more specific +# to see if it is a function, we look right to see if the following sibling is apply-function +- name: inverse-function + tag: inverse-function + match: "." + replace: + - t: "inversa" # phrase(the 'inverse' of f) + - x: "*[1]" + +- name: function-squared-or-cubed + tag: power + match: + - "*[2][self::m:mn][.='2' or .='3'] and" + - "following-sibling::*[1][self::m:mo][.='⁡']" #invisible function apply + replace: + - x: "*[1]" + - bookmark: "*[2]/@id" + - test: + if: "*[2][.=2]" + then: [t: "al quadrat"] # phrase(5 'squared' equals 25) + else: [t: "al cub"] # phrase(5 'cubed' equals 125) +- name: function-power + tag: power + match: + - "following-sibling::*[1][self::m:mo][.='⁡']" #invisible function apply + replace: + - test: + if: "$Verbosity!='Terse'" + then: [ot: "la"] # # phrase('the' fourth power of 10) + - bookmark: "*[2]/@id" + - test: + if: "*[2][self::m:mn][not(contains(., '.'))]" + then: [x: "ToOrdinal(*[2])"] + else: [x: "*[2]"] + - t: "potència de" # phrase(the fourth 'power of' 2) + - pause: short + - x: "*[1]" + +# non-function rules for power +- name: squared-or-cubed + tag: power + match: "*[2][self::m:mn][.='2' or .='3']" + replace: + - x: "*[1]" + - bookmark: "*[2]/@id" + - test: + if: "*[2][.=2]" + then: [t: "al quadrat"] # phrase(5 'squared' equals 25) + else: [t: "al cub"] # phrase(5 'cubed' equals 125) + +- name: simple-integer + tag: power + match: "*[2][self::m:mn][not(contains(., '.'))]" + replace: + - x: "*[1]" + - t: "a la" # phrase(15 raised 'to the' second power equals 225) + - test: + if: "*[2][.>0]" + then: [x: "ToOrdinal(*[2])"] + else: [x: "*[2]"] +- name: simple-negative-integer + tag: power + match: + - "*[2][self::m:minus and count(*)=1 and" + - " *[1][self::m:mn][not(contains(., '.'))]]" + replace: + - x: "*[1]" + - t: "a la" # phrase(15 raised 'to the' second power equals 225) + - x: "*[2]" +- name: simple-var + tag: power + match: "*[2][self::m:mi][string-length(.)=1]" + replace: + - x: "*[1]" + - t: "a la" # phrase(15 raised 'to the' second power equals 225) + - x: "*[2]" + - pronounce: [text: "-th", ipa: "θ", sapi5: "th", eloquence: "T"] + +- name: simple + tag: power + match: "IsNode(*[2], 'leaf')" + replace: + - x: "*[1]" + - t: "a la" # phrase(15 raised 'to the' second power equals 225) + - x: "*[2]" + +- name: nested + # it won't end in "power" if the exponent is simple enough + # FIX: not that important, but this misses the case where the nested exp is a negative integer (change test if this is fixed) + # ending nested exponents with "...power power" sounds bad + tag: power + match: + - "*[2][" + - " (self::m:power and not(IsNode(*[2], 'leaf'))) or" # non-simple nested superscript + - " self::m:mrow[*[last()][self::m:power[not(IsNode(*[2], 'leaf'))]]]" # same as above but at the end of an mrow # FIX: need to figure out linear replacement + - " ]" + replace: + - x: "*[1]" + - t: "elevat a la" # phrase(15 'raised to the' second power equals 225) + - x: "*[2]" + - pause: short + - test: + if: "$Impairment = 'Blindness'" + then: + - t: "fi de l'exponent" # phrase(start 2 raised to the exponent 4 'end of exponent') + - pause: short + else: + - pause: medium + +- name: default + tag: power + match: "." + replace: + - x: "*[1]" + - t: "elevat a la" # phrase(15 'raised to the' second power equals 225) + - x: "*[2]" + - t: "potència" # phrase(15 raised to the second 'power' equals 225) + - pause: short + +# +# Some rules on mrows +# +- name: set + tag: set + match: "." + replace: + - test: + - if: "count(*)=0" + then: + - test: + if: "$Verbosity!='Terse'" + then: [t: "el"] # phrase('the' empty set) + - t: "conjunt buit" # phrase(when a set contains no value it is called an 'empty set' and this is valid) + - else_if: "count(*[1]/*)=3 and *[1]/*[2][self::m:mo][.=':' or .='|' or .='∣']" + then: + - test: + if: "$Verbosity!='Terse'" + then: [t: "el"] # phrase('the' set of all integers) + - t: "conjunt de tots els" # phrase(the 'set of all' positive integers less than 10) + - x: "*[1]/*[1]" + - t: "tal que" # phrase(x 'such that' x is less than y) + - x: "*[1]/*[3]" + else: + - test: + if: "$Verbosity!='Terse'" + then: [t: "el"] # phrase('the' set of integers) + - t: "conjunt" # phrase(here is a 'set' of numbers) + - x: "*[1]" + +- name: times + tag: mo + match: + # say "times" when invisible times is followed by parens or a superscript that has a base with parens or "|"s + # added: say times is the superscript is not simple + # if we aren't sure if it is times or not, don't say anything + - ".='⁢' and" + - "not(@data-function-guess) and (" + - "not(ancestor-or-self::*[contains(@data-intent-property, ':literal:')]) and " + - " following-sibling::*[1][" + - " IsBracketed(., '(', ')') or IsBracketed(., '[', ']') or IsBracketed(., '|', '|') or " + - " self::m:matrix or self::m:determinant or self::m:binomial or" # followed by parens + - " self::m:square-root or self::m:msqrt or self::m:root or self::m:mroot or" + - " (self::m:msub or self::m:msubsup or" + - " ((self::m:msup or self::m:power) and not(IsNode(*[1], 'leaf') and *[2][self::m:mn and (.=2 or '.=3')]))) and " # followed by msup, etc. + - " (*[1][self::m:mrow[IsBracketed(., '(', ')') or IsBracketed(., '[', ']') or IsBracketed(., '|', '|')] or " + - " self::m:matrix or self::m:determinant] or" # base has parens + - " not(IsNode(*[2], 'simple')) or " + - " (self::m:msubsup and not(IsNode(*[3], 'simple')))" + - " )" + - " ]" # other possibility is the preceding element has parens (but not the following) + - " or " + - " preceding-sibling::*[1][" + - " IsBracketed(., '(', ')') or IsBracketed(., '[', ']') or IsBracketed(., '|', '|')]" # followed by parens + - " )" + replace: + - t: "per" # phrase(7 'times' 5 equals 35) + +- name: no-say-parens + tag: mrow + match: + - "parent::*[not(self::m:msup) and not(self::m:msub) and not(self::m:msubsup) and not(self::m:power) and" + - " not(self::m:math) ] and " # rule out [x] standing alone + - "( IsBracketed(., '(', ')') or IsBracketed(., '[', ']') ) and " + - "( IsNode(*[2], 'simple') ) and" + - "not(preceding-sibling::*[1][.='\u2062' and @data-function-guess]) and" + - "not(ancestor-or-self::*[contains(@data-intent-property, ':literal:')])" + # missing clause: 'a positive fraction that is spoken as an ordinal + # (either by the Ordinal preference or by the default rules_' + replace: + - x: "*[2]" + +- include: "SharedRules/geometry.yaml" +- include: "SharedRules/linear-algebra.yaml" +- include: "SharedRules/general.yaml" +- include: "SharedRules/default.yaml" diff --git a/Rules/Languages/ca/definitions.yaml b/Rules/Languages/ca/definitions.yaml new file mode 100644 index 000000000..9dce46dab --- /dev/null +++ b/Rules/Languages/ca/definitions.yaml @@ -0,0 +1,577 @@ +--- +- include: "../../definitions.yaml" + +# If an "intent" is used, the 'terse:medium:verbose' speech for the intent name is given here for a prefix||infix||postfix||function||nofix||silent fixity +# If only one ":" is used, the first part is used for 'terse' and the second part is used for 'medium' and 'verbose' +# If no ":"s are used, the same speech is used for all forms +# If bracketing words make sense, they are separated with ";"s +# Intent mappings must specify whether they are "prefix", "infix", "postfix", or "function" with an "=" sign +# If there are multiple fixities (e.g., see transpose), they are separated with "||" +# for readability, spaces can be used around any of the delimiter characters +# Note: if there are multiple fixities, the first one is used if the fixity is not given in the intent +- IntentMappings: { + "binomial": "infix=binomi; sobre; fi del binomi", + + ### Functions and Inverses + # "closed-interval": "other=closed-interval; from,to; fi closed-interval", + # "closed-interval":"function=closed interval between; i", #NOTE: Check test, does not follow this pattern + #"closed-open-interval":"function=interval between; included i", + #"open-closed-interval":"function=interval between; i included", + #"open-interval":"function=open interval between; i", + "inverse":"function=inversa || postfix=inversa", + + "domain": "function= ; domini", + "codomain": "function= ; codomini", + + "image":"function=imatge", + #"fraction":"function=fraction; over; fi fraction", # NOTE: Fails + "mixed-fraction":"infix=i", # NOTE: in website says function, but follow infix speech pattern. + "quotient":"function=part entera; dividit per", # NOTE: Logic somewhere here failing, becomes "divided by of x comma, y" instead of "integer part of x divided by y" + "evaluated-at":"infix=avaluat a", + "remainder":"function=el residu; dividit per", + + "max":"function=max", + "min":"function=min", + + "power":"infix=elevat a la potència", + "root":"function=arrel", + + "greatest-common-divisor": "function=mcd: el mcd: el màxim comú divisor", + "least-common-multiple":"function=mcm: el mcm: el mínim comú múltiple", # In webpage typo "lest common" + + "absolute-value": "function= ; valor absolut: el valor absolut: el valor absolut; fi del valor absolut", + "complex-conjugate":"function=conjugat complex", + "complex-arg":"function=arg", + "real-part": "function=la part real", + "imaginary-part": "function=part imaginària: la part imaginària: la part imaginària", + + "polar-coordinate":"function=coordenada polar; coma", + "spherical-coordinate":"function=coordenada esfèrica; coma; coma", + "cartesian-coordinate":"function=coordenada cartesiana; coma", + "coordinate":"function=coordenada; coma", + "floor":"function=part entera", + "ceiling":"function=sostre", + "round":"function=valor arrodonit", + "fractional-part":"function=part fraccionària", + + + ### Calculus + # "definite-integral":"function=integral over || function=integral from; to", # Property ??? + # "derivative":"function=the derivative; with respect to", # Property ??? + # "partial-derivative":"function=parcial", ## Note, included with infix, but separately under calculus tab has ??? for functionality + + "limit": "prefix=límit quan:el límit quan", + "tends-to":"infix=tendeix a", + "tends-to-from-above":"infix=tendeix des de dalt a", + "tends-to-from-below":"infix=tendeix des de baix a", + + + ### Sets + "set": "function= ; conjunt: el conjunt", + "set-difference":"function=diferència de conjunts; i || infix=menys", # NOTE: not tested + "complement":"function=complement", + #"empty-set":"nofix=conjunt buit", + "cardinality":"function=cardinalitat", # NOTE: does not have a defined speech template in website + "list":"function=llista", + "tuple": "function= ; tupla: la tupla", + + + ### Sequence and Series + "sum":"function= ; suma sobre : suma ; ", #: sum over : sum from; to", + "product":"function=producte || function=producte sobre || function=producte des de; to", + + + ### Elementary classical functions + "sine":"function=sin: sinus", + "cosine":"function=cos: cosinus", + "tangent":"function=tan: tangent", + "secant":"function=seech: secant", + "cosecant":"function=co-seech: cosecant", + "cotangent":"function=co-tan: cotangent", + + "arcsine":"function=arcsinus", + "arccosine":"function=arccosinus", + "arctangent":"function=arctangent", + "arcsecant":"function=arcsecant", + "arccosecant":"function=arc-cosecant", + "arccotangent":"function=arc-cotangent", + + "hyperbolic-sine":"function=shine", + "hyperbolic-cosine":"function=cosh", + "hyperbolic-tangent":"function=tanch", + "hyperbolic-secant":"function=sech", + "hyperbolic-cosecant":"function=cosech", + "hyperbolic-cotangent":"function=coth", + + "arc-hyperbolic-sine":"function=arc shine", + "arc-hyperbolic-cosine":"function=arc cosh", + "arc-hyperbolic-tangent":"function=arc tanch", + "arc-hyperbolic-secant":"function=arc sech", + "arc-hyperbolic-cosecant":"function=arc cosech", + "arc-hyperbolic-cotangent":"function=arc coth", + + "exponential":"function=exponencial", + "natural-logarithm": "function=l n: logaritme natural: logaritme natural", + "logarithm":"function=log", ##Check arity 2 + + + ### Statistics and Probability + "mean":"function=mitjana", + "standard-deviation":"function=desviació estàndard", + "variance":"function=variància", + "median":"function=mediana", + "mode":"function=moda", + + "conditional-probability":"function=probabilitat; donat", # NOTE: Check test + + + ### Linear Algebra + "vector": "function= ; vector || prefix=vector", # prefix not tested, also prefix not on webpage + "matrix":"function=matriu", # NOTE: Failing test, recheck + "determinant":"function=determinant", + "adjugate":"function=adjunta", + "magnitude":"function=mòdul", + "norm": "function=; norma: norma: norma; fi de la norma", + "span":"function=espai generat", + + "unit-vector":"prefix=vector unitari", + + "identity-matrix":"nofix=matriu identitat", # NOTE: no function specified + "transpose":"function=transposada || postfix=transposada", # postfix needs testing + "dimensional-product":"infix=by", # INFIX + + + ### Constants and Sets + "set-of-integers":"nofix=ℤ: conjunt de tots els enters", + "set-of-reals":"nofix=ℝ: conjunt de tots els nombres reals", + "set-of-rationals":"nofix=ℚ: conjunt de tots els nombres racionals", + "set-of-natural-numbers":"nofix=ℕ: conjunt de tots els nombres naturals", + "set-of-complex-numbers":"nofix=ℂ: conjunt de tots els nombres complexos", + "set-of-primes":"nofix=ℙ: conjunt de tots els nombres primers", + + + ### Geometry + "line-segment":"prefix=segment de recta", + "directed-line-segment":"prefix=segment de recta dirigit", + "line":"prefix=line", + "ray":"prefix=semirecta", + "arc":"prefix=arc", + + "length":"function=longitud", + "area":"function=àrea", + + "point":"prefix=punt", ## NOTE: Has ??? for property in site. Should it be prefix? Or something else. + + ### Separators + "time-separator":"infix=", + + ### General Concepts + "fenced-group":"function=grup delimitat", # appears both under general concepts and grouping + # NOTE: in site mentions "the pair x and y", due to being defined as function, needs the "of" keyword + "ordered-pair": "function= ; el parell; i", # Needs to be tested, test converts "and" to "comma," + "indexed-by": "infix= ; sub; fi del subíndex: fi del subíndex: fi del subíndex", + # "indexed-by": "infix= ; indexed by; ", + + "highlight":"postfix=ressaltat", + "least-common-denominator":"function=mínim comú denominador", + "rate":"infix=per", + "translation":"function= translació per; coma", # NOTE: not tested, changes "translation" -> "comma" in test + "constraint":"infix= ; amb la restricció; ", + + "binomial-coefficient":"infix=sobre", + "pochhammer":"function=permutació", + "permutation-cycle":"function=cicle de permutació", + "embellished-name":"infix=amb anotació", + + ### Grouping + "annotation":"infix= ; que és ;", # NOTE: Follows the same order as indexed-by, in site listed as function. Should it be infix? + "braced-group":"function=agrupat; fi de l'agrupació", # NOTE: not tested, site is missing "of" keyword function introduces + #"repeating-decimal":"function=repeating decimal", # NOTE: BREAKS TEST. Check again. Site is missing "of" keyword function introduces. + + + ### Other + ## Default fixity function + "curl": "function=rotacional", + "divergence": "function=div:divergència", + "gradient": "function=del:gradient", + "laplacian": "function=laplacià", + + ## Default fixity prefix + "angle": "prefix=angle", + "angle-measure": "prefix=mesura de l'angle", + "change": "prefix=variació de", + "for-all": "prefix=per a tot", + "measured-angle": "prefix=angle mesurat", + "not": "prefix=no", + "number-of": "prefix=nombre de", + "partial-derivative": "prefix=parcial", + "right-angle": "prefix=angle recte", + "square-root-of": "prefix=arrel quadrada de", + "there-does-not-exist": "prefix=no existeix", + "there-exists": "prefix=existeix", + + + ## Default fixity infix + "and": "infix=i", + "applied-to": "infix=aplicat a", + "approximately": "infix=aproximadament", + "congruent": "infix=congruent amb", + "cartesian-product": "infix=producte cartesià", + "composed-with": "infix=compost amb", + "cross-product": "infix=cross: producte vectorial: producte vectorial", + "defined-as": "infix=definit com", + "divided-by": "infix=dividit per", + "divides": "infix=divides", + "does-not-belong-to": "infix=no pertany a", + "does-not-divide": "infix=no divideix", + "dot-product": "infix=producte escalar", + "downwards-diagonal-ellipsis": "infix=punts suspensius diagonals descendents", + "direct-product": "infix=producte directe", + "element-of": "infix=element de", + "ellipsis": "infix=punts suspensius", + "equals": "infix=és igual a", + "equivalent-to": "infix=equivalent a", + "evaluates-to": "infix=s'avalua com", + "given": "infix=donat", + "greater-than": "infix=major que", + "greater-than-or-equal-to": "infix=major o igual que", + "identically-equals": "infix=és idèntic a", + "if-and-only-if": "infix=si i només si", + "implies": "infix=implica", + "inner-product": "infix=producte interior", + "intersection": "infix=intersecció", + "less-than": "infix=menor que", + "less-than-or-equal-to": "infix=menor o igual que", + "list-separator": "infix=coma", + "maps-to": "infix=aplica a", + "member-of": "infix=membre de", + "minus-or-plus": "infix=menys o més", + "not-subset": "infix=no és subconjunt de", + "not-superset": "infix=no és superconjunt de", + "not-equal-to": "infix=no és igual a", + "not-member-of": "infix=no és membre de", + "not-parallel-to": "infix=no és paral·lel a", + "obtained-from": "infix=obtingut de", + "or": "infix=o", + "outer-product": "infix=producte exterior", + "parallel-to": "infix=paral·lel a", + "perpendicular": "infix=perpendicular a", + "plus": "infix=més || prefix=positiu", # Prefix not tested + "minus": "infix=menys || prefix=negatiu", # Prefix not tested + "plus-or-minus": "infix=més o menys", + "precedes": "infix=precedeix", + "proportional": "infix=proporcional a", + "range-separator": "infix=fins a", + "ratio": "infix=raó", + "similar": "infix=semblant a", + "subset": "infix=subconjunt de", + "subset-or-equal": "infix=subconjunt o igual a", + "succeeds": "infix=succeeix", + "such-that": "infix=tal que", + "superset": "infix=superconjunt de", + "superset-or-equal": "infix=superconjunt o igual a", + "tilde": "infix=titlla", + "times": "infix=per", + "union": "infix=unió", + "upwards-diagonal-ellipsis": "infix=punts suspensius diagonals ascendents", + "vertical-ellipsis": "infix=punts suspensius verticals", + "xor": "infix=o exclusiu", + + ## Default fixity postfix + "factorial": "postfix=factorial", + "percent": "postfix=per cent", + + ## Default fixity nofix + "diameter":"nofix=d: diàmetre", + "distance":"nofix=d; D: distància", + "probability":"nofix=P: probabilitat", + "radius":"nofix=r: radi", + "volume":"nofix=V: volum || function=volum", + "exponential-e":"nofix=e", + "imaginary-i":"nofix=i", + "differential-d":"nofix=d", + "golden-ratio":"nofix=proporció àuria", + + + ## Other : Not tested, don't appear in https://w3c.github.io/mathml-docs/intent-core-concepts/ + "modified-variable": "silent= ", + "say-super": "infix=super: superíndex: superíndex", # used with 'mo' for superscripts (e.g, "<") + "skip-super": "silent=", # used with 'mo' for superscripts (e.g, "*") + # "large-op": "infix=over || other=from,to", + "lim-sup": "prefix=límit superior quan: el límit superior quan: el límit superior quan", + "lim-inf": "prefix=límit inferior quan: el límit inferior quan : el límit inferior quan", + "logarithm-with-base": "prefix=logaritme de base: el logaritme de base: el logaritme de base", + # "pochhammer": "infix=permutations de", # arguments are in reverse order, so can't work here + "trace": "function= ; traça : traça: la traça; fi de la traça", + "dimension": "function=; dimensió : dimensió: la dimensió; fi de la dimensió", + "homomorphism": "function= ; homomorfisme : homomorfisme: l'homomorfisme; fi de l'homomorfisme", + "kernel": "function= ; nucli : nucli: el nucli; fi del nucli", + + "chemistry-concentration": "function= ; concentració: concentració de: la concentració de; fi de la concentració", + } + + # Names of functions that in terse mode don't say "of" (or it's equivalent in other languages) +- TerseFunctionNames: { + "divergence", "del:gradient", "curl" + } + +- NavigationParts: { + # These are the parts of a formula that can be navigated to + "large-op": "base; límit inferior; límit superior", + "mfrac": "numerador; denominador", + "fraction": "numerador; denominador", + "msqrt": "arrel", + "square-root": "arrel", + "mroot": "arrel; índex de l'arrel", + "root": "arrel; índex de l'arrel", + "msub": "base; subíndex", + "sub": "base; subíndex", + "logarithm-with-base": "base", + "indexed-by": "base; subíndex", + "msup": "base; superíndex", + "say-super": "base; superíndex", + "skip-super": "base; superíndex", + "power": "base; exponent", + "msubsup": "base; subíndex; superíndex", + "munder": "base; límit inferior", + "mover": "base; límit superior", + "munderover": "base; límit inferior; límit superior", + + # words for moving into and out of one of the parts (e.g., "move right 'out of' numerator, 'in' denominator") + # it's a hack to put them here, but at least they are grouped with the other navigation parts + "in": "dins", + "out": "fora de", + } + +- KnownWords: {} + +- SIPrefixes: { + "Q": "quetta", "R": "ronna", "Y": "yotta", "Z": "zetta", "E": "exa", "P": "peta", "T": "tera", "G": "giga", "M": "mega", "k": "kilo", "h": "hecto", "da": "deca", + "d": "deci", "c": "centi", "m": "mil·li", "µ": "micro", "n": "nano", "p": "pico", "f": "femto", "a": "atto", "z": "zepto", "y": "yocto", "r": "ronto", "q": "quecto" + } + +# this is a list of all units that accept SIPrefixes +# from www.bipm.org/documents/20126/41483022/SI-Brochure-9-EN.pdf +# Prefixes may be used with any of the 29 SI units with special names +# The SI prefixes can be used with several of accepted units, but not, for example, with the non-SI units of time. +- SIUnits: { + # base units + "A": "ampere", + "cd": "candela", + "K": "kelvin", "K": "kelvin", # U+212A + "g": "gram", + "m": "metre", # British spelling works for US also + "mol": "mol", + "s": "segon", "sec": "segon", # "sec" not actually legal + + # derived units + "Bq": "becquerel", + "C": "coulomb", + "°C": "grau Celsius", "℃": "grau Celsius", # should only take negative powers + "F": "farad", + "Gy": "gray", + "H": "henry", + "Hz": "hertz", + "J": "joule", + "kat": "katal", + "lm": "lumen", + "lx": "lux", + "N": "newton", + "Ω": "ohm", "Ω": "ohm", # Greek Cap letter, U+2126 OHM SIGN + "Pa": "pascal", + "S": "siemens", + "Sv": "sievert", + "T": "tesla", + "V": "volt", + "W": "watt", + "Wb": "weber", + + # accepted (plus a few variants) that take SI prefixes + "l": "litre", "L": "litre", "ℓ": "litre", # Should only take negative powers; British spelling works for US also + "t": "tona", # should only take positive powers + "Da": "dalton", + "Np": "neper", # should only take negative powers + "u": "unitat de massa atòmica", # 'u' is correct: https://en.wikipedia.org/wiki/Dalton_(unit) + "eV": "electronvolt", + "rad": "radian", # should only take negative powers + "sr": "estereoradian", # should only take negative powers + + # others that take a prefix + "a": "any", # should only take positive powers + "as": "segon d'arc", # see en.wikipedia.org/wiki/Minute_and_second_of_arc + + # technically wrong, but used in practice with SI Units + "b": "bit", # should only take positive powers + "B": "byte", # should only take positive powers + "Bd": "baud", # should only take positive powers + } + + +- UnitsWithoutPrefixes: { + # time + "″": "segon", "\"": "segon", + "′": "minut", "'": "minut","min": "minut", + "h": "hora", "hr": "hora", "Hr": "hora", + "d": "dia", "dy": "dia", + "w": "setmana", "wk": "setmana", + "y": "any", "yr": "any", + + # angles + "°": "grau", "deg": "grau", # should only take negative powers + "arcmin": "minut d'arc", + "amin": "minut d'arc", + "am": "minut d'arc", + "MOA": "minut d'arc", + "arcsec": "segon d'arc", + "asec": "segon d'arc", + + # distance + "au": "unitat astronòmica", "AU": "unitat astronòmica", + "ltyr": "any llum", "ly": "any llum", + "pc": "parsec", + "Å": "àngstrom", "Å": "àngstrom", # U+00C5 and U+212B + "fm": "fermi", + + # others + "ha": "hectàrea", + # "B": "bel", # "B" more commonly means bytes + "dB": "decibel", # already logarithmic, so not used with SI prefixes + + "amu": "unitat de massa atòmica", + "atm": "atmosfera", + "bar": "bar", + "cal": "caloria", + "Ci": "curie", + "grad": "goni", + "M": "molar", + "R": "roentgen", + "rpm": "revolució per minut", + "℧": "mho", + "dyn": "dina", + "erg": "erg", + + # powers of 2 used with bits and bytes + "Kib": "kibi-bit", "Mib": "mebi-bit", "Gib": "gibi-bit", "Tib": "tebi-bit", "Pib": "pebi-bit", "Eib": "exbi-bit", "Zib": "zebi-bit", "Yib": "yobi-bit", + "KiB": "kibi-byte", "MiB": "mebi-byte", "GiB": "gibi-byte", "TiB": "tebi-byte", "PiB": "pebi-byte", "EiB": "exbi-byte", "ZiB": "zebi-byte", "YiB": "yobi-byte", + } + + # Not used for Catalan. +- EnglishUnits: {} + +- CurrencySymbols: { + "$": "dòlar", "¢": "cèntim", "€": "euro", "£": "lliura", "₡": "colón", "₤": "lira", "₨": "rupia", + "₩": "won", "₪": "xéquel", "₱": "peso", "₹": "rupia", "₺": "lira", "₿": "bitcoin", + # could add more currencies... + } + +- PluralForms: { + # Catalan irregular or non-trivial plurals used by unit speech. + "ampere": "amperes", "metre": "metres", "mol": "mols", "segon": "segons", + "minut": "minuts", "hora": "hores", "dia": "dies", "setmana": "setmanes", "any": "anys", + "grau": "graus", "grau Celsius": "graus Celsius", "grau Fahrenheit": "graus Fahrenheit", + "henry": "henrys", "hertz": "hertz", "lux": "lux", "siemens": "siemens", + "revolució per minut": "revolucions per minut", "dòlar": "dòlars", "cèntim": "cèntims", + "euro": "euros", "lliura": "lliures", "rupia": "rupies", "xéquel": "xéquels", + "colón": "colones", "lira": "lires", "won": "wons", "bitcoin": "bitcoins" + } + +# Lines starting with "#" are a comment +# Each definition in this file is of the form +# - name: { "...", "..." "..." } +# For numbers, +# - name: [] "...", "..." "..." ] + + +# ---------------- Cardinal and Ordinal Numbers -------------------------- +# The following definitions are used to convert numbers to words +# The are mainly used for ordinals, of which there are two cases: +# 1. Regular ordinals: first, second, third, ... +# 2. Ordinals used in the denominator of fractions (e.g, one half, one third) +# When used in the denominator of fractions, a plural version might be +# used (e.g., two halves, two thirds) +# Although a lot of languages are regular after a few entries, for generality, +# the following lists should be filled out even though they are the same +# or easily derived from others in many languages (e.g, an 's' is added for plurals). +# The larger ordinal numbers (e.g, millionth) is used when there are only +# '0's after that decimal place (e.g., 23000000).:w + +# All definitions start 0, 10, 100, etc. + +# The definitions for the "ones" should extend until a regular pattern begins +# The minimum length is 10. + +# For English, a regular pattern starts at twenty +- NumbersOnes: [ + "zero", "un", "dos", "tres", "quatre", "cinc", "sis", "set", "vuit", "nou", + "deu", "onze", "dotze", "tretze", "catorze", "quinze", "setze", + "disset", "divuit", "dinou" + ] + +- NumbersOrdinalOnes: [ + "zerè", "primer", "segon", "tercer", "quart", "cinquè", "sisè", "setè", "vuitè", "novè", + "desè", "onzè", "dotzè", "tretzè", "catorzè", "quinzè", "setzè", + "dissetè", "divuitè", "dinovè" + ] + +- NumbersOrdinalPluralOnes: [ + "zerens", "primers", "segons", "terços", "quarts", "cinquens", "sisens", "setens", "vuitens", "novens", + "desens", "onzens", "dotzens", "tretzens", "catorzens", "quinzens", "setzens", + "dissetens", "divuitens", "dinovens" + ] + + # stop when regularity begins +- NumbersOrdinalFractionalOnes: [ + "zero", "primer", "mig" + ] + + # stop when regularity begins +- NumbersOrdinalFractionalPluralOnes: [ + "zeros", "primers", "mitjos" + ] + + + # What to use for multiples of 10 +- NumbersTens: [ + "", "deu", "vint", "trenta", "quaranta", "cinquanta", "seixanta", "setanta", "vuitanta", "noranta" + ] + +- NumbersOrdinalTens: [ + "", "desè", "vintè", "trentè", "quarantè", "cinquantè", "seixantè", "setantè", "vuitantè", "norantè" + ] + +- NumbersOrdinalPluralTens: [ + "", "desens", "vintens", "trentens", "quarantens", "cinquantens", "seixantens", "setantens", "vuitantens", "norantens" + ] + + +- NumbersHundreds: [ + "", "cent", "dos-cents", "tres-cents", "quatre-cents", "cinc-cents", + "sis-cents", "set-cents", "vuit-cents", "nou-cents" + ] + +- NumbersOrdinalHundreds: [ + "", "centè", "dos-centè", "tres-centè", "quatre-centè", "cinc-centè", + "sis-centè", "set-centè", "vuit-centè", "nou-centè" + ] + +- NumbersOrdinalPluralHundreds: [ + "", "centens", "dos-centens", "tres-centens", "quatre-centens", "cinc-centens", + "sis-centens", "set-centens", "vuit-centens", "nou-centens" + ] + + + # At this point, hopefully the language is regular. If not, code needs to be written +- NumbersLarge: [ + "", "mil", "milió", "mil milions", "bilió", "mil bilions", + "trilió", "mil trilions", "quadrilió", "mil quadrilions", "quintilió", + ] + +- NumbersOrdinalLarge: [ + "", "mil·lèsim", "milionèsim", "mil milionèsim", "bilionèsim", "mil bilionèsim", + "trilionèsim", "mil trilionèsim", "quadrilionèsim", "mil quadrilionèsim", "quintilionèsim" + ] + +- NumbersOrdinalPluralLarge: [ + "", "mil·lèsims", "milionèsims", "mil milionèsims", "bilionèsims", "mil bilionèsims", + "trilionèsims", "mil trilionèsims", "quadrilionèsims", "mil quadrilionèsims", "quintilionèsims" + ] diff --git a/Rules/Languages/ca/navigate.yaml b/Rules/Languages/ca/navigate.yaml new file mode 100644 index 000000000..ec58d8744 --- /dev/null +++ b/Rules/Languages/ca/navigate.yaml @@ -0,0 +1,1775 @@ +--- +# Documentation: +# +# The general form for many rules is: +# 1. Say the command if this is first rule to fire (MatchCounter) and depending upon "NavVerbosity"s value +# This will increment MatchCounter so that the command won't be spoken again +# 2. Say info about moving into/out of 2D structures +# 3. Set some variables and possibly recurse. +# If stopping, "NavNode" should be set. +# +# The meaning of NavVerbosity: +# * Verbose -- always echo the command and end points (e.g., "can't move right") +# * Medium -- only echo the command for obscure commands like the placemarker commands; also say end points +# * Terse -- no echo of commands or end points +# +# For the second item, a common set of rules is used. These rules require the variable "Move2D" +# to be set along with "Child2D", where "Move2D" is either 'in' or 'out'. +# +# In addition, the navigation rules make use of two functions: +# +# int DistanceFromLeaf(node, leftSide, treat2DElementsAsTokens) +# Returns the distance (number of children) until a leaf is reached by traversing the leftmost/rightmost child +# If 'treat2DElementsAsTokens' is true, then 2D notations such as fractions are treated like leaves +# A leaf has distance == 0 +# +# EdgeNode(node, "left"/"right", stopNodeName) +# Returns the stopNode if at left/right edge of named ancestor node. 'stopNodeName' can also be "2D" +# If the stopNode isn't found, the original node is returned +# Note: if stopNodeName=="math", then punctuation is taken into account since it isn't really part of the math +# +# A few other variables are of importance to Navigation +# NavMode -- Enhanced, Simple, Character +# ReadZoomLevel -- -1 for Enhanced, otherwise the distance from leaf the rules should maintain +# PlaceMarkerIndex + +# Note: the rules for saying a command and announcing what is said when moving in/out of a 2d exprs are hacks +# They depend upon special variables "SayCommand" and "Move2D" being set and if they are, the rules are activated. +# If/when functions can be defined in a rules file, it is likely these would be much better done via those functions +# as they would likely be much more efficient and also cleaner. + +# Rules for announcing the command +- name: say-command + tag: "!*" + match: "$SayCommand != ''" # value should be '', 'true', or 'false' + variables: [Prefix: "''"] + replace: + - test: + - if: "$MatchCounter = 0 and $SayCommand = 'true'" + then_test: + - if: "self::m:math and starts-with($NavCommand, 'ZoomOut')" + then: [t: "zoom màxim cap enfora", pause: "medium"] + - else_if: "IsNode(., 'leaf') and starts-with($NavCommand, 'ZoomIn')" + then: + - test: + - if: "string-length(.) = 1" + then: [t: "zoom màxim cap endins"] # phrase('zoomed in all of the way') + - else_if: "$NavNodeOffset = 0" + then: [t: "zoom cap al primer caràcter"] # phrase('zoomed in to first character') + else: [t: "zoom cap al caràcter"] # phrase('zoomed in to character') + - pause: "medium" + else: + - test: + # CommandOffset is 1 + length of the English NavCommand stem (Zoom/Move/Read/Describe), + # not the spoken Prefix length — so translations can use a different Prefix word. + - if: "starts-with($NavCommand, 'Zoom')" + then: [set_variables: [Prefix: "'zoom'", CommandOffset: "5"]] # phrase('zoom' in to see more details) + - else_if: "starts-with($NavCommand, 'Move')" + then: [set_variables: [Prefix: "'mou'", CommandOffset: "5"]] # phrase('move' to next entry in table) + - else_if: "starts-with($NavCommand, 'Read')" + then: [set_variables: [Prefix: "'llegeix'", CommandOffset: "5"]] # phrase('read' to next entry in table) + - else_if: "starts-with($NavCommand, 'Describe')" + then: [set_variables: [Prefix: "'descriu'", CommandOffset: "9"]] # phrase('describe' to next entry in table) + - test: + if: "$Prefix != ''" + then: + - x: "$Prefix" + - test: + - if: "substring($NavCommand, $CommandOffset) = 'In'" + then: [t: "dins"] # phrase(zoom 'in' to see more details) + - else_if: "substring($NavCommand, $CommandOffset) = 'InAll'" + # HACK: '\uF8FE' is used internally for the concatenation char by 'ct' -- this gets "ed" concatenated to "zoom" + then: [t: "\uF8FE cap endins del tot"] # phrase(zoom 'out all of the way' to see more details) + - else_if: "substring($NavCommand, $CommandOffset) = 'Out'" + then: [t: "fora"] # phrase(zoom 'out' to see more details) + - else_if: "substring($NavCommand, $CommandOffset) = 'OutAll'" + # HACK: '\uF8FE' is used internally for the concatenation char by 'ct' -- this gets "ed" concatenated to "zoom" + then: [t: "\uF8FE cap enfora del tot"] # phrase(zoom 'out all of the way' to see more details) + - else_if: "substring($NavCommand, $CommandOffset) = 'Next'" + then: [t: "dreta"] # phrase(move to the 'right') + - else_if: "substring($NavCommand, $CommandOffset) = 'Previous'" + then: [t: "esquerra"] # phrase(move to the 'left') + - else_if: "substring($NavCommand, $CommandOffset) = 'Current'" + then: [t: "actual"] # phrase(who is the 'current' president) + - else_if: "substring($NavCommand, $CommandOffset) = 'LineStart'" + then: [t: "a l'inici de la línia"] # phrase(move 'to start of line') + - else_if: "substring($NavCommand, $CommandOffset) = 'LineEnd'" + then: [t: "al final de la línia"] # phrase(move 'to end of line') + - pause: "medium" + - set_variables: [MatchCounter: "$MatchCounter + 1"] + +- name: into-or-out-of-silent + tag: "*" + # saying "out of row n" is not very useful, so skip it + match: "$Move2D != '' and (not(@data-from-mathml) or @data-from-mathml = name(.)) and + (name(.)='mrow' or name(.) = 'mtr' or name(.) = 'mlabeledtr' or @data-from-mathml = 'mtable')" + replace: [] + +# Prefix/silent intents with no NavigationParts entry (e.g. unary minus, x-hat) +# should not announce "in"/"out of". +- name: into-or-out-of-prefix-or-silent-without-parts + tag: "*" + match: "$Move2D != '' and + (contains(@data-intent-property, ':prefix:') or contains(@data-intent-property, ':silent:')) and + GetNavigationPartName(name(.), count($Child2D/preceding-sibling::*)) = ''" + replace: [] + +- name: into-or-out-of-mtr + tag: [mtr, mlabeledtr] + match: "$Move2D = 'in'" + replace: + - t: "columna" + - x: "count($Child2D/preceding-sibling::*)+1" + - pause: "medium" + +- name: into-or-out-of-mmultiscripts + tag: "*" + match: "$Move2D != '' and (@data-from-mathml='mmultiscripts' or self::m:mmultiscripts)" + replace: + - test: + if: "name($Child2D)!='none'" + then: + - with: + variables: + - NumPrecedingSiblings: "count($Child2D/preceding-sibling::*)" + replace: + - x: "$Move2D" + - test: + - if: "$NumPrecedingSiblings=0" + then: [t: "base"] # phrase(the 'base' of the power) + - else_if: "$Child2D/preceding-sibling::*[self::m:mprescripts]" # are we before mprescripts and hence are postscripts + then: + - test: # in postscripts -- base shifts by one + if: "$NumPrecedingSiblings mod 2 = 0" + then: [t: "subíndex previ"] # phrase(x with 'subscript' 2) + else: [t: "superíndex previ"] # phrase(x with 'superscript' 2) + else: + - test: + if: "$NumPrecedingSiblings mod 2 = 0" + then: [t: "superíndex"] # phrase(x with 'pre-superscript' 2) + else: [t: "subíndex"] # phrase(x with 'pre-subscript' 2) + - pause: "medium" + +# Rules for speaking what happens when moving into or out of a notation +- name: into-or-out-of-default + tag: "*" + # saying "out of row n" is not very useful, so skip it + # match: "$Move2D != '' and @data-from-mathml and @data-from-mathml != name(.) and count(*)>1 and @data-from-mathml != 'mtable'" + match: "$Move2D != '' and not(self::m:math or @data-from-mathml = 'mtable' or @data-from-mathml = 'mtd') " + replace: + - with: + variables: + - PartNumber: "count($Child2D/preceding-sibling::*)" + - PartName: "GetNavigationPartName(name(.), $PartNumber)" + replace: + - x: "$Move2D" + - test: + - if: "$PartName != ''" + then: [x: "$PartName"] + - else_if: "count(*) = 1" + then_test: + if: "$NavVerbosity = 'Verbose'" + then: # IntentMappings via SpeakIntentName; falls back to spaced intent name + - test: + - if: "contains(@data-intent-property, ':prefix:')" + then: [x: "SpeakIntentName(name(.), $Verbosity, 'prefix')"] + - else_if: "contains(@data-intent-property, ':postfix:')" + then: [x: "SpeakIntentName(name(.), $Verbosity, 'postfix')"] + - else_if: "contains(@data-intent-property, ':infix:')" + then: [x: "SpeakIntentName(name(.), $Verbosity, 'infix')"] + - else_if: "contains(@data-intent-property, ':function:')" + then: [x: "SpeakIntentName(name(.), $Verbosity, 'function')"] + - else_if: "contains(@data-intent-property, ':nofix:')" + then: [x: "SpeakIntentName(name(.), $Verbosity, 'nofix')"] + - else_if: "contains(@data-intent-property, ':silent:')" + then: [x: "SpeakIntentName(name(.), $Verbosity, 'silent')"] + - else: [x: "SpeakIntentName(name(.), $Verbosity, 'other')"] + else: + - t: "part" # phrase(the 'part' of the expression) + - x: "count($Child2D/preceding-sibling::*) + 1" + - pause: "medium" + +- name: default-move + # nothing to do (not 2D) -- need to catch $Move2D though so rules based on NavCommand don't trigger + tag: "*" + match: "$Move2D != ''" + replace: [] + +# ********* Go back to last position *************** +# This is first since start/end position shouldn't matter +- name: move-last-location + + + tag: "*" + match: "$NavCommand = 'MoveLastLocation'" + replace: + - test: + if: "$NavVerbosity != 'Terse'" + then: + - test: + - if: "$PreviousNavCommand = 'ZoomIn'" + then: [t: "desfés el zoom cap endins"] # phrase('undo zoom in') + - else_if: "$PreviousNavCommand = 'ZoomOut'" + then: [t: "desfés el zoom cap enfora"] # phrase('undo zoom out') + - else_if: "$PreviousNavCommand = 'ZoomInAll'" + then: [t: "desfés el zoom màxim cap endins"] # phrase('undo zooming in all of the way') + - else_if: "$PreviousNavCommand = 'ZoomOutAll'" + then: [t: "desfés el zoom màxim cap enfora"] # phrase('undo zooming out all of the way') + - else_if: "$PreviousNavCommand = 'MovePrevious' or $PreviousNavCommand = 'MovePreviousZoom'" + then: [t: "desfés el moviment a l'esquerra"] # phrase('undo move left') + - else_if: "$PreviousNavCommand = 'MoveNext' or $PreviousNavCommand = 'MoveNextZoom'" + then: [t: "desfés el moviment a la dreta"] # phrase('undo move right') + - else_if: "$PreviousNavCommand = 'None'" + then: [t: "no hi ha cap ordre anterior"] # phrase('no previous command') + - pause: "medium" + - set_variables: [NavNode: "@id"] + +# many times, for typographic reasons, people include punctuation at the end of a math expr +# these rules detect that and skip speaking it (should be similar regular rule) +- name: skip-punct-at-end-zoom-in + tag: mrow + match: + - "($NavCommand = 'ZoomIn' or $NavCommand = 'ZoomInAll' or $NavCommand = 'MoveNextZoom' or $NavCommand = 'MovePreviousZoom') and" + - " parent::m:math and count(*)=2 and" + - " *[2][translate(.,'.,;:?', '')='']" + replace: + - x: "*[1]" + +# ********* ZoomIn *************** +- name: zoom-in-leaf + tag: "*" + match: "($NavCommand = 'ZoomIn' or $NavCommand = 'ZoomInAll') and IsNode(., 'leaf')" + replace: + - with: + variables: [SayCommand: "string($NavVerbosity != 'Terse')"] + replace: [x: "."] + - test: + if: "$ReadZoomLevel !=-1" + then: + - set_variables: [ReadZoomLevel: "0"] + - set_variables: + - NavNode: "@id" + - NavNodeOffset: "IfThenElse(string-length(.) > 1 and $MatchCounter = 1 and $NavNodeOffset = 0, '1', '0')" + +# special case of zooming into a table -- move to the first row (if only one row, first column) +- name: zoom-in-table + tag: "*" + match: "$NavCommand = 'ZoomIn' and (name(.) = 'mtable' or (count(*)=1 and *[1][@data-from-mathml='mtable']))" + replace: + - with: + variables: [SayCommand: "string($NavVerbosity = 'Verbose')"] + replace: [x: "."] + - set_variables: [NavNode: "IfThenElse(count(*)=1, (*[1]/*[1]/@id), (*[1]/@id))"] + +- name: zoom-in-mrow-in-math + # zooming in only once is meaningless because 'math' has only a single child and it was spoken at the math level -- dig inside and do it again + tag: math + match: "$NavCommand = 'ZoomIn' or $NavCommand = 'MoveNextZoom' or $NavCommand = 'MovePreviousZoom'" + replace: + - test: + if: "$NavCommand = 'MovePreviousZoom'" + then: [x: "*[last()]"] + else: [x: "*[1]"] + +- # For msqrt and menclose, if the single child isn't an mrow, don't zoom in + name: zoom-in-again + tag: "*" + match: + - "($NavCommand = 'ZoomIn' or " + - " ($NavCommand = 'MoveNextZoom' or $NavCommand = 'MovePreviousZoom') and $NavMode='Enhanced') and " + - "count(*)=1 and + (*[1][self::m:mrow or @data-from-mathml='mrow'] and + not(@data-from-mathml='msqrt' or self::m:msqrt or @data-from-mathml='menclose' or self::m:menclose))" + replace: + - with: + variables: [SayCommand: "string($NavVerbosity = 'Verbose')"] + replace: [x: "."] + - test: + if: "not(*[1][self::m:mrow or @data-from-mathml='mrow'])" + then: + - with: + variables: [Move2D: "'in'", Child2D: "IfThenElse($NavCommand = 'MovePreviousZoom', (*[last()]), (*[1]))"] # phrase('in' the denominator) + replace: [x: "IfThenElse($NavCommand = 'MovePreviousZoom', 1, $Child2D)"] + - test: + if: "$NavCommand = 'MovePreviousZoom'" + then: [x: "*[last()]"] + else: [x: "*[1]"] + +- name: zoom-in-enhanced + tag: "*" + match: "$NavCommand = 'ZoomIn' and $NavMode='Enhanced'" + replace: + - with: + variables: [SayCommand: "string($NavVerbosity = 'Verbose')"] + replace: [x: "."] + - test: + - if: "self::m:mtr or self::m:mlabeledtr" + then: + - with: + variables: [Move2D: "'in'", Child2D: "*[1]/*[1]"] # phrase('in' the denominator) + replace: [x: "."] + - set_variables: [NavNode: "*[1]/*[1]/@id"] # skip mtd + - else_if: "*[1][self::m:mrow and (IsBracketed(., '(', ')', false) or IsBracketed(., '[', ']', false))]" # auto zoom + then: + - with: + variables: [Move2D: "'in'", Child2D: "*[1]"] # phrase('in' the denominator) + replace: [x: "."] + - set_variables: [NavNode: "*[1]/*[2]/@id"] # skip parens/brackets + else: + - with: + variables: [Move2D: "'in'", Child2D: "*[1]"] # phrase('in' the denominator) + replace: [x: "."] + # "(...)" to get around some weird parse bug" + - set_variables: + - NavNode: "*[1]/@id" + - NavNodeOffset: "IfThenElse(*[1]/@data-id-offset, (*[1]/@data-id-offset), '0')" + + +- name: zoom-in-simple + tag: "*" + match: "$NavCommand = 'ZoomIn' and $NavMode='Simple'" + replace: + - with: + variables: [SayCommand: "string($NavVerbosity = 'Verbose')"] + replace: [x: "."] + - test: + if: "$MatchCounter > 1 and IsNode(., '2D')" + then: + - set_variables: # time to stop, not going "in" to next thing, so before "Move2D" + - NavNode: "@id" + - NavNodeOffset: "IfThenElse(@data-id-offset, @data-id-offset, '0')" + else: + - with: + variables: [Move2D: "'in'", Child2D: "*[1]"] # phrase('in' the denominator) + replace: [x: "."] + - x: "*[1]" + + # At this point, we are zooming in on a non-2D element, non-leaf in Character mode +- name: zoom-in-2D-character + tag: "*" + match: "$NavCommand = 'ZoomIn' and (IsNode(., '2D') or not(IsNode(., 'mathml')))" + replace: + - with: + variables: [SayCommand: "string($NavVerbosity = 'Verbose')"] + replace: [x: "."] + - with: + variables: [Move2D: "'in'", Child2D: "*[1]"] # phrase('in' the denominator) + replace: [x: "."] + - test: + if: "$NavMode = 'Simple'" + then: + - set_variables: [NavNode: "*[1]/@id"] + else: + - with: + variables: [NavCommand: "'MoveNextZoom'"] + replace: [x: "*[1]"] + + # At this point, we are zooming in on a non-2D element, non-leaf in Character mode +- name: zoom-in-default + tag: "*" + match: "$NavCommand = 'ZoomIn'" + replace: + - with: + variables: [SayCommand: "string($NavVerbosity = 'Verbose')"] + replace: [x: "."] + - x: "*[1]" + + +- name: zoom-in-all-default + tag: "*" + match: "$NavCommand = 'ZoomInAll'" + replace: + - with: + variables: [SayCommand: "string($NavVerbosity = 'Verbose')"] + replace: [x: "."] + - with: + variables: [Move2D: "'in'", Child2D: "*[1]"] # phrase('in' the denominator) + replace: [x: "."] + - x: "*[1]" + +- name: zoom-out + tag: math + match: "$NavCommand = 'ZoomOut' or $NavCommand = 'ZoomOutAll'" + replace: + - with: + variables: [SayCommand: "string($NavVerbosity != 'Terse')"] + replace: [x: "."] + - set_variables: [NavNode: "*[1]/@id"] # no-op for $NavCommand = 'ZoomOut' + +- name: skip-punct-at-end-zoom-out + tag: mrow + match: + - "($NavCommand = 'ZoomOut' or $NavCommand = 'ZoomOutAll') and" + - " parent::m:math and count(*)=2 and" + - " *[2][translate(.,'.,;:?', '')='']" + replace: + - x: ".." + +- name: zoom-out-top + tag: "*" + match: + - "($NavCommand = 'ZoomOut' or $NavCommand = 'ZoomOutAll') and" + - "parent::m:math" + replace: + - x: ".." # let math rule deal with it + +- name: zoom-out-all-default + tag: "*" + match: "$NavCommand = 'ZoomOutAll'" + replace: + - with: + variables: [SayCommand: "string($NavVerbosity = 'Verbose')"] + replace: [x: "."] + - with: + variables: [Move2D: "'out of'", Child2D: "."] + replace: [x: ".."] + - x: ".." + +# deal with internal zooming: MoveNextZoom and MovePreviousZoom + +# start with Enhanced mode +- name: move-zoom-enhanced + tag: "*" + match: + - "($NavCommand = 'MoveNextZoom' or $NavCommand = 'MovePreviousZoom') and " + - "$NavMode = 'Enhanced'" + replace: + - with: + variables: [Move2D: "'in'", Child2D: "*[1]"] # phrase('in' the denominator) + replace: [x: "."] + - test: + - if: "count(*)> 1 or IsNode(., 'leaf') or + @data-from-mathml='msqrt' or self::m:msqrt or @data-from-mathml='menclose' or self::m:menclose" + then: + - set_variables: + - NavNode: "@id" + - NavNodeOffset: "IfThenElse(@data-id-offset, @data-id-offset, '0')" + else: [x: "*[1]"] + +- name: move-next-zoom-not-enhanced + # $ReadZoomLevel must be >= 0 + tag: "*" + match: "$NavCommand = 'MoveNextZoom'" + replace: + #don't bother with MatchCounter since we only get here if > 1 + - test: + if: "IsNode(., 'leaf') or $ReadZoomLevel >= DistanceFromLeaf(., false, $NavMode!='Character')" + then: + # - with: + # variables: [Move2D: "'in'", Child2D: "following-sibling::*[1]"] # phrase('in' the denominator) + # replace: [x: ".."] + - set_variables: + - NavNode: "@id" + - NavNodeOffset: "IfThenElse(@data-id-offset, @data-id-offset, '0')" + else: + - with: + variables: [Move2D: "'in'", Child2D: "*[1]"] # phrase('in' the denominator) + replace: [x: "."] + - x: "*[1]" + +- name: move-previous-zoom-not-enhanced + # $ReadZoomLevel must be >= 0 + tag: "*" + match: "$NavCommand = 'MovePreviousZoom'" + replace: + #don't bother with MatchCounter since we only get here if > 1 + - test: + if: "$ReadZoomLevel >= DistanceFromLeaf(., true, $NavMode!='Character')" + then: + # - with: + # variables: [Move2D: "'in'", Child2D: "preceding-sibling::*[1]"] # phrase('in' the denominator) + # replace: [x: ".."] + - set_variables: + - NavNode: "@id" + - NavNodeOffset: "IfThenElse(@data-id-offset, @data-id-offset, '0')" + else: + - with: + variables: [Move2D: "'in'", Child2D: "*[last()]"] # phrase('in' the denominator) + replace: [x: "."] + - x: "*[last()]" + +# ********* ZoomOut *************** +- name: zoom-out-default + tag: mtd + match: "$Move2D = '' and ($NavCommand = 'ZoomOut')" + replace: + - with: + variables: [SayCommand: "string($NavVerbosity = 'Verbose')"] + replace: [x: "."] + # we need to speak it here + # - t: "fila" # phrase(the first 'row' of the matrix) + # # if we let the speech rules speak the row, it is given just the MathML for the row, so the row # will always be '1' + # - x: "count(../preceding-sibling::*)+1" + # - pause: medium + - set_variables: + - NavNode: "../@id" + - NavNodeOffset: "IfThenElse(../@data-id-offset, ../@data-id-offset, '0')" + +- name: zoom-out + # a row around a single element -- these might duplicate the position/offset, so we jump an extra level here + tag: "*" + match: "$NavCommand = 'ZoomOut'" + replace: + - with: + variables: [SayCommand: "string($NavVerbosity = 'Verbose')"] + replace: [x: "."] + - test: + - if: "$NavNodeOffset > 0 and IsNode(., 'leaf')" # Inside leaf -- just reset offset, intent offset doesn't change + then: + - set_variables: [NavNodeOffset: "0"] + # NavNode remains the same + - else_if: "$NavMode='Enhanced' and parent::*[self::m:mrow and (IsBracketed(., '(', ')', false) or IsBracketed(., '[', ']', false))]" + then: [x: ".."] # auto-zoom: move out a level and retry + else: + - with: + variables: [Move2D: "'out of'", Child2D: "."] # phrase('out of' the denominator) + replace: [x: ".."] + - test: + if: "parent::m:mtd" + then: [x: ".."] + else: + - test: + if: "DEBUG($ReadZoomLevel)!=-1" + then: [set_variables: [ReadZoomLevel: "DistanceFromLeaf(.., true, $NavMode!='Character')"]] + - set_variables: + - NavNode: "../@id" + - NavNodeOffset: "IfThenElse(../@data-id-offset, ../@data-id-offset, '0')" + +# ********* MoveStart/End *************** +- name: math-move-to-start-or-end + tag: math + match: "$NavCommand = 'MoveStart' or $NavCommand = 'MoveLineStart' or $NavCommand = 'MoveEnd' or $NavCommand = 'MoveLineEnd'" + replace: + - with: + variables: [MatchCounter: "$MatchCounter + 1"] + replace: + - test: + if: "$NavVerbosity = 'Verbose'" + then: + - test: + - if: "$NavCommand = 'MoveStart'" + then: [t: "mou a l'inici de les matemàtiques"] # phrase('move to start of math') + - else_if: "$NavCommand = 'MoveLineStart'" + then: [t: "mou a l'inici de la línia"] # phrase('move to start of line') + - else_if: "$NavCommand = 'MoveEnd'" + then: [t: "mou al final de les matemàtiques"] # phrase('move to end of math') + else: [t: "mou al final de la línia"] # "$NavCommand = 'MoveLineEnd'" # phrase('move to end of line') + - pause: "medium" + - test: + if: "$NavCommand = 'MoveStart' or $NavCommand = 'MoveLineStart'" + then: + # move inside of the mrow inside of 'math' or inside the fraction, etc (hence two levels down) + # Note: an apparent bug in the xpath code doesn't let me use IfThenElse for the 2 if: then: below + - with: + variables: [NavCommand: "'MoveNextZoom'"] + replace: + - test: + if: "*[1]/*[1]" # could be a x, so no grandchild + then: [x: "*[1]/*[1]"] + else: [x: "*[1]"] + else: + - with: + variables: [NavCommand: "'MovePreviousZoom'"] + replace: + - test: + if: "*[last()]/*[last()]" # could be a x, so no grandchild + then: [x: "*[last()]/*[last()]"] + else: [x: "*[last()]"] + +# We stop when the parent is 2d (e.g., frac), but not if in leaf base of msub/msup/msubsup/mmultiscripts because that's really on the same line +- name: move-to-start-or-end-2d + tag: "*" + match: + - "($NavCommand = 'MoveLineStart' or $NavCommand = 'MoveLineEnd') and IsNode(.., '2D') and" + - "not( IsNode(., 'leaf') and" + - " parent::*[1][self::m:msub or self::m:msup or self::m:msubsup or self::m:mmultiscripts or" + - " @data-from-mathml and" + - " (@data-from-mathml='msub' or @data-from-mathml='msup' or" + - " @data-from-mathml='msubsup' or @data-from-mathml='mmultiscripts')" + - " ] )" + replace: + - test: + if: "$NavVerbosity = 'Verbose'" + then: + - test: + if: "$NavCommand = 'MoveLineStart'" + then: [t: "mou a l'inici de la línia"] # phrase('move to start of line') + else: [t: "mou al final de la línia"] # "$NavCommand = 'MoveLineEnd'" # phrase('move to end of line') + - pause: "medium" + - test: + if: "self::m:mrow or @data-from-mathml = 'mrow'" + then_test: + if: "$NavCommand = 'MoveLineStart'" + then: + - with: + variables: [NavCommand: "'MoveNextZoom'"] + replace: [x: "*[1]"] + else: + - with: + variables: [NavCommand: "'MovePreviousZoom'"] + replace: [x: "*[last()]"] + else: [set_variables: [NavNode: "@id"]] + +- name: move-to-start-or-end-default + tag: "*" + match: "$NavCommand = 'MoveStart' or $NavCommand = 'MoveLineStart' or $NavCommand = 'MoveEnd' or $NavCommand = 'MoveLineEnd'" + replace: + - with: + variables: [MatchCounter: "$MatchCounter + 1"] + replace: [x: ".."] + +# Table-related movement +# Typically, we need to zoom out to the mtd level, then we move the appropriate direction +- name: not-in-table + + + tag: math + match: + - "$NavCommand='MoveCellPrevious' or $NavCommand='MoveCellNext' or" + - "$NavCommand='MoveCellUp' or $NavCommand='MoveCellDown' or" + - "$NavCommand='MoveColumnStart' or $NavCommand='MoveColumnEnd' or" + - "$NavCommand='ReadCellCurrent'" + replace: + - t: "no és dins d'una taula" # phrase('not in table') + - pause: long + - set_variables: [SpeakExpression: "'false'"] + +- name: move-cell-previous + tag: mtd + match: "$NavCommand='MoveCellPrevious'" + replace: + - test: + if: "preceding-sibling::*" + then: + - test: + if: "$NavVerbosity = 'Verbose'" + then: + - t: "mou a l'esquerra" # phrase('move left') + - pause: short + - test: + if: "$NavVerbosity != 'Terse'" + then: + - t: "columna" # phrase(the first 'column' of the table) + - x: "count(preceding-sibling::*)" + - pause: medium + - test: + if: "$NavMode='Character'" + then: + - with: + variables: [NavCommand: "'MovePreviousZoom'"] + replace: [x: "preceding-sibling::*[1]"] + else: + - set_variables: [NavNode: "preceding-sibling::*[1]/*[1]/@id"] + else: + - t: "no hi ha cap columna anterior" # phrase('no previous column' in the table) + - set_variables: [SpeakExpression: "'false'"] + +- name: move-cell-next + tag: mtd + match: "$NavCommand='MoveCellNext'" + replace: + - test: + if: "following-sibling::*" + then: + - test: + if: "$NavVerbosity = 'Verbose'" + then: + - t: "mou a la dreta" # phrase('move right') + - pause: short + - test: + if: "$NavVerbosity != 'Terse'" + then: + - t: "columna" # phrase(the first 'column' in the table) + - x: "count(preceding-sibling::*)+2" + - pause: medium + - test: + if: "$NavMode='Character'" + then: + - with: + variables: [NavCommand: "'MoveNextZoom'"] + replace: [x: "following-sibling::*[1]"] + else: + - set_variables: [NavNode: "following-sibling::*[1]/*[1]/@id"] + else: + - t: "no hi ha cap columna següent" # phrase('no next column' in the table) + - set_variables: [SpeakExpression: "'false'"] + +- name: move-cell-up + tag: mtd + match: "$NavCommand='MoveCellUp'" + replace: + - test: + if: "../preceding-sibling::*" + then: + - with: + variables: [Column: "count(preceding-sibling::*)+1"] # store this because otherwise the value is used in the wrong context below + replace: + - test: + if: "$NavVerbosity = 'Verbose'" + then: + - t: "mou amunt" # phrase('move up' to previous row in the table) + - pause: short + - test: + if: "$NavVerbosity != 'Terse'" + then: + - t: "fila" # phrase(the previous 'row' in the table) + - x: "count(../preceding-sibling::*)" + - pause: short + - t: "columna" # phrase(the previous 'column' in the table) + - x: "count(preceding-sibling::*)+1" + - pause: medium + - test: + if: "$NavMode='Character'" + then: + - with: + variables: [NavCommand: "'MoveNextZoom'"] + replace: [x: "../preceding-sibling::*[1]/*[$Column]"] + else: + - set_variables: [NavNode: "../preceding-sibling::*[1]/*[$Column]/*[1]/@id"] + else: + - t: "no hi ha cap fila anterior" # phrase('no previous row' in the table) + - set_variables: [SpeakExpression: "'false'"] + +- name: move-cell-down + tag: mtd + match: "$NavCommand='MoveCellDown'" + replace: + - test: + if: "../following-sibling::*" + then: + - with: + variables: [Column: "count(preceding-sibling::*)+1"] # store this because otherwise the value is used in the wrong context below + replace: + - test: + if: "$NavVerbosity = 'Verbose'" + then: + - t: "mou avall" # phrase('move down' to the next row in the table) + - pause: short + - test: + if: "$NavVerbosity != 'Terse'" + then: + - t: "fila" # phrase(the next 'row' in the table) + - x: "count(../preceding-sibling::*)+2" + - pause: short + - t: "columna" # phrase(the next 'column' in the table) + - x: "count(preceding-sibling::*)+1" + - pause: medium + - test: + if: "$NavMode='Character'" + then: + - with: + variables: [NavCommand: "'MoveNextZoom'"] + replace: [x: "../following-sibling::*[1]/*[$Column]"] + else: + - set_variables: [NavNode: "../following-sibling::*[1]/*[$Column]/*[1]/@id"] + else: + - t: "no hi ha cap fila següent" # phrase('no next row' in the table) + - set_variables: [SpeakExpression: "'false'"] + +- name: move-cell-up + tag: [mtr, mlabeledtr] + match: "$NavCommand='MoveCellUp'" + replace: + - test: + if: "$NavVerbosity = 'Verbose'" + then: + - t: "mou a la fila anterior" # phrase('move to previous row' in the table) + - pause: medium + - test: + if: "preceding-sibling::*" + then: + - test: + if: "$NavMode='Character'" + then: + - with: + variables: [NavCommand: "'MoveNextZoom'"] + replace: [x: "preceding-sibling::*[1]"] + else: + - set_variables: [NavNode: "preceding-sibling::*[1]/@id"] + else: + - t: "no hi ha cap fila anterior" # phrase('no previous row' in the table) + - set_variables: [SpeakExpression: "'false'"] + +- name: move-cell-down + tag: [mtr, mlabeledtr] + match: "$NavCommand='MoveCellDown'" + replace: + - test: + if: "$NavVerbosity = 'Verbose'" + then: + - t: "mou a la fila següent" # phrase('move to next row' in the table) + - pause: medium + - test: + if: "following-sibling::*" + then: + - test: + if: "$NavMode='Character'" + then: + - with: + variables: [NavCommand: "'MoveNextZoom'"] + replace: [x: "following-sibling::*[1]"] + else: + - set_variables: [NavNode: "following-sibling::*[1]/@id"] + else: + - t: "no hi ha cap fila següent" # phrase('no next row' in the table) + - set_variables: [SpeakExpression: "'false'"] + +- name: move-cell-previous + # if a row is selected, there is no previous/next column, so this is trivial + tag: [mtr, mlabeledtr] + match: "$NavCommand='MoveCellPrevious'" + replace: + - test: + if: "$NavVerbosity = 'Verbose'" + then: + - t: "mou a la columna anterior" # phrase('move to previous column' in the table) + - pause: medium + - t: "no hi ha cap columna anterior" # phrase('no previous column' in the table) + - set_variables: [SpeakExpression: "'false'"] + +- name: move-cell-next + # if a row is selected, there is no previous/next column, so this is trivial + tag: [mtr, mlabeledtr] + match: "$NavCommand='MoveCellNext'" + replace: + - test: + if: "$NavVerbosity = 'Verbose'" + then: + - t: "mou a la columna següent" # phrase('move to next column' in the table) + - pause: medium + - t: "no hi ha cap columna següent" # phrase('no next row' in the table) + - set_variables: [SpeakExpression: "'false'"] + +- name: default-read-cell + tag: "*" + match: "$NavCommand='ReadCellCurrent'" + replace: + - with: + variables: [MTD: "ancestor::m:mtd"] + replace: + - test: + if: "$MTD" + then: + - test: + if: "$NavVerbosity = 'Verbose'" + then: + - t: "llegeix l'entrada actual" # phrase('read current entry' in the table) + - pause: medium + - test: + if: "$NavVerbosity != 'Terse'" + then: + - t: "fila" # phrase(the previous 'row' in the table) + - x: "count($MTD[1]/../preceding-sibling::*)+1" + - pause: short + - t: "columna" # phrase(the previous 'column' in the table) + - x: "count($MTD[1]/preceding-sibling::*)+1" + - pause: short + - set_variables: [NavNode: "$MTD[1]/*[1]/@id"] + else: + - t: "no és dins d'una taula" # phrase('not in table' or matrix) + - pause: long + - set_variables: [SpeakExpression: "'false'"] + +# mtd ? ( $NavCommand='MoveColumnStart' ) +# => MoveColStart { +# ruleRef = name(^^match); +# column = index(match); +# ::StartPosition = ^^match[0][index(match)][0].dfs; +# ::EndPosition = ^^match[0][index(match)][0].offset; +# }; + +# mtd ? ( $NavCommand='MoveColumnEnd' ) +# => MoveColEnd { +# ruleRef = name(^^match); +# column = index(match); +# ::StartPosition = ^^match[count(^^match)-1][index(match)][0].dfs; +# ::EndPosition = ^^match[count(^^match)-1][index(match)][0].offset; +# }; + + + +# # Rules for columnar math (mstack and mlongdiv) -- each row is an msrow or mscarries except for the start of mlongdiv +# # FIX: not dealing with different number of digits on different lines +# # FIX: not dealing with + (etc) on same line if they are on the right side (Dutch, others) +# # FIX: not dealing with intervening msline (say it and move on??) +# # FIX: not dealing with carries well +# # FIX: not dealing with navigation of first three children of mlongdiv +# char ? ( has_parent(match, 2) && name(^match)=="mn" && name(^^match)=="msrow" && +# ($NavCommand="MovePrevious" || $NavCommand='MoveCellPrevious') && has_previous(match) ) +# => MoveCell { +# ruleRef = name(^^match); +# wordRef = "previous"; +# ::StartPosition = previous(match).dfs; +# ::EndPosition = previous(match).offset; +# }; + +# # no previous child -- in first column -- don't move +# char ? ( has_parent(match, 2) && name(^match)=="mn" && name(^^match)=="msrow" && +# ($NavCommand="MovePrevious" || $NavCommand='MoveCellPrevious' ) ) +# => MoveCell { +# ruleRef = name(^^match); +# wordRef = "previous"; +# childIndex = -1; # key to know what to say for each notation +# ::SpeakAfterMove = false; +# }; + +# char ? ( has_parent(match, 2) && name(^match)=="mn" && name(^^match)=="msrow" && +# ($NavCommand="MoveNext" || $NavCommand='MoveCellNext') && has_next(match) ) +# => MoveCell { +# ruleRef = name(^^match); +# wordRef = "next"; +# ::StartPosition = next(match).dfs; +# ::EndPosition = next(match).offset; +# }; + +# # no next child -- in first column -- don't move +# char ? ( has_parent(match, 2) && name(^match)=="mn" && name(^^match)=="msrow" && +# ($NavCommand="MoveNext" || $NavCommand='MoveCellNext' ) ) +# => MoveCell { +# ruleRef = name(^^match); +# wordRef = "next"; +# childIndex = -1; # key to know what to say for each notation +# ::SpeakAfterMove = false; +# }; + +# char ? ( has_parent(match, 2) && name(^match)=="mn" && name(^^match)=="msrow" && +# $NavCommand='MoveCellUp' && has_previous(^^match) ) +# => MoveCell { +# ruleRef = name(^^match); +# wordRef = "up"; +# ::StartPosition = ^^^match[index(^^match)-1][-1][index(match)-count(^match)].dfs; +# ::EndPosition = ^^^match[index(^^match)-1][-1][index(match)-count(^match)].offset; +# }; + +# # no previous child -- in first column -- don't move +# char ? ( has_parent(match, 2) && name(^match)=="mn" && name(^^match)=="msrow" && +# $NavCommand='MoveCellUp' ) +# => MoveCell { +# ruleRef = name(^^match); +# wordRef = "up"; +# childIndex = -1; # key to know what to say for each notation +# ::SpeakAfterMove = false; +# }; + +# char ? ( has_parent(match, 2) && name(^match)=="mn" && name(^^match)=="msrow" && +# $NavCommand='MoveCellDown' && has_next(^^match) ) +# => MoveCell { +# ruleRef = name(^^match); +# wordRef = "down"; +# ::StartPosition = ^^^match[index(^^match)+1][-1][index(match)-count(^match)].dfs; +# ::EndPosition = ^^^match[index(^^match)+1][-1][index(match)-count(^match)].offset; +# }; + +# # no previous child -- in first column -- don't move +# char ? ( has_parent(match, 2) && name(^match)=="mn" && name(^^match)=="msrow" && +# $NavCommand='MoveCellDown' ) +# => MoveCell { +# ruleRef = name(^^match); +# wordRef = "down"; +# childIndex = -1; # key to know what to say for each notation +# ::SpeakAfterMove = false; +# }; + +# char ? ( has_parent(match, 2) && name(^match)=="mn" && name(^^match)=="msrow" && +# $NavCommand='MoveColumnStart' ) +# => MoveColStart { +# ruleRef = name(^^match); +# column = index(match); +# ::StartPosition = ^^^match[0][-1][index(match)-count(^match)].dfs; +# ::EndPosition = ^^^match[0][-1][index(match)-count(^match)].offset; +# }; + +# char ? ( has_parent(match, 2) && name(^match)=="mn" && name(^^match)=="msrow" && +# $NavCommand='MoveColumnEnd' ) +# => MoveColEnd { +# ruleRef = name(^^match); +# column = index(match); +# ::StartPosition = ^^^match[count(^^^match)-1][-1][index(match)-count(^match)].dfs; +# ::EndPosition = ^^^match[count(^^^match)-1][-1][index(match)-count(^match)].offset; +# }; + +# any ? ( (name(match)=="mn" || name(match)=="none") && +# has_parent(match) && name(^match)=="mscarries" && +# ($NavCommand="MovePrevious" || $NavCommand='MoveCellPrevious') && has_previous(match) ) +# => MoveCell { +# ruleRef = name(^match); +# wordRef = "previous"; +# ::StartPosition = previous(match).dfs; +# ::EndPosition = previous(match).offset; +# }; + +# # no previous child -- in first column -- don't move +# any ? ( (name(match)=="mn" || name(match)=="none") && +# has_parent(match) && name(^match)=="mscarries" && +# ($NavCommand="MovePrevious" || $NavCommand='MoveCellPrevious') ) +# => MoveCell { +# ruleRef = name(^match); +# wordRef = "previous"; +# childIndex = -1; # key to know what to say for each notation +# ::SpeakAfterMove = false; +# }; + +# any ? ( (name(match)=="mn" || name(match)=="none") && +# has_parent(match) && name(^match)=="mscarries" && +# ($NavCommand="MoveNext" || $NavCommand='MoveCellNext') && has_next(match) ) +# => MoveCell { +# ruleRef = name(^match); +# wordRef = "next"; +# ::StartPosition = next(match).dfs; +# ::EndPosition = next(match).offset; +# }; + +# # no next child -- in last column -- don't move +# any ? ( (name(match)=="mn" || name(match)=="none") && +# has_parent(match) && name(^match)=="mscarries" && +# ($NavCommand="MoveNext" || $NavCommand='MoveCellNext') ) +# => MoveCell { +# ruleRef = name(^match); +# wordRef = "next"; +# childIndex = -1; # key to know what to say for each notation +# ::SpeakAfterMove = false; +# }; + +# any ? ( (name(match)=="mn" || name(match)=="none") && +# has_parent(match) && name(^match)=="mscarries" && +# $NavCommand='MoveCellUp' && has_previous(^match) ) +# => MoveCell { +# ruleRef = name(^match); +# wordRef = "up"; +# ::StartPosition = ^^match[index(^match)-1][index(match)-count(^match)].dfs; +# ::EndPosition = ^^match[index(^match)-1][index(match)-count(^match)].offset; +# }; + +# # no previous child -- in first row -- don't move +# any ? ( (name(match)=="mn" || name(match)=="none") && +# has_parent(match) && name(^match)=="mscarries" && +# $NavCommand='MoveCellUp' ) +# => MoveCell { +# ruleRef = name(^match); +# wordRef = "up"; +# childIndex = -1; # key to know what to say for each notation +# ::SpeakAfterMove = false; +# }; + +# any ? ( (name(match)=="mn" || name(match)=="none") && +# has_parent(match) && name(^match)=="mscarries" && +# $NavCommand='MoveCellDown' && has_next(^match) ) +# => MoveCell { +# ruleRef = name(^match); +# wordRef = "down"; +# ::StartPosition = ^^match[index(^match)+1][-1][index(match)-count(^match)].dfs; +# ::EndPosition = ^^match[index(^match)+1][-1][index(match)-count(^match)].offset; +# }; + +# # no next child -- in last row -- don't move +# any ? ( (name(match)=="mn" || name(match)=="none") && +# has_parent(match) && name(^match)=="mscarries" && +# $NavCommand='MoveCellDown' ) +# => MoveCell { +# ruleRef = name(^match); +# wordRef = "down"; +# childIndex = -1; # key to know what to say for each notation +# ::SpeakAfterMove = false; +# }; + +# mn ? ( has_parent(match, 2) && name(^match)=="mn" && name(^^match)=="msrow" && +# $NavCommand='MoveColumnStart' ) +# => MoveColStart { +# ruleRef = name(^^match); +# column = index(match); +# ::StartPosition = ^^^match[0][-1][index(match)-count(^match)].dfs; +# ::EndPosition = ^^^match[0][-1][index(match)-count(^match)].offset; +# }; + +# mn ? ( has_parent(match, 2) && name(^match)=="mn" && name(^^match)=="msrow" && +# $NavCommand='MoveColumnEnd' ) +# => MoveColEnd { +# ruleRef = name(^^match); +# column = index(match); +# ::StartPosition = ^^^match[count(^^^match)-1][-1][index(match)-count(^match)].dfs; +# ::EndPosition = ^^^match[count(^^^match)-1][-1][index(match)-count(^match)].offset; +# }; + + + +- name: default-cell-move + + tag: "*" + match: + - "$NavCommand='MoveCellPrevious' or $NavCommand='MoveCellNext' or" + - "$NavCommand='MoveCellUp' or $NavCommand='MoveCellDown' or" + - "$NavCommand='MoveColumnStart' or $NavCommand='MoveColumnEnd' or" + - "$NavCommand='ReadCellCurrent'" + replace: + - test: + if: "ancestor::m:mtd" + then: + - x: "ancestor::m:mtd[1]" # try again on an mtd node + else: + - t: "no és dins d'una taula" # phrase('not in table' or matrix) + - pause: long + - set_variables: [SpeakExpression: "'false'"] + +# ======== Move/Read/Describe Next rules ================= + + +- name: move-next-character + tag: [mn, mi, mtext] + match: + - "($NavCommand = 'MoveNext' or $NavCommand = 'ReadNext' or $NavCommand = 'DescribeNext' or $NavCommand = 'MoveNextZoom') and" + - "$NavNodeOffset > 0 and" + - "($NavNodeOffset < string-length(.) or name(EdgeNode(., 'right', 'math'))!='math')" # not at edge of math + replace: + - test: + if: "$NavNodeOffset < string-length(.)" + then: + - with: + variables: [SayCommand: "string($NavVerbosity = 'Verbose')"] + replace: [x: "."] + - set_variables: [NavNodeOffset: "$NavNodeOffset + 1"] + else: + - with: + variables: [SayCommand: "string($NavVerbosity = 'Verbose')"] + replace: [x: "."] + - set_variables: [NavNodeOffset: "0"] + - x: "." + +# skip 'none' +- name: move-next-none + tag: [none, mprescripts] + match: + - "($NavCommand = 'MoveNext' or $NavCommand = 'ReadNext' or $NavCommand = 'DescribeNext' or $NavCommand = 'DescribePrevious' or $NavCommand = 'MoveNextZoom') and" + - "parent::*[1][name(.)='mmultiscripts'] and following-sibling::*" + replace: + - with: + variables: [Following: "following-sibling::*[1]"] + replace: + # two 'none's in a row -- move over and try again; one 'none', zoom in on next + - test: + if: "$Following[name(.)='none']" + then: [x: "$Following"] + else: + - with: + variables: [Move2D: "'in'", Child2D: "$Following"] # phrase('in' the denominator) + replace: [x: ".."] + - with: + variables: [NavCommand: "'MoveNextZoom'"] + replace: [x: "$Following"] + + + +# skip invisible chars except for Enhanced mode when "times" should be read +- name: move-next-invisible + tag: "*" + match: + - "($NavCommand = 'MoveNext' or $NavCommand = 'ReadNext' or $NavCommand = 'DescribeNext') and" + - "following-sibling::*[1][name(.)='mo' and translate(., '\u2061\u2062\u2063\u2064', '')='']" + replace: + - with: + variables: [SayCommand: "string($NavVerbosity = 'Verbose')"] + replace: [x: "."] + - test: + if: "following-sibling::*[1][.='\u2062' or .='\u2064'] and + ($NavMode='Enhanced' or ($NavMode='Simple' and following-sibling::*[2][not(IsNode(., 'mathml'))]))" # invisible times and plus + then: [set_variables: [NavNode: "following-sibling::*[1]/@id"]] + else: [x: "following-sibling::*[1]"] + +- name: move-next-no-auto-zoom-at-edge + # at edge of 2D and in a mode where moving right isn't an option + tag: "*" + variables: [EdgeNode: "EdgeNode(., 'right', '2D')"] + match: "$NavCommand = 'MoveNext' and $NavMode!='Character' and not($AutoZoomOut) and $EdgeNode/@id!=@id" + replace: + - test: + if: "$MatchCounter = 0 and $NavVerbosity = 'Verbose'" + then: + - t: "no es pot moure a la dreta" # phrase('cannot move right') + - pause: medium + - with: + variables: + - Move2D: "'end of'" + - Child2D: "$EdgeNode/*[last()]" + - MatchCounter: $MatchCounter + 1 + replace: [x: "$EdgeNode"] + - pause: long + - set_variables: [SpeakExpression: "'false'"] + +- name: move-next-no-auto-zoom-at-edge-math + # at edge of math -- no where to go (must be after we rule out being at the edge of 2D) because we want to speak that + tag: "*" + match: + - "($NavCommand = 'MoveNext' or $NavCommand = 'ReadNext' or $NavCommand = 'DescribeNext') and" + - "(self::m:math or name(EdgeNode(., 'right', 'math'))='math')" # at edge of math + replace: + - test: + if: "$MatchCounter = 0 and $NavVerbosity = 'Verbose'" + then: + - t: "no es pot" # phrase('cannot' move right in expression) + - test: + - if: "$NavCommand = 'MoveNext'" + then: [t: "mou"] # phrase('move' to next entry in table) + - else_if: "$NavCommand = 'ReadNext'" + then: [t: "llegeix"] # phrase('read' next entry in table) + else: [t: "descriu"] # phrase('describe' next entry in table) + - t: "dreta" # phrase(move 'right') + - pause: short + - t: "fi de les matemàtiques" # phrase(move 'end of math') + - pause: long + - set_variables: [SpeakExpression: "'false'"] + +- name: move-next-auto-zoom-up-one-level + # Last child or in auto-zoom'd in-- move up a level and try again + # Note: we've already checked the for the case where we are at an edge and should not AutoZoomOut + tag: "*" + match: + - "($NavCommand = 'MoveNext' or $NavCommand = 'ReadNext' or $NavCommand = 'DescribeNext') and" + - "( not(following-sibling::*) or" + - " ( $NavMode='Enhanced' and " + - " count(following-sibling::*)=1 and (IsBracketed(.., '(', ')') or IsBracketed(.., '[', ']'))" + - " )" + - ")" + replace: + - with: + variables: [SayCommand: "string($NavVerbosity = 'Verbose')"] + replace: [x: "."] + - test: + if: "following-sibling::*" + then: + - with: + variables: [Move2D: "'in'", Child2D: "."] # phrase('in' the denominator) + replace: [x: ".."] + else: + - with: + variables: [Move2D: "'out of'", Child2D: "."] + replace: [x: ".."] + - x: ".." + +# At this point, if XXXNext, then we know there is must be a right sibling +- name: move-next-default + tag: mtd + match: "$Move2D = '' and ($NavCommand = 'MoveNext' or $NavCommand = 'ReadNext' or $NavCommand = 'DescribeNext')" + replace: + - with: + variables: [SayCommand: "string($NavVerbosity = 'Verbose')"] + replace: [x: "."] + - test: + if: "following-sibling::*" + then: + - test: + if: "$NavVerbosity = 'Verbose'" + then: + - t: "columna" # phrase(the previous 'column' in the table) + - x: "count(preceding-sibling::*)+2" + - pause: short + - test: + if: "$NavMode = 'Character'" + then: + - with: + variables: [NavCommand: "'MoveNextZoom'"] + replace: [x: "following-sibling::*[1]"] + else: [set_variables: [NavNode: "following-sibling::*[1]/*[1]/@id"]] + else: + - x: ".." # try again at the row level + +- name: move-next-default + tag: [mtr, mlabeledtr] + match: "$Move2D = '' and + ($NavCommand = 'MoveNext' or $NavCommand = 'ReadNext' or $NavCommand = 'DescribeNext') and + following-sibling::*" + replace: + - with: + variables: [SayCommand: "string($NavVerbosity = 'Verbose')"] + replace: [x: "."] + - test: + if: "$NavMode = 'Character'" + then: + - with: + variables: [NavCommand: "'MoveNextZoom'"] + replace: [x: "following-sibling::*[1]"] + else: + - set_variables: [NavNode: "following-sibling::*[1]/@id"] + +- name: move-next-auto-zoom-parens + # auto-zoom into next child if next child is parenthesized expr + tag: "*" + match: + - "($NavCommand = 'MoveNext' or $NavCommand = 'ReadNext' or $NavCommand = 'DescribeNext') and" + - "$NavMode='Enhanced' and" + - "parent::m:mrow and following-sibling::* and" + - "following-sibling::*[1][self::m:mrow and count(*)=3 and " #exclude empty parens + - " (IsBracketed(., '(', ')') or IsBracketed(., '[', ']'))" + - " ]" + replace: + - with: + variables: [SayCommand: "string($NavVerbosity = 'Verbose')"] + replace: [x: "."] + - set_variables: [NavNode: "following-sibling::*[1]/*[2]/@id"] + +# normal cases for MoveNext +- name: move-next-locked-zoom-level + # locked zoom level + tag: "*" + match: + - "($NavCommand = 'MoveNext' or $NavCommand = 'ReadNext' or $NavCommand = 'DescribeNext') and" + - "$ReadZoomLevel>=0" + replace: + - with: + variables: [SayCommand: "string($NavVerbosity = 'Verbose')"] + replace: [x: "."] + - test: + # if in base (nothing before), we must be moving to a script, so "in" will be said + if: "preceding-sibling::* and following-sibling::*[1][name(.)='none']" + then: + - with: + variables: [Move2D: "'out of'", Child2D: "."] + replace: [x: ".."] + - x: "following-sibling::*[1]" + else: + - with: + variables: [Move2D: "'in'", Child2D: "following-sibling::*[1]"] # phrase('in' the denominator) + replace: [x: ".."] + - with: + variables: [NavCommand: "'MoveNextZoom'"] + replace: [x: "following-sibling::*[1]"] + +- name: move-next-default + tag: "*" + match: "$NavCommand = 'MoveNext' or $NavCommand = 'ReadNext' or $NavCommand = 'DescribeNext'" + replace: + - with: + variables: [SayCommand: "string($NavVerbosity = 'Verbose')"] + replace: [x: "."] + - test: + if: "following-sibling::*[1][@data-from-mathml='none' or @data-from-mathml='mprescripts']" + then: [x: "following-sibling::*[1]"] + else: + - test: + if: "IsNode(.., '2D') or not(IsNode(.., 'mathml'))" + then: + - with: + variables: [Move2D: "'in'", Child2D: "following-sibling::*[1]"] # phrase('in' the denominator) + replace: [x: ".."] + - set_variables: [NavNode: "following-sibling::*[1]/@id"] + +# ======== Move/Read/Describe Previous rules ================= + +# skip 'none' +- name: move-previous-none + tag: [none, mprescripts] + match: + - "($NavCommand = 'MovePrevious' or $NavCommand = 'ReadPrevious' or $NavCommand = 'DescribePrevious' or $NavCommand = 'MovePreviousZoom') and" + - "parent::*[1][name(.)='mmultiscripts'] and preceding-sibling::*" + replace: + - with: + variables: [Preceding: "preceding-sibling::*[1]"] + replace: + # two 'none's in a row -- move over and try again; one 'none', zoom in on preceding + - test: + if: "$Preceding[name(.)='none']" + then: [x: "$Preceding"] + else: + - with: + variables: [Move2D: "'in'", Child2D: "$Preceding"] # phrase('in' the denominator) + replace: [x: ".."] + - with: + variables: [NavCommand: "'MovePreviousZoom'"] + replace: [x: "$Preceding"] + + +# skip invisible chars except for Enhanced mode when "times" should be read +- name: move-previous-invisible + tag: "*" + match: + - "($NavCommand = 'MovePrevious' or $NavCommand = 'ReadPrevious' or $NavCommand = 'DescribePrevious') and" + - "preceding-sibling::*[1][name(.)='mo' and translate(., '\u2061\u2062\u2063\u2064', '')='']" + replace: + - with: + variables: [SayCommand: "string($NavVerbosity = 'Verbose')"] + replace: [x: "."] + - test: + if: "preceding-sibling::*[1][.='\u2062' or .='\u2064'] and $NavMode='Enhanced'" # invisible times and plus + then: [set_variables: [NavNode: "preceding-sibling::*[1]/@id"]] + else: [x: "preceding-sibling::*[1]"] + +# two rules for when can't move left +- name: move-previous-no-auto-zoom-at-edge + # at edge of 2D and in a mode where moving left isn't an option + tag: "*" + variables: [EdgeNode: "EdgeNode(., 'left', '2D')"] + match: "$NavCommand = 'MovePrevious' and $NavMode!='Character' and not($AutoZoomOut) and $EdgeNode/@id!=@id" + replace: + - test: + if: "$MatchCounter = 0 and $NavVerbosity = 'Verbose' and $NavCommand = 'MovePrevious'" + then: + - t: "no es pot moure a l'esquerra" # phrase('cannot move left' in expression) + - pause: medium + - with: + variables: + - Move2D: "'end of'" + - Child2D: "$EdgeNode/*[1]" + - MatchCounter: $MatchCounter + 1 + replace: [x: "$EdgeNode"] + - pause: long + +- name: move-previous-no-auto-zoom-at-edge-of-math + # at edge of math -- no where to go (must be after we rule out being at the edge of 2D) because we want to speak that + tag: "*" + match: + - "($NavCommand = 'MovePrevious' or $NavCommand = 'ReadPrevious' or $NavCommand = 'DescribePrevious') and" + - "(self::m:math or name(EdgeNode(., 'left', 'math'))='math')" + replace: + - t: "inici de les matemàtiques" # phrase('start of math') + - pause: long + - set_variables: [SpeakExpression: "'false'"] + +- name: move-previous-at-end + tag: "*" + match: + - "($NavCommand = 'MovePrevious' or $NavCommand = 'ReadPrevious' or $NavCommand = 'DescribePrevious') and" + - "name(EdgeNode(., 'left', 'math'))='math'" # at edge of math + replace: + - test: + if: "$MatchCounter = 0 and $NavVerbosity = 'Verbose'" + then: + - t: "no es pot moure a l'esquerra" # phrase('cannot move left') + - pause: short + - with: + variables: [Move2D: "'start of'", Child2D: "."] + replace: [x: "."] + - pause: long + - set_variables: [SpeakExpression: "'false'"] + +- name: move-prev-character + tag: [mn, mi, mtext] + match: + - "($NavCommand = 'MovePrevious' or $NavCommand = 'ReadPrevious' or $NavCommand = 'DescribePrevious' or $NavCommand = 'MovePreviousZoom') and" + - "$NavNodeOffset > 0 and" + - "($NavNodeOffset > 1 or name(EdgeNode(., 'left', 'math'))!='math')" # not at edge of math + replace: + - test: + if: "$NavNodeOffset > 1" + then: + - with: + variables: [SayCommand: "string($NavVerbosity = 'Verbose')"] + replace: [x: "."] + - set_variables: [NavNodeOffset: "$NavNodeOffset - 1"] + else: + - with: + variables: [SayCommand: "string($NavVerbosity = 'Verbose')"] + replace: [x: "."] + - set_variables: [NavNodeOffset: "0"] + - x: "." + +- name: move-previous-auto-zoom-up-one-level + # Last child or in auto-zoom'd in-- move up a level and try again + # Note: we've already checked the for the case where we are at an edge and should not AutoZoomOut + tag: "*" + match: + - "($NavCommand = 'MovePrevious' or $NavCommand = 'ReadPrevious' or $NavCommand = 'DescribePrevious') and" + - "( not(preceding-sibling::*) or" + - " ( $NavMode='Enhanced' and " + - " count(preceding-sibling::*)=1 and (IsBracketed(.., '(', ')') or IsBracketed(.., '[', ']'))" + - " )" + - ")" + replace: + - with: + variables: [SayCommand: "string($NavVerbosity = 'Verbose')"] + replace: [x: "."] + - test: + if: "preceding-sibling::*" + then: + - with: + variables: [Move2D: "'in'", Child2D: "."] # phrase('in' the denominator) + replace: [x: ".."] + else: + - with: + variables: [Move2D: "'out of'", Child2D: "."] + replace: [x: ".."] + - x: ".." + +- name: move-previous-auto-zoom-parens + # auto-zoom into previous child if previous child is parenthesized expr + # Note: there is an asymmetry here from MoveNext because the base of a scripted might have parens for grouping, but not true for the script + tag: "*" + match: + - "($NavCommand = 'MovePrevious' or $NavCommand = 'ReadPrevious' or $NavCommand = 'DescribePrevious') and" + - "$NavMode='Enhanced' and" + - "preceding-sibling::* and" + - "(parent::m:mrow or parent::m:msub or parent::m:msup or" + - " (count(preceding-sibling::*)=1 and (parent::m:msubsup or parent::m:mmultiscripts))" # make sure moving into base + - ") and" + - "preceding-sibling::*[1][self::m:mrow and count(*)=3 and " #exclude empty parens + - " (IsBracketed(., '(', ')') or IsBracketed(., '[', ']'))" + - " ]" + replace: + - with: + variables: [SayCommand: "string($NavVerbosity = 'Verbose')"] + replace: [x: "."] + - test: + if: "not(parent::m:mrow)" + then: + - with: + variables: [Move2D: "'in'", Child2D: "preceding-sibling::*[1]"] # phrase('in' the denominator) + replace: [x: ".."] + - set_variables: [NavNode: "preceding-sibling::*[1]/*[2]/@id"] + +# normal cases for MovePrevious + +- name: move-previous-default + tag: mtd + match: "$Move2D = '' and + ($NavCommand = 'MovePrevious' or $NavCommand = 'ReadPrevious' or $NavCommand = 'DescribePrevious') and + preceding-sibling::*" + replace: + - with: + variables: [SayCommand: "string($NavVerbosity = 'Verbose')"] + replace: [x: "."] + - test: + if: "$NavVerbosity = 'Verbose'" + then: + - t: "columna" # phrase(the first 'column' in the table) + - x: "count(preceding-sibling::*)" + - pause: short + - test: + if: "$NavMode = 'Character'" + then: + - with: + variables: [NavCommand: "'MovePreviousZoom'"] + replace: [x: "preceding-sibling::*[1]"] + else: [set_variables: [NavNode: "preceding-sibling::*[1]/*[last()]/@id"]] + +- name: move-previous-default + tag: [mtr, mlabeledtr] + match: "$Move2D = '' and ($NavCommand = 'MovePrevious' or $NavCommand = 'ReadPrevious' or $NavCommand = 'DescribePrevious')" + replace: + - with: + variables: [SayCommand: "string($NavVerbosity = 'Verbose')"] + replace: [x: "."] + - test: + if: "preceding-sibling::*" + then: + - test: + if: "$NavMode = 'Character'" + then: + - with: + variables: [NavCommand: "'MovePreviousZoom'"] + replace: [x: "preceding-sibling::*[1]"] + else: + - set_variables: [NavNode: "preceding-sibling::*[1]/@id"] + else: [x: ".."] # try again for after + +- name: move-previous-locked-zoom-level + # locked zoom level + tag: "*" + match: + - "($NavCommand = 'MovePrevious' or $NavCommand = 'ReadPrevious' or $NavCommand = 'DescribePrevious') and" + - "$ReadZoomLevel>=0" + replace: + - with: + variables: [SayCommand: "string($NavVerbosity = 'Verbose')"] + replace: [x: "."] + - test: + # if moving into base (nothing before), we must be moving to the base, so "in" will be said + if: "count(preceding-sibling::*) > 2 and preceding-sibling::*[1][name(.)='none']" + then: + - with: + variables: [Move2D: "'out of'", Child2D: "."] + replace: [x: ".."] + - x: "preceding-sibling::*[1]" # skip over 'none' + else: + - with: + variables: [Move2D: "'in'", Child2D: "preceding-sibling::*[1]"] # phrase('in' the denominator) + replace: [x: ".."] + - with: + variables: [NavCommand: "'MovePreviousZoom'"] + replace: [x: "preceding-sibling::*[1]"] + +- name: move-previous-default + tag: "*" + match: "$NavCommand = 'MovePrevious' or $NavCommand = 'ReadPrevious' or $NavCommand = 'DescribePrevious'" + replace: + - with: + variables: [SayCommand: "string($NavVerbosity = 'Verbose')"] + replace: [x: "."] + - test: + if: "preceding-sibling::*[1][@data-from-mathml='none' or @data-from-mathml='mprescripts']" + then: [x: "preceding-sibling::*[1]"] + else: + - test: + if: "IsNode(.., '2D') or not(IsNode(.., 'mathml'))" + then: + - with: + variables: [Move2D: "'in'", Child2D: "preceding-sibling::*[1]"] # phrase('in' the denominator) + replace: [x: ".."] + - set_variables: [NavNode: "preceding-sibling::*[1]/@id"] + +# ********* ReadZoomLevel toggle *************** +# These set ::NavMode + +- name: toggle-mode-up + tag: "*" + match: "$NavCommand = 'ToggleZoomLockUp'" + replace: + - test: + - if: "$NavMode = 'Enhanced'" + then: + - t: "caràcter" # phrase(a mathematical 'character') + - set_variables: [NavMode: "'Character'", ReadZoomLevel: "1"] + - else_if: "$NavMode = 'Character'" + then: + - t: "simple" # phrase(a 'simple' way to do something) + - set_variables: [NavMode: "'Simple'", ReadZoomLevel: "1"] + - else: + - t: "millorat" # phrase(an 'enhanced' way to do something) + - set_variables: [NavMode: "'Enhanced'", ReadZoomLevel: "-1"] + - t: "mode" # phrase(a simple 'mode' of use) + - pause: long + - test: + - if: "$NavMode != 'Enhanced'" # potentially need to zoom to the sibling + then: + - with: + variables: [MatchCounter: "$MatchCounter + 1", NavCommand: "'MoveNextZoom'"] + replace: [x: "."] + +- name: toggle-mode-down + tag: "*" + match: "$NavCommand = 'ToggleZoomLockDown'" + replace: + - test: + - if: "$NavMode = 'Enhanced'" + then: + - t: "simple" # phrase(a 'simple' way to do something) + - set_variables: [NavMode: "'Simple'", ReadZoomLevel: "1"] + - else_if: "$NavMode = 'Character'" + then: + - t: "millorat" # phrase(an 'enhanced' way to do something) + - set_variables: [NavMode: "'Enhanced'", ReadZoomLevel: "-1"] + - else: + - t: "caràcter" # phrase(a mathematical 'character') + - set_variables: [NavMode: "'Character'", ReadZoomLevel: "1"] + - t: "mode" # phrase(a simple 'mode' of use) + - pause: long + - test: + - if: "$NavMode != 'Enhanced'" # potentially need to zoom to the sibling + then: + - with: + variables: [MatchCounter: "$MatchCounter + 1", NavCommand: "'MoveNextZoom'"] + replace: [x: "."] + +- name: toggle-speech-describe + tag: "*" + match: "$NavCommand = 'ToggleSpeakMode'" + replace: + - test: + if: "$Overview = 'true'" + then: + - t: "llegeix l'expressió després del moviment" # phrase('speak expression after move') + - pause: long + - set_variables: [Overview: "'false'"] + else: + - t: "resum de l'expressió després del moviment" # phrase('overview of expression after move') + - pause: long + - set_variables: [Overview: "'true'"] + +- name: current + tag: "*" + match: "$NavCommand = 'ReadCurrent' or $NavCommand = 'DescribeCurrent'" + replace: + - test: + if: "$NavVerbosity = 'Verbose'" + then: + - test: + - if: "$NavCommand = 'ReadCurrent'" + then: [t: "llegeix"] # phrase('read' next entry in table) + else: [t: "descriu"] # phrase('describe' next entry in table) + - t: "actual" # phrase('current' entry in table) + - pause: long + - set_variables: [NavNode: "@id"] + +# this needs to be near the end because we only test for 'Describe', "Read", etc., and we don't want to get 'DescribeNext', etc. +- name: placemarker + + tag: "*" + match: + - "starts-with($NavCommand, 'Read') or " + - "starts-with($NavCommand, 'Describe') or " + - "starts-with($NavCommand, 'MoveTo')" + replace: + - test: + if: "$NavVerbosity != 'Terse'" + then: + - test: + - if: "starts-with($NavCommand, 'Read')" + then: [t: "llegeix"] # phrase('read' next entry in table) + - else_if: "starts-with($NavCommand, 'Describe')" + then: [t: "descriu"] # phrase('describe' next entry in table) + - else_if: "starts-with($NavCommand, 'MoveTo')" + then: [t: "mou a "] # phrase('move to' the next entry in table) + else: [t: "estableix"] # phrase('set' the value of the next entry in table) + - t: "marcador de posició" # phrase('placeholder' for the value) + - x: "$PlaceMarkerIndex" + - pause: long + - set_variables: [NavNode: "$PlaceMarker"] + +- name: set-placemarker + tag: "*" + match: "starts-with($NavCommand, 'SetPlacemarker')" + replace: + - test: + if: "$NavVerbosity != 'Terse'" + then: + - t: "estableix el marcador de posició" # phrase('set placeholder' to the value) + - x: "$PlaceMarkerIndex" + - pause: long + - set_variables: [NavNode: "@id"] + +# ********* WhereAmI *************** + +# FIX: WhereAmI needs support from the Rust code to loop around and do speech at each iteration. +# Alternatively, it could insert a special token that Rust code does a "replace" on with the speech (e.g. SPEECH_AT{id}) +# or a new command "speak" which takes a node id +- name: where-am-i-start + tag: "*" + match: "($NavCommand = 'WhereAmI' or $NavCommand = 'WhereAmIAll') and $MatchCounter = 0" + replace: + - translate: "@id" + - pause: long + - with: + variables: [MatchCounter: "$MatchCounter + 1"] + replace: [x: ".."] + +- name: where-am-i-stop + tag: "*" + match: + - "($NavCommand = 'WhereAmI' or $NavCommand = 'WhereAmIAll') and $MatchCounter > 0 and" + # stopping conditions + - "(self::m:math or " + - " parent::*[self::m:math and (count(*)=1 or (count(*)=2 and *[2][.=',' or .='.' or .=';' or .='?']) ) ] " + - ")" + replace: + - test: + if: "$NavCommand = 'WhereAmI'" + then: + - t: "dins, no hi ha res més" # phrase('inside of nothing more') + - pause: long + - set_variables: [SpeakExpression: "'false'"] + else: + - t: "dins" # phrase('inside' a big expression) + - pause: medium + - set_variables: [NavNode: "@id"] + +- name: where-am-i-middle + tag: "*" + match: "$NavCommand = 'WhereAmI' or $NavCommand = 'WhereAmIAll'" + replace: + - t: "dins" # phrase('inside' a big expression) + - pause: medium + - test: + - if: "$NavMode='Enhanced' and parent::*[self::m:mrow and (IsBracketed(., '(', ')', false) or IsBracketed(., '[', ']', false))]" + then: [x: ".."] # auto-zoom up + - else_if: "$NavCommand = 'WhereAmI'" + then: [set_variables: [NavNode: "@id"]] + else: + - translate: "@id" + - pause: long + - x: '..' diff --git a/Rules/Languages/ca/overview.yaml b/Rules/Languages/ca/overview.yaml new file mode 100644 index 000000000..2a2218ddf --- /dev/null +++ b/Rules/Languages/ca/overview.yaml @@ -0,0 +1,123 @@ +--- +# Provide an overview/outline/description of the math +# MathPlayer just tried to shorten things like "mfrac" by just saying "fraction" +# For mrow, it say up to 5 operands and just say "and n more things" for the rest +# This results in strings of varying length. Given human memory is about 7 words long, +# it would be better to aim for 7 words (maybe aim for a range of 6-10 words). +# Idea: +# Start by generating a terse form of the speech +# At every step when the strings are being joined +# a) if the #words <= 7, return the joined string +# b) otherwise, set verbosity to 'overview' and regenerate the expression and use that +# There is a balance that you want to maximize the info given, so 10 words is likely better then 3. +# That might mean that at the top level, we may want to allow the first few children to expand + + +- name: overview-default + tag: [mfrac, fraction] + match: "." + replace: + - test: + if: "IsNode(*[1], 'simple') and IsNode(*[2], 'simple')" + then: + - x: "*[1]" + - t: "sobre" + - x: "*[2]" + else: + - t: "fracció" + +- name: overview-default + tag: [msqrt, "square-root"] + match: "." + replace: + - t: "arrel quadrada" + - test: + if: "IsNode(*[1], 'simple')" + then: + - test: + if: "$Verbosity!='Terse'" + then: [t: "de"] + - x: "*[1]" + +- name: overview-default + tag: [mroot, root] + match: "." + replace: + - test: + if: "*[2][self::m:mn]" + then_test: + - if: "*[2][.='2']" + then: [t: "arrel quadrada"] + - else_if: "*[2][.='3']" + then: [t: "arrel cúbica"] + - else_if: "*[2][not(contains(., '.'))]" + then: [x: "ToOrdinal(*[2])", t: "arrel"] + else: + - test: + if: "*[2][self::m:mi][string-length(.)=1]" + then: + - x: "*[2]" + - pronounce: [text: "-th", ipa: "θ", sapi5: "th", eloquence: "T"] + else: [x: "*[2]"] + - t: "arrel" + - test: + if: "IsNode(*[1], 'simple')" + then: + - test: + if: "$Verbosity!='Terse'" + then: [t: "de"] + - x: "*[1]" + +- name: matrix-override + tag: mrow + match: + - "*[2][self::m:mtable] and" + - "(IsBracketed(., '(', ')') or IsBracketed(., '[', ']') or IsBracketed(., '|', '|'))" + replace: + - test: + if: "*[1][.='|']" + then: [t: "el"] + else: [t: "la"] + - x: count(*[2]/*) + - t: "per" + - x: count(*[2]/*[self::m:mtr][1]/*) + - test: + if: "*[1][.='|']" # just need to check the first bracket since we know it must be (, [, or | + then: [t: "determinant"] + else: [t: "matriu"] + +- name: overview-default + tag: mtable + match: "." + replace: + - t: "la" + - x: count(*[2]/*) + - t: "per" + - x: count(*[2]/*[self::m:mtr][1]/*) + - t: "taula" + +- name: short-mrow + tag: mrow + match: "count(*)<6" + replace: + - insert: + nodes: "*" + replace: [pause: auto] + +- name: long-mrow + tag: mrow + match: "." + replace: + - x: "*[1]" + - pause: auto + - x: "*[2]" + - pause: auto + - x: "*[3]" + - pause: auto + - x: "*[4]" + - pause: auto + - x: "*[5]" + - pause: auto + - t: "i així successivament" + +- include: "SimpleSpeak_Rules.yaml" diff --git a/Rules/Languages/ca/unicode-full.yaml b/Rules/Languages/ca/unicode-full.yaml new file mode 100644 index 000000000..b01e8056c --- /dev/null +++ b/Rules/Languages/ca/unicode-full.yaml @@ -0,0 +1,3625 @@ +--- + + + - "¢": [t: "cèntims"] # 0xa2 + - "£": [t: "lliures"] # 0xa3 + - "¤": [t: "signe de moneda"] # 0xa4 + - "¥": [t: "yen"] # 0xa5 + - "¦": [t: "barra trencada"] # 0xa6 + - "§": [t: "secció"] # 0xa7 + - "¨": [t: "punt doble"] # 0xa8 + - "©": [t: "drets d'autor"] # 0xa9 + - "ª": [t: "indicador ordinal femení"] # 0xaa + - "«": [t: "apuntant a l'esquerra angle doble cometa marca"] # 0xab + - "¯": # 0xaf + - test: + if: "ancestor::m:modified-variable and preceding-sibling::*[1][self::m:mi]" + then: [t: "barra"] + else: [t: "línia"] + - "²": [t: "dos"] # 0xb2 + - "³": [t: "tres"] # 0xb3 + - "µ": [t: "micro"] # 0xb5 + - "¹": [t: "un"] # 0xb9 + - "º": [t: "indicador ordinal masculí"] # 0xb9 + - "¡": [t: "signe d'exclamació invertit"] # 0xa1 + - "¶": [t: "marca de paràgraf"] # 0xb6 + - "¿": [t: "signe d'interrogació invertit"] # 0xbf + + - "ʰ": [t: "modificador petit h"] # 0x2b0 + - "ʱ": [t: "modificador petit h amb ganxo"] # 0x2b1 + - "ʲ": [t: "modificador petit j"] # 0x2b2 + - "ʳ": [t: "modificador petit r"] # 0x2b3 + - "ʴ": [t: "modificador petit girat r"] # 0x2b4 + - "ʵ": [t: "modificador petit girat r amb ganxo"] # 0x2b5 + - "ʶ": # 0x2b6 + - t: "modificador petit invertit" + - spell: "translate('R', 'R', 'R')" + + - "ʷ": [t: "modificador petit w"] # 0x2b7 + - "ʸ": [t: "modificador petit y"] # 0x2b8 + - "ʹ": [t: "modificador prima"] # 0x2b9 + - "ʺ": [t: "modificador doble prima"] # 0x2ba + - "ʻ": [t: "modificador girat coma"] # 0x2bb + - "ʼ": [t: "modificador apòstrof"] # 0x2bc + - "ʽ": [t: "modificador invertit coma"] # 0x2bd + - "ʾ": [t: "modificador dret mig anell"] # 0x2be + - "ʿ": [t: "modificador esquerre mig anell"] # 0x2bf + - "ˀ": [t: "modificador glotal oclusiva"] # 0x2c0 + - "ˁ": [t: "modificador invertit glotal oclusiva"] # 0x2c1 + - "˂": [t: "modificador amb punta de fletxa cap a l'esquerra"] # 0x2c2 + - "˃": [t: "modificador amb punta de fletxa cap a la dreta"] # 0x2c3 + - "˄": [t: "modificador amunt punta de fletxa"] # 0x2c4 + - "˅": [t: "modificador amb punta de fletxa cap avall"] # 0x2c5 + - "ˆ": [t: "modificador accent circumflex"] # 0x2c6 + - "ˇ": [t: "caró"] # 0x2c7 + - "ˈ": [t: "modificador línia vertical"] # 0x2c8 + - "ˉ": [t: "modificador màcron"] # 0x2c9 + - "ˊ": [t: "modificador accent agut"] # 0x2ca + - "ˋ": [t: "modificador accent greu"] # 0x2cb + - "ˌ": [t: "modificador baix línia vertical"] # 0x2cc + - "ˍ": [t: "modificador baix màcron"] # 0x2cd + - "ˎ": [t: "modificador baix accent greu"] # 0x2ce + - "ˏ": [t: "modificador baix accent agut"] # 0x2cf + - "ː": [t: "modificador triangular dos punts"] # 0x2d0 + - "ˑ": [t: "modificador mig triangular dos punts"] # 0x2d1 + - "˒": [t: "modificador centrat dret mig anell"] # 0x2d2 + - "˓": [t: "modificador centrat esquerre mig anell"] # 0x2d3 + - "˔": [t: "modificador de tac elevat"] # 0x2d4 + - "˕": [t: "modificador avall topall"] # 0x2d5 + - "˖": [t: "modificador més signe"] # 0x2d6 + - "˗": [t: "modificador menys signe"] # 0x2d7 + - "˘": [t: "breu"] # 0x2d8 + - "˙": [t: "punt"] # 0x2d9 + - "˚": [t: "anell un sobre"] # 0x2da + - "˛": [t: "ogonek"] # 0x2db + - "˜": [t: "petit titlla"] # 0x2dc + - "˝": [t: "accent agut doble"] # 0x2dd + - "˞": [t: "modificador ròtic ganxo"] # 0x2de + - "˟": [t: "modificador creu accent"] # 0x2df + - "ˠ": [t: "modificador petit gamma"] # 0x2e0 + - "ˡ": [t: "modificador petit l"] # 0x2e1 + - "ˢ": [t: "modificador petit s"] # 0x2e2 + - "ˣ": [t: "modificador petit x"] # 0x2e3 + - "ˤ": [t: "modificador petit invertit glotal oclusiva"] # 0x2e4 + - "˥": [t: "modificador extraalt un barra"] # 0x2e5 + - "˦": [t: "modificador alt un barra"] # 0x2e6 + - "˧": [t: "modificador mitjà un barra"] # 0x2e7 + - "˨": [t: "modificador baix un barra"] # 0x2e8 + - "˩": [t: "modificador extrabaix un barra"] # 0x2e9 + - "˪": [t: "modificador yin de sortida un marca"] # 0x2ea + - "˫": [t: "modificador yang de sortida un marca"] # 0x2eb + - "ˬ": [t: "modificador sonorització"] # 0x2ec + - "˭": [t: "modificador no aspirat"] # 0x2ed + - "ˮ": [t: "modificador doble apòstrof"] # 0x2ee + - "˯": [t: "modificador baix amb punta de fletxa cap avall"] # 0x2ef + - "˰": [t: "modificador baix amunt punta de fletxa"] # 0x2f0 + - "˱": [t: "modificador baix amb punta de fletxa cap a l'esquerra"] # 0x2f1 + - "˲": [t: "modificador baix amb punta de fletxa cap a la dreta"] # 0x2f2 + - "˳": [t: "modificador baix anell"] # 0x2f3 + - "˴": [t: "modificador central accent greu"] # 0x2f4 + - "˵": [t: "modificador central accent greu doble"] # 0x2f5 + - "˶": [t: "modificador central accent agut doble"] # 0x2f6 + - "˷": [t: "modificador baix titlla"] # 0x2f7 + - "˸": [t: "modificador elevat dos punts"] # 0x2f8 + - "˹": [t: "modificador inici alt un"] # 0x2f9 + - "˺": [t: "modificador fi alt un"] # 0x2fa + - "˻": [t: "modificador inici baix un"] # 0x2fb + - "˼": [t: "modificador fi baix un"] # 0x2fc + - "˽": [t: "modificador prestatge"] # 0x2fd + - "˾": [t: "modificador obert prestatge"] # 0x2fe + - "˿": [t: "modificador baix fletxa esquerra"] # 0x2ff + - "̈": [t: "dièresi ornament"] # 0x308 + - "̉": [t: "ganxo un sobre"] # 0x309 + - "̊": [t: "anell un sobre"] # 0x30a + - "̋": [t: "accent agut doble ornament"] # 0x30b + - "̌": [t: "caró"] # 0x30c + - "̍": [t: "línia vertical un sobre"] # 0x30d + - "̎": [t: "línia vertical doble un sobre"] # 0x30e + - "̏": [t: "accent greu doble ornament"] # 0x30f + - "̐": [t: "candrabindu ornament"] # 0x310 + - "̑": [t: "invertit breu ornament"] # 0x311 + - "̒": [t: "girat coma un sobre"] # 0x312 + - "̓": [t: "coma un sobre"] # 0x313 + - "̔": [t: "invertit coma un sobre"] # 0x314 + - "̕": [t: "coma un sobre dret ornament"] # 0x315 + - "̖": [t: "accent greu un sota"] # 0x316 + - "̗": [t: "accent agut un sota"] # 0x317 + - "̘": [t: "esquerre topall un sota"] # 0x318 + - "̙": [t: "dret topall un sota"] # 0x319 + - "̚": [t: "esquerre angle un sobre"] # 0x31a + - "̛": [t: "banya ornament"] # 0x31b + - "̜": [t: "esquerre mig anell un sota"] # 0x31c + - "̝": [t: "amunt topall un sota"] # 0x31d + - "̞": [t: "avall topall un sota"] # 0x31e + - "̟": [t: "més signe un sota"] # 0x31f + - "̠": [t: "menys signe un sota"] # 0x320 + - "̡": [t: "palatalitzat ganxo un sota"] # 0x321 + - "̢": [t: "retrofleix ganxo un sota"] # 0x322 + - "̣": [t: "punt un sota"] # 0x323 + - "̤": [t: "dièresi un sota"] # 0x324 + - "̥": [t: "anell un sota"] # 0x325 + - "̦": [t: "coma un sota"] # 0x326 + - "̧": [t: "cedilla ornament"] # 0x327 + - "̨": [t: "ogonek ornament"] # 0x328 + - "̩": [t: "línia vertical un sota"] # 0x329 + - "̪": [t: "pont un sota"] # 0x32a + - "̫": [t: "arc doble invertit a sota"] # 0x32b + - "̬": [t: "caró un sota"] # 0x32c + - "̭": [t: "accent circumflex un sota"] # 0x32d + - "̮": [t: "breu un sota"] # 0x32e + - "̯": [t: "invertit breu un sota"] # 0x32f + - "̰": [t: "titlla un sota"] # 0x330 + - "̱": [t: "màcron un sota"] # 0x331 + - "̲": [t: "línia baixa ornament"] # 0x332 + - "̳": [t: "doble línia baixa ornament"] # 0x333 + - "̴": [t: "titlla superposada ornament"] # 0x334 + - "̵": [t: "curt traç superposat ornament"] # 0x335 + - "̶": [t: "llarg traç superposat ornament"] # 0x336 + - "̷": [t: "curt barra obliqua superposada ornament"] # 0x337 + - "̸": [t: "llarg barra obliqua superposada ornament"] # 0x338 + - "̹": [t: "dret mig anell un sota"] # 0x339 + - "̺": [t: "invertit pont un sota"] # 0x33a + - "̻": [t: "quadrat un sota"] # 0x33b + - "̼": [t: "gavina un sota"] # 0x33c + - "̽": [t: "x un sobre"] # 0x33d + - "̾": [t: "vertical titlla ornament"] # 0x33e + - "̿": [t: "doble barra superior ornament"] # 0x33f + - "̀": [t: "greu un marca ornament"] # 0x340 + - "́": [t: "agut un marca ornament"] # 0x341 + - "͆": [t: "pont un sobre"] # 0x346 + + - "ΪΫϏ": # 0x3aa, 0x3ab, 0x3cf + - test: + if: "$CapitalLetters_Beep" + then: + - audio: + value: "beep.mp4" + replace: [] + - test: + if: "$CapitalLetters_UseWord" + then_test: + if: "$SpeechOverrides_CapitalLetters = ''" + then_test: + if: "$Impairment = 'Blindness'" + then: [t: "majúscula"] + else: [x: "$SpeechOverrides_CapitalLetters"] + - pitch: + value: "$CapitalLetters_Pitch" + replace: [spell: "translate('.', 'ΪΫϏ', 'ιυϗ')"] + - t: "amb dièresi" + - "ϊ": [t: "iota amb dièresi"] # 0x3ca + - "ϋ": [t: "ípsilon amb dièresi"] # 0x3cb + - "ό": [t: "òmicron amb accent"] # 0x3cc + - "ύ": [t: "ípsilon amb accent"] # 0x3cd + - "ώ": [t: "omega amb accent"] # 0x3ce + - "ϐ": [t: "beta"] # 0x3d0 + - "ϑ": [t: "theta"] # 0x3d1 + - "ϒ": [t: "ípsilon amb ganxo"] # 0x3d2 + - "ϓ": [t: "ípsilon amb accent agut i ganxo"] # 0x3d3 + - "ϔ": [t: "ípsilon amb dièresi i ganxo"] # 0x3d4 + - "ϗ": [t: "kai"] # 0x3d7 + - "Ϙ": [t: "majúscula arcaic koppa"] # 0x3d8 + - "ϙ": [t: "arcaic koppa"] # 0x3d9 + - "А-Я": # 0x410 - 0x42f + - test: + if: "$CapitalLetters_Beep" + then: + - audio: + value: "beep.mp4" + replace: [] + - test: + if: "$CapitalLetters_UseWord" + then_test: + if: "$SpeechOverrides_CapitalLetters = ''" + then_test: + if: "$Impairment = 'Blindness'" + then: [t: "majúscula"] + else: [x: "$SpeechOverrides_CapitalLetters"] + - pitch: + value: "$CapitalLetters_Pitch" + replace: [spell: "translate('.', 'АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯ', 'абвгдежзийклмнопрстуфхцчшщъыьэюя')"] + - "а": [t: "un"] # 0x430 + - "б": [t: "be"] # 0x431 + - "в": [t: "ve"] # 0x432 + - "г": [t: "ghe"] # 0x433 + - "д": [t: "de"] # 0x434 + - "е": [t: "ie"] # 0x435 + - "ж": [t: "zhe"] # 0x436 + - "з": [t: "ze"] # 0x437 + - "и": [t: "i"] # 0x438 + - "й": [t: "curt i"] # 0x439 + - "к": [t: "ka"] # 0x43a + - "л": [t: "el"] # 0x43b + - "м": [t: "ema"] # 0x43c + - "н": [t: "en"] # 0x43d + - "о": [t: "o"] # 0x43e + - "п": [t: "pe"] # 0x43f + - "р": [t: "er"] # 0x440 + - "с": [t: "es"] # 0x441 + - "т": [t: "te"] # 0x442 + - "у": [t: "u"] # 0x443 + - "ф": [t: "ef"] # 0x444 + - "х": [t: "ha"] # 0x445 + - "ц": [t: "tse"] # 0x446 + - "ч": [t: "che"] # 0x447 + - "ш": [t: "sha"] # 0x448 + - "щ": [t: "shcha"] # 0x449 + - "ъ": [t: "signe dur"] # 0x44a + - "ы": [t: "yeru"] # 0x44b + - "ь": [t: "signe tou"] # 0x44c + - "э": [t: "e"] # 0x44d + - "ю": [t: "yu"] # 0x44e + - "я": [t: "ya"] # 0x44f + - "؆": [t: "arrel cúbica aràbiga índica"] # 0x606 + - "؇": [t: "arrel quarta aràbiga índica"] # 0x607 + - "؈": [t: "semirecta aràbiga"] # 0x608 + - "‐": [t: "guionet"] # 0x2010 + - "‑": [t: "guionet"] # 0x2011 + - "‒": [t: "guió de xifra"] # 0x2012 + - "–": [t: "en guió"] # 0x2013 + - "—": [t: "ema guió"] # 0x2014 + - "―": [t: "horitzontal barra"] # 0x2015 + - "‖": [t: "línia vertical doble"] # 0x2016 + - "†": [t: "daga"] # 0x2020 + - "‡": [t: "doble daga"] # 0x2021 + + - " - ": [t: " "] # 0x2000 - 0x2007 + + - "•": # 0x2022 + - test: + if: "@data-chem-formula-op" + then: [t: "punt"] + else: [t: "vinyeta"] + + - "‰": [t: "per mil"] # 0x2030 + - "‱": [t: "per deu mil"] # 0x2031 + - "′": [t: "prima"] # 0x2032 + - "″": [t: "doble prima"] # 0x2033 + - "‴": [t: "triple prima"] # 0x2034 + - "‵": [t: "invertit prima"] # 0x2035 + - "‶": [t: "invertit doble prima"] # 0x2036 + - "‷": [t: "invertit triple prima"] # 0x2037 + - "‸": [t: "elevat a la"] # 0x2038 + - "‹": [t: "simple esquerre apuntant angle cometa marca"] # 0x2039 + - "›": [t: "simple dret apuntant angle cometa marca"] # 0x203a + - "‼": # 0x203c + - test: + if: "ancestor-or-self::*[contains(@data-intent-property, ':literal:')]" + then: [t: "signe d'exclamació doble"] # 0x203c + else: [t: "factorial doble"] # 0x203c + - "⁄": # 0x2044 + - test: + if: "ancestor-or-self::*[contains(@data-intent-property, ':literal:')]" + then: [t: "gran barra obliqua"] # 0x203c + else: [t: "dividit per"] # 0x203c + - "⁅": [t: "esquerre quadrat claudàtor amb ploma"] # 0x2045 + - "⁆": [t: "dret quadrat claudàtor amb ploma"] # 0x2046 + - "※": [t: "marca de referència"] # 0x203b + - "‿": [t: "sota lligadura"] # 0x203F + - "⁀": [t: "lligadura"] # 0x2040 + - "⁎": [t: "baix asterisc"] # 0x204e + - "⁏": [t: "invertit punt i coma"] # 0x204f + - "⁐": [t: "tancat amunt"] # 0x2050 + - "⁑": [t: "dos asteriscs verticals"] # 0x2051 + - "⁒": [t: "comercial menys signe"] # 0x2052 + - "⁗": [t: "quàdruple prima"] # 0x2057 + - "⁠": [t: ""] # 0x2060 + - "⁰": [t: "elevat a la potència zero"] # 0x2070 + - "ⁱ": [t: "elevat a la potència i"] # 0x2071 + - "⁴": [t: "elevat a la quarta potència"] # 0x2074 + - "⁵": [t: "elevat a la cinquena potència"] # 0x2075 + - "⁶": [t: "elevat a la sisena potència"] # 0x2076 + - "⁷": [t: "elevat a la setena potència"] # 0x2077 + - "⁸": [t: "elevat a la vuitena potència"] # 0x2078 + - "⁹": [t: "elevat a la novena potència"] # 0x2079 + - "⁺": [t: "signe més en superíndex"] # 0x207a + - "⁻": [t: "signe menys en superíndex"] # 0x207b + - "⁼": [t: "signe igual en superíndex"] # 0x207c + - "⁽": [t: "parèntesi esquerre en superíndex"] # 0x207d + - "⁾": [t: "parèntesi dret en superíndex"] # 0x207e + - "ⁿ": [t: "elevat a la potència ena"] # 0x207f + - "₀": [t: "subíndex zero"] # 0x2080 + - "₁": [t: "subíndex un"] # 0x2081 + - "₂": [t: "subíndex dos"] # 0x2082 + - "₃": [t: "subíndex tres"] # 0x2083 + - "₄": [t: "subíndex quatre"] # 0x2084 + - "₅": [t: "subíndex cinc"] # 0x2085 + - "₆": [t: "subíndex sis"] # 0x2086 + - "₇": [t: "subíndex set"] # 0x2087 + - "₈": [t: "subíndex vuit"] # 0x2088 + - "₉": [t: "subíndex nou"] # 0x2089 + - "₊": [t: "signe més en subíndex"] # 0x208a + - "₋": [t: "signe menys en subíndex"] # 0x208b + - "₌": [t: "signe igual en subíndex"] # 0x208c + - "₍": [t: "subíndex parèntesi esquerre"] # 0x208d + - "₎": [t: "subíndex parèntesi dret"] # 0x208e + - "ₐ": [t: "subíndex un"] # 0x2090 + - "ₑ": [t: "subíndex e"] # 0x2091 + - "ₒ": [t: "subíndex o"] # 0x2092 + - "ₓ": [t: "subíndex x"] # 0x2093 + - "ₕ": [t: "subíndex h"] # 0x2095 + - "ₖ": [t: "subíndex k"] # 0x2096 + - "ₗ": [t: "subíndex l"] # 0x2097 + - "ₘ": [t: "subíndex m"] # 0x2098 + - "ₙ": [t: "subíndex n"] # 0x2099 + - "ₚ": [t: "subíndex p"] # 0x209a + - "ₛ": [t: "subíndex s"] # 0x209b + - "ₜ": [t: "subíndex t"] # 0x209c + - "₠": [t: "unitat monetària europea"] # 0x20a0 + - "₡": [t: "colons"] # 0x20a1 + - "₢": [t: "cruzeiro"] # 0x20a2 + - "₣": [t: "franc"] # 0x20a3 + - "₤": [t: "lira"] # 0x20a4 + - "₥": [t: "mil·lèsims"] # 0x20a5 + - "₦": [t: "naira"] # 0x20a6 + - "₧": [t: "peseta"] # 0x20a7 + - "₨": [t: "rupies"] # 0x20a8 + - "₩": [t: "won"] # 0x20a9 + - "₪": [t: "nous xéquels"] # 0x20aa + - "₫": [t: "dong"] # 0x20ab + - "€": [t: "euros"] # 0x20ac + - "₭": [t: "kip"] # 0x20ad + - "₮": [t: "tugrik mongol"] # 0x20ae + - "₯": [t: "drachma"] # 0x20af + - "₰": [t: "alemanys penics"] # 0x20b0 + - "₱": [t: "pesos"] # 0x20b1 + - "₲": [t: "guaranís"] # 0x20b2 + - "₳": [t: "australs"] # 0x20b3 + - "₴": [t: "hrívnies"] # 0x20b4 + - "₵": [t: "cedis"] # 0x20b5 + - "₶": [t: "lliura tornesa"] # 0x20b6 + - "₷": [t: "spesmilos"] # 0x20b7 + - "₸": [t: "tenges"] # 0x20b8 + - "₹": [t: "índies rupies"] # 0x20b9 + - "₺": [t: "turques liras"] # 0x20ba + - "⃐": [t: "arpó esquerre un sobre"] # 0x20d0 + - "⃑": [t: "arpó dret un sobre"] # 0x20d1 + - "⃒": [t: "llarg línia vertical superposat ornament"] # 0x20d2 + - "⃓": [t: "curt línia vertical superposat ornament"] # 0x20d3 + - "⃔": [t: "en sentit antihorari fletxa un sobre"] # 0x20d4 + - "⃕": [t: "en sentit horari fletxa un sobre"] # 0x20d5 + - "⃖": [t: "fletxa esquerra un sobre"] # 0x20d6 + - "⃗": [t: "fletxa dreta un sobre"] # 0x20d7 + - "⃘": [t: "anell superposat ornament"] # 0x20d8 + - "⃙": [t: "en sentit horari anell superposat ornament"] # 0x20d9 + - "⃚": [t: "en sentit antihorari anell superposat ornament"] # 0x20da + - "⃛": [t: "triple punt"] # 0x20db + - "⃜": [t: "quàdruple punt"] # 0x20dc + - "⃝": [t: "cercle envoltant ornament"] # 0x20dd + - "⃞": [t: "quadrat envoltant ornament"] # 0x20de + - "⃟": [t: "rombe envoltant ornament"] # 0x20df + - "⃠": [t: "ornament de cercle envoltant amb barra inversa"] # 0x20e0 + - "⃡": [t: "fletxa esquerra i dreta un sobre"] # 0x20e1 + - "⃢": [t: "envoltant pantalla ornament"] # 0x20e2 + - "⃣": [t: "envoltant tecla ornament"] # 0x20e3 + - "⃤": [t: "envoltant majúscula amunt apuntant triangle ornament"] # 0x20e4 + - "⃥": [t: "inversa barra obliqua superposada ornament"] # 0x20e5 + - "⃦": [t: "ornament de doble traç vertical"] # 0x20e6 + - "⃧": [t: "ornament de símbol d'anualitat"] # 0x20e7 + - "⃨": [t: "triple punt inferior"] # 0x20e8 + - "⃩": [t: "ample pont un sobre"] # 0x20e9 + - "⃪": [t: "fletxa esquerra superposat ornament"] # 0x20ea + - "⃫": [t: "llarg doble barra obliqua superposada ornament"] # 0x20eb + - "⃬": [t: "arpó dret amb barba avall ornament"] # 0x20ec + - "⃭": [t: "arpó esquerre amb barba avall ornament"] # 0x20ed + - "⃮": [t: "fletxa esquerra un sota"] # 0x20ee + - "⃯": [t: "fletxa dreta un sota"] # 0x20ef + - "⃰": [t: "asterisc un sobre"] # 0x20f0 + - "℄": [t: "símbol de línia central"] # 0x2104 + - "℅": [t: "cura de"] # 0x2105 + - "℆": [t: "cada una"] # 0x2106 + - "ℇ": [t: "constant d'Euler"] # 0x2107 + - "℈": [t: "escrúpols"] # 0x2108 + - "℉": [t: "graus Fahrenheit"] # 0x2109 + - "ℊ": [t: "cal·ligràfica g"] # 0x210a + - "ℌℑℨℭ": # 0x210c, 0x2111, 0x2128, 0x212d + - t: "fraktur" + - spell: "translate('.', 'ℌℑℨℭ', 'HIZC')" + + - "ℍℙℾℿ": # 0x210d, 0x2119, 0x213e, 0x213f + - t: "doble traç" + - spell: "translate('.', 'ℍℙℾℿ', 'HPΓΠ')" + + - "ℎ": [t: "constant de Planck"] # 0x210e + - "ℏ": [t: "h barra"] # 0x210f + + - "ℐℒ℘ℬℰℱℳ": # 0x2110, 0x2112, 0x2118, 0x2130, 0x2131, 0x2133 + - t: "cal·ligràfica" + - spell: "translate('.', 'ℐℒ℘ℬℰℱℳ', 'ILPBEFM')" + + - "℔": [t: "lliures"] # 0x2114 + - "№": [t: "nombre"] # 0x2116 + - "℥": [t: "unces"] # 0x2125 + - "Ω": [t: "ohms"] # 0x2126 + - "℧": [t: "mhos"] # 0x2127 + - "℩": [t: "girat iota"] # 0x2129 + - "K": [t: "kelvin"] # 0x212a + - "Å": [t: "àngstroms"] # 0x212b + - "ℯ": [t: "cal·ligràfica e"] # 0x212f + + # coalesced some chars that use cap letters + - "Ⅎ℺⅁⅂⅃⅄": # 0x2132, 0x213a, 0x2141, 0x2142, 0x2143, 0x2144 + - test: + - if: "'.' = '℺'" + then: [t: "rotat"] + - else_if: "'.' = 'Ⅎ'" + then: [t: "girat"] + - else_if: "'.' = '⅃'" + then: [t: "invertit sense serif"] + else: [t: "girat sense serif"] + - spell: "translate('.', 'Ⅎ℺⅁⅂⅃⅄', 'FQGLLY')" + + - "ℴ": [t: "cal·ligràfica o"] # 0x2134 + - "ℵ": [t: "primer cardinal transfinit"] # 0x2135 + - "ℶ": [t: "segon cardinal transfinit"] # 0x2136 + - "ℷ": [t: "tercer cardinal transfinit"] # 0x2137 + - "ℸ": [t: "quart cardinal transfinit"] # 0x2138 + - "ℼ": [t: "doble traç pi"] # 0x213c + - "ℽ": [t: "doble traç gamma"] # 0x213d + - "⅀": [t: "sumatori n-ari de doble traç"] # 0x2140 + - "⅋": [t: "et girada"] # 0x214b + - "⅌": [t: "per"] # 0x214c + - "ⅎ": [t: "girat F"] # 0x214e + - "¼": [t: "un quart"] # 0x00bc + - "½": [t: "un mig"] # 0x00bd + - "¾": [t: "tres quarts"] # 0x00be + - "⅐": [t: "un setè"] # 0x2150 + - "⅑": [t: "un novè"] # 0x2151 + - "⅒": [t: "un desè"] # 0x2152 + - "⅓": [t: "un terç"] # 0x2153 + - "⅔": [t: "dos terços"] # 0x2154 + - "⅕": [t: "un cinquè"] # 0x2155 + - "⅖": [t: "dos cinquens"] # 0x2156 + - "⅗": [t: "tres cinquens"] # 0x2157 + - "⅘": [t: "quatre cinquens"] # 0x2158 + - "⅙": [t: "un sisè"] # 0x2159 + - "⅚": [t: "cinc sisens"] # 0x215a + - "⅛": [t: "un vuitè"] # 0x215b + - "⅜": [t: "tres vuitens"] # 0x215c + - "⅝": [t: "cinc vuitens"] # 0x215d + - "⅞": [t: "conjunt vuitens"] # 0x215e + - "⅟": [t: "un sobre"] # 0x215f + - "Ⅰ": [t: "I"] # 0x2160 + - "Ⅱ": [t: "I I"] # 0x2161 + - "Ⅲ": [t: "I I I"] # 0x2162 + - "Ⅳ": [t: "I V"] # 0x2163 + - "Ⅴ": [t: "V"] # 0x2164 + - "Ⅵ": [t: "V I"] # 0x2165 + - "Ⅶ": [t: "V I I"] # 0x2166 + - "Ⅷ": [t: "V I I I"] # 0x2167 + - "Ⅸ": [t: "I x"] # 0x2168 + - "Ⅹ": [t: "x"] # 0x2169 + - "Ⅺ": [t: "x I"] # 0x216a + - "Ⅻ": [t: "x I I"] # 0x216b + - "Ⅼ": [t: "L"] # 0x216c + - "Ⅽ": [t: "C"] # 0x216d + - "Ⅾ": [t: "D"] # 0x216e + - "Ⅿ": [t: "M"] # 0x216f + - "ⅰ": [t: "I"] # 0x2170 + - "ⅱ": [t: "I I"] # 0x2171 + - "ⅲ": [t: "I I I"] # 0x2172 + - "ⅳ": [t: "I V"] # 0x2173 + - "ⅴ": [t: "V"] # 0x2174 + - "ⅵ": [t: "V I"] # 0x2175 + - "ⅶ": [t: "V I I"] # 0x2176 + - "ⅷ": [t: "V I I I"] # 0x2177 + - "ⅸ": [t: "I x"] # 0x2178 + - "ⅹ": [t: "x"] # 0x2179 + - "ⅺ": [t: "x I"] # 0x217a + - "ⅻ": [t: "x I I"] # 0x217b + - "ⅼ": [t: "L"] # 0x217c + - "ⅽ": [t: "C"] # 0x217d + - "ⅾ": [t: "D"] # 0x217e + - "ⅿ": [t: "M"] # 0x217f + - "↉": [t: "zero terços"] # 0x2189 + - "↔": [t: "fletxa esquerra i dreta"] # 0x2194 + - "↕": [t: "fletxa amunt i avall"] # 0x2195 + - "↖": [t: "fletxa nord-oest"] # 0x2196 + - "↗": # 0x2197 + - test: + if: "ancestor::*[2][self::m:limit]" + then: [t: "s'aproxima des de sota"] + else: [t: "fletxa nord-est"] + + - "↘": # 0x2198 + - test: + if: "ancestor::*[2][self::m:limit]" + then: [t: "s'aproxima des de sobre"] + else: [t: "fletxa sud-est"] + + - "↙": [t: "fletxa sud-oest"] # 0x2199 + - "↚": [t: "fletxa esquerra amb traç"] # 0x219a + - "↛": [t: "fletxa dreta amb traç"] # 0x219b + - "↜": [t: "esquerre ona fletxa"] # 0x219c + - "↝": [t: "dret ona fletxa"] # 0x219d + - "↞": [t: "esquerre dos amb punta fletxa"] # 0x219e + - "↟": [t: "amunt dos amb punta fletxa"] # 0x219f + - "↠": [t: "dret dos amb punta fletxa"] # 0x21a0 + - "↡": [t: "avall dos amb punta fletxa"] # 0x21a1 + - "↢": [t: "fletxa esquerra amb cua"] # 0x21a2 + - "↣": [t: "fletxa dreta amb cua"] # 0x21a3 + - "↤": [t: "fletxa esquerra des de barra"] # 0x21a4 + - "↥": [t: "fletxa amunt des de barra"] # 0x21a5 + - "↦": [t: "fletxa dreta des de barra"] # 0x21a6 + - "↧": [t: "fletxa avall des de barra"] # 0x21a7 + - "↨": [t: "fletxa amunt i avall amb base"] # 0x21a8 + - "↩": [t: "fletxa esquerra amb ganxo"] # 0x21a9 + - "↪": [t: "fletxa dreta amb ganxo"] # 0x21aa + - "↫": [t: "fletxa esquerra amb bucle"] # 0x21ab + - "↬": [t: "fletxa dreta amb bucle"] # 0x21ac + - "↭": [t: "esquerre dret ona fletxa"] # 0x21ad + - "↮": [t: "fletxa esquerra i dreta amb traç"] # 0x21ae + - "↯": [t: "avall zigzag fletxa"] # 0x21af + - "↰": [t: "fletxa amunt amb punta esquerre"] # 0x21b0 + - "↱": [t: "fletxa amunt amb punta dret"] # 0x21b1 + - "↲": [t: "fletxa avall amb punta esquerre"] # 0x21b2 + - "↳": [t: "fletxa avall amb punta dret"] # 0x21b3 + - "↴": [t: "fletxa dreta amb cantonada avall"] # 0x21b4 + - "↵": [t: "fletxa avall amb cantonada esquerre"] # 0x21b5 + - "↶": [t: "en sentit antihorari superior semicercle fletxa"] # 0x21b6 + - "↷": [t: "en sentit horari superior semicercle fletxa"] # 0x21b7 + - "↸": [t: "fletxa nord-oest un llarg barra"] # 0x21b8 + - "↹": [t: "fletxa esquerra un barra sobre fletxa dreta un barra"] # 0x21b9 + - "↺": [t: "en sentit antihorari obert cercle fletxa"] # 0x21ba + - "↻": [t: "en sentit horari obert cercle fletxa"] # 0x21bb + - "↼": [t: "arpó esquerre amunt"] # 0x21bc + - "↽": [t: "arpó esquerre avall"] # 0x21bd + - "↾": [t: "arpó ascendent dret"] # 0x21be + - "↿": [t: "arpó ascendent esquerre"] # 0x21bf + - "⇀": [t: "arpó dret amunt"] # 0x21c0 + - "⇁": [t: "arpó dret avall"] # 0x21c1 + - "⇂": [t: "arpó descendent dret"] # 0x21c2 + - "⇃": [t: "arpó descendent esquerre"] # 0x21c3 + - "⇄": [t: "fletxa dreta sobre fletxa esquerra"] # 0x21c4 + - "⇅": [t: "fletxa amunt esquerre de fletxa avall"] # 0x21c5 + - "⇆": [t: "fletxa esquerra sobre fletxa dreta"] # 0x21c6 + - "⇇": [t: "esquerre aparellat fletxes"] # 0x21c7 + - "⇈": [t: "amunt aparellat fletxes"] # 0x21c8 + - "⇉": [t: "dret aparellat fletxes"] # 0x21c9 + - "⇊": [t: "avall aparellat fletxes"] # 0x21ca + - "⇋": [t: "arpó esquerre sobre arpó dret"] # 0x21cb + - "⇌": [t: "arpó dret sobre arpó esquerre"] # 0x21cc + - "⇍": [t: "esquerre doble fletxa amb traç"] # 0x21cd + - "⇎": [t: "esquerre dret doble fletxa amb traç"] # 0x21ce + - "⇏": [t: "dret doble fletxa amb traç"] # 0x21cf + - "⇐": [t: "esquerre doble fletxa"] # 0x21d0 + - "⇑": [t: "amunt doble fletxa"] # 0x21d1 + - "⇓": [t: "avall doble fletxa"] # 0x21d3 + - "⇔": [t: "si i només si"] # 0x21d4 + - "⇕": [t: "amunt avall doble fletxa"] # 0x21d5 + - "⇖": [t: "nord oest doble fletxa"] # 0x21d6 + - "⇗": [t: "nord est doble fletxa"] # 0x21d7 + - "⇘": [t: "sud est doble fletxa"] # 0x21d8 + - "⇙": [t: "sud oest doble fletxa"] # 0x21d9 + - "⇚": [t: "esquerre triple fletxa"] # 0x21da + - "⇛": [t: "dret triple fletxa"] # 0x21db + - "⇜": [t: "esquerre gargot fletxa"] # 0x21dc + - "⇝": [t: "dret gargot fletxa"] # 0x21dd + - "⇞": [t: "fletxa amunt amb doble traç"] # 0x21de + - "⇟": [t: "fletxa avall amb doble traç"] # 0x21df + - "⇠": [t: "esquerre discontinu fletxa"] # 0x21e0 + - "⇡": [t: "amunt discontinu fletxa"] # 0x21e1 + - "⇢": [t: "dret discontinu fletxa"] # 0x21e2 + - "⇣": [t: "avall discontinu fletxa"] # 0x21e3 + - "⇤": [t: "fletxa esquerra un barra"] # 0x21e4 + - "⇥": [t: "fletxa dreta un barra"] # 0x21e5 + - "⇦": [t: "esquerre blanc fletxa"] # 0x21e6 + - "⇧": [t: "amunt blanc fletxa"] # 0x21e7 + - "⇨": [t: "dret blanc fletxa"] # 0x21e8 + - "⇩": [t: "avall blanc fletxa"] # 0x21e9 + - "⇪": [t: "amunt blanc fletxa des de barra"] # 0x21ea + - "⇫": [t: "amunt blanc fletxa sobre pedestal"] # 0x21eb + - "⇬": [t: "amunt blanc fletxa sobre pedestal amb horitzontal barra"] # 0x21ec + - "⇭": [t: "amunt blanc fletxa sobre pedestal amb vertical barra"] # 0x21ed + - "⇮": [t: "amunt blanc doble fletxa"] # 0x21ee + - "⇯": [t: "amunt blanc doble fletxa sobre pedestal"] # 0x21ef + - "⇰": [t: "fletxa blanca cap a la dreta des d'una paret"] # 0x21f0 + - "⇱": [t: "fletxa nord-oest un cantonada"] # 0x21f1 + - "⇲": [t: "fletxa sud-est un cantonada"] # 0x21f2 + - "⇳": [t: "amunt avall blanc fletxa"] # 0x21f3 + - "⇴": [t: "fletxa dreta amb petit cercle"] # 0x21f4 + - "⇵": [t: "fletxa avall esquerre de fletxa amunt"] # 0x21f5 + - "⇶": [t: "tres fletxa dretas"] # 0x21f6 + - "⇷": [t: "fletxa esquerra amb vertical traç"] # 0x21f7 + - "⇸": [t: "fletxa dreta amb vertical traç"] # 0x21f8 + - "⇹": [t: "fletxa esquerra i dreta amb vertical traç"] # 0x21f9 + - "⇺": [t: "fletxa esquerra amb doble vertical traç"] # 0x21fa + - "⇻": [t: "fletxa dreta amb doble vertical traç"] # 0x21fb + - "⇼": [t: "fletxa esquerra i dreta amb doble vertical traç"] # 0x21fc + - "⇽": [t: "esquerre obert amb punta fletxa"] # 0x21fd + - "⇾": [t: "dret obert amb punta fletxa"] # 0x21fe + - "⇿": [t: "esquerre dret obert amb punta fletxa"] # 0x21ff + - "∀": [t: "per a tot"] # 0x2200 + - "∁": # 0x2201 + - test: + if: "$Verbosity!='Terse'" + then: [ot: "el"] + - t: "complement de" + - "∃": [t: "existeix"] # 0x2203 + - "∄": [t: "no existeix"] # 0x2204 + - "∅": [t: "buit conjunt"] # 0x2205 + - "∇": [t: "nabla"] # 0x2207 + - "∋": [t: "conté el membre"] # 0x220b + - "∌": [t: "fa no conté el membre"] # 0x220c + - "∍": [t: "conté el membre"] # 0x220d + - "∎": [t: "fi de la demostració"] # 0x220e + - "∏": [t: "producte"] # 0x220f + - "∑": [t: "sumatori"] # 0x2211 + - "−": [t: "menys"] # 0x2212 + - "∓": [t: "menys o més"] # 0x2213 + - "∔": [t: "punt més"] # 0x2214 + - "∕": [t: "dividit per"] # 0x2215 + - "∖": [t: "conjunt menys"] # 0x2216 + - "∗": [t: "per"] # 0x2217 + - "∘": [t: "compost amb"] # 0x2218 + - "∙": # 0x2219 + - test: + if: "@data-chem-formula-op" + then: [t: "punt"] + else: [t: "per"] + + - "∛": # 0x221b + - test: + if: "$Verbosity!='Terse'" + then: [ot: "el"] + - t: "arrel cúbica de" + - "∜": # 0x221c + - test: + if: "$Verbosity!='Terse'" + then: [ot: "el"] + - t: "arrel quarta de" + - "∞": [t: "infinit"] # 0x221e + - "∟": [t: "angle recte"] # 0x221f + - "∠": [t: "angle"] # 0x2220 + - "∡": [t: "angle mesurat"] # 0x2221 + - "∢": [t: "esfèric angle"] # 0x2222 + - "∣": [t: "divideix"] # 0x2223 + - "∤": [t: "no divideix"] # 0x2224 + - "∧": [t: "i"] # 0x2227 + - "∨": [t: "o"] # 0x2228 + - "∩": [t: "intersecció"] # 0x2229 + - "∪": [t: "unió"] # 0x222a + - "∫": [t: "integral"] # 0x222b + - "∬": [t: "doble integral"] # 0x222c + - "∭": [t: "triple integral"] # 0x222d + - "∮": [t: "contorn integral"] # 0x222e + - "∯": [t: "integral de superfície"] # 0x222f + - "∰": [t: "integral de volum"] # 0x2230 + - "∱": [t: "en sentit horari integral"] # 0x2231 + - "∲": [t: "en sentit horari contorn integral"] # 0x2232 + - "∳": [t: "en sentit antihorari contorn integral"] # 0x2233 + - "∴": [t: "per tant"] # 0x2234 + - "∵": [t: "perquè"] # 0x2235 + - "∷": [t: "com"] # 0x2237 + - "∸": [t: "punt menys"] # 0x2238 + - "∹": [t: "té excés respecte de"] # 0x2239 + - "∺": # 0x223a + - test: + if: "$Verbosity!='Terse'" + then: [t: "és"] + - t: "geomètricament proporcional a" + - "∻": # 0x223b + - test: + if: "$Verbosity!='Terse'" + then: [t: "és"] + - t: "homotètic a" + - "∼": [t: "varia amb"] # 0x223c + - "∽": [t: "invertit titlla"] # 0x223d + - "∿": [t: "ona sinusoidal"] # 0x223f + - "≀": [t: "producte de garlanda"] # 0x2240 + - "≁": [t: "no titlla"] # 0x2241 + - "≂": [t: "menys titlla"] # 0x2242 + - "≃": # 0x2243 + - test: + if: "$Verbosity!='Terse'" + then: [t: "és"] + - t: "asimptòticament igual a" + - "≄": # 0x2244 + - test: + if: "$Verbosity!='Terse'" + then: [t: "és"] + - t: "no asimptòticament igual a" + - "≅": # 0x2245 + - test: + if: "$Verbosity!='Terse'" + then: [t: "és"] + - t: "congruent amb" + - "≆": # 0x2246 + - test: + if: "$Verbosity!='Terse'" + then: [t: "és"] + - t: "aproximadament però no exactament igual a" + - "≇": # 0x2247 + - test: + if: "$Verbosity!='Terse'" + then: [t: "és"] + - t: "no congruent amb" + - "≈": # 0x2248 + - test: + if: "$Verbosity!='Terse'" + then: [t: "és"] + - t: "aproximadament igual a" + - "≉": # 0x2249 + - test: + if: "$Verbosity!='Terse'" + then: [t: "és"] + - t: "no aproximadament igual a" + - "≊": # 0x224a + - test: + if: "$Verbosity!='Terse'" + then: [t: "és"] + - t: "aproximadament igual o igual a" + - "≋": [t: "triple titlla"] # 0x224b + - "≌": [t: "tots iguals a"] # 0x224c + - "≍": # 0x224d + - test: + if: "$Verbosity!='Terse'" + then: [t: "és"] + - t: "equivalent a" + - "≎": # 0x224e + - test: + if: "$Verbosity!='Terse'" + then: [t: "és"] + - t: "geomètricament equivalent a" + - "≏": # 0x224f + - test: + if: "$Verbosity!='Terse'" + then: [ot: "el"] + - t: "diferència entre" + - "≐": [t: "s'aproxima al límit"] # 0x2250 + - "≑": # 0x2251 + - test: + if: "$Verbosity!='Terse'" + then: [t: "és"] + - t: "geomètricament igual a" + - "≒": # 0x2252 + - test: + if: "$Verbosity!='Terse'" + then: [t: "és"] + - t: "aproximadament igual a o el imatge de" + - "≓": # 0x2253 + - test: + if: "$Verbosity!='Terse'" + then: [t: "és el"] + - t: "imatge de o aproximadament igual a" + - "≔": [t: "dos punts igual"] # 0x2254 + - "≕": [t: "igual dos punts"] # 0x2255 + - "≖": [t: "anell dins igual a"] # 0x2256 + - "≗": # 0x2257 + - test: + if: "$Verbosity!='Terse'" + then: [t: "és"] + - t: "aproximadament igual a" + - "≘": [t: "correspon a"] # 0x2258 + - "≙": [t: "estima"] # 0x2259 + - "≚": # 0x225a + - test: + if: "$Verbosity!='Terse'" + then: [t: "és"] + - t: "equiangular amb" + - "≛": [t: "estrella igual"] # 0x225b + - "≜": [t: "delta igual"] # 0x225c + - "≝": [t: "es defineix com"] # 0x225d + - "≞": # 0x225e + - test: + if: "$Verbosity!='Terse'" + then: [t: "és"] + - t: "mesurat per" + - "≟": [t: "té una relació desconeguda amb"] # 0x225f + - "≢": # 0x2262 + - test: + if: "$Verbosity!='Terse'" + then: [t: "és"] + - t: "no és idèntic a" + - "≣": # 0x2263 + - test: + if: "$Verbosity!='Terse'" + then: [t: "és"] + - t: "estrictament equivalent a" + - "≦": [t: "menor que sobre igual a"] # 0x2266 + - "≧": [t: "major que sobre igual a"] # 0x2267 + - "≨": # 0x2268 + - test: + if: "$Verbosity!='Terse'" + then: [t: "és"] + - t: "menor que però no és igual a" + - "≩": # 0x2269 + - test: + if: "$Verbosity!='Terse'" + then: [t: "és"] + - t: "major que però no és igual a" + - "≪": # 0x226a + - test: + if: "$Verbosity!='Terse'" + then: [t: "és"] + - t: "molt menor que" + - "≫": # 0x226b + - test: + if: "$Verbosity!='Terse'" + then: [t: "és"] + - t: "molt major que" + - "≬": # 0x226c + - test: + if: "$Verbosity!='Terse'" + then: [t: "és"] + - t: "entre" + - "≭": # 0x226d + - test: + if: "$Verbosity!='Terse'" + then: [t: "és"] + - t: "no és equivalent a" + - "≮": # 0x226e + - test: + if: "$Verbosity!='Terse'" + then: [t: "és"] + - t: "no és menor que" + - "≯": # 0x226f + - test: + if: "$Verbosity!='Terse'" + then: [t: "és"] + - t: "no és major que" + - "≰": # 0x2270 + - test: + if: "$Verbosity!='Terse'" + then: [t: "és"] + - t: "ni menor que ni igual a" + - "≱": # 0x2271 + - test: + if: "$Verbosity!='Terse'" + then: [t: "és"] + - t: "ni major que ni igual a" + - "≲": # 0x2272 + - test: + if: "$Verbosity!='Terse'" + then: [t: "és"] + - t: "menor que o equivalent a" + - "≳": # 0x2273 + - test: + if: "$Verbosity!='Terse'" + then: [t: "és"] + - t: "major que o equivalent a" + - "≴": # 0x2274 + - test: + if: "$Verbosity!='Terse'" + then: [t: "és"] + - t: "ni menor que ni equivalent a" + - "≵": # 0x2275 + - test: + if: "$Verbosity!='Terse'" + then: [t: "és"] + - t: "ni major que ni equivalent a" + - "≶": # 0x2276 + - test: + if: "$Verbosity!='Terse'" + then: [t: "és"] + - t: "menor que o major que" + - "≷": # 0x2277 + - test: + if: "$Verbosity!='Terse'" + then: [t: "és"] + - t: "major que o menor que" + - "≸": # 0x2278 + - test: + if: "$Verbosity!='Terse'" + then: [t: "és"] + - t: "ni menor que ni major que" + - "≹": # 0x2279 + - test: + if: "$Verbosity!='Terse'" + then: [t: "és"] + - t: "ni major que ni menor que" + - "≺": [t: "precedeix"] # 0x227a + - "≻": [t: "succeeix"] # 0x227b + - "≼": [t: "precedeix o és igual a"] # 0x227c + - "≽": [t: "succeeix o és igual a"] # 0x227d + - "≾": [t: "precedeix o és equivalent a"] # 0x227e + - "≿": [t: "succeeix o és equivalent a"] # 0x227f + - "⊀": [t: "no precedeix"] # 0x2280 + - "⊁": [t: "no succeeix"] # 0x2281 + - "⊈": # 0x2288 + - test: + if: "$Verbosity!='Terse'" + then: [t: "és"] + - t: "ni un subconjunt de ni igual a" + - "⊉": # 0x2289 + - test: + if: "$Verbosity!='Terse'" + then: [t: "és"] + - t: "ni un superconjunt de ni igual a" + - "⊊": [t: "subconjunt de amb no és igual a"] # 0x228a + - "⊋": [t: "superconjunt de amb no és igual a"] # 0x228b + - "⊌": [t: "multiconjunt"] # 0x228c + - "⊍": [t: "multiconjunt multiplicació"] # 0x228d + - "⊎": [t: "multiconjunt unió"] # 0x228e + - "⊏": [t: "quadrat imatge de"] # 0x228f + - "⊐": [t: "quadrat original de"] # 0x2290 + - "⊑": [t: "quadrat imatge de o igual a"] # 0x2291 + - "⊒": [t: "quadrat original de o igual a"] # 0x2292 + - "⊓": [t: "quadrat majúscula"] # 0x2293 + - "⊔": [t: "unió quadrada"] # 0x2294 + - "⊕": [t: "encerclat més"] # 0x2295 + - "⊖": [t: "encerclat menys"] # 0x2296 + - "⊗": [t: "encerclat per"] # 0x2297 + - "⊘": [t: "encerclat barra obliqua"] # 0x2298 + - "⊙": [t: "encerclat punt operador"] # 0x2299 + - "⊚": [t: "encerclat anell"] # 0x229a + - "⊛": [t: "encerclat asterisc"] # 0x229b + - "⊜": [t: "encerclat igual"] # 0x229c + - "⊝": [t: "encerclat guió"] # 0x229d + - "⊞": [t: "al quadrat més"] # 0x229e + - "⊟": [t: "al quadrat menys"] # 0x229f + - "⊠": [t: "al quadrat per"] # 0x22a0 + - "⊡": [t: "al quadrat punt operador"] # 0x22a1 + - "⊢": [t: "proves"] # 0x22a2 + - "⊣": [t: "no és conseqüència de"] # 0x22a3 + - "⊤": [t: "superior"] # 0x22a4 + - "⊦": [t: "es redueix a"] # 0x22a6 + - "⊧": [t: "modela"] # 0x22a7 + - "⊨": # 0x22a8 + - test: + if: "$Verbosity!='Terse'" + then: [t: "és"] + - t: "cert" + - "⊩": [t: "força"] # 0x22a9 + - "⊪": [t: "triple vertical barra dret símbol de deducció"] # 0x22aa + - "⊫": [t: "doble vertical barra doble dret símbol de deducció"] # 0x22ab + - "⊬": [t: "no demostra"] # 0x22ac + - "⊭": # 0x22ad + - test: + if: "$Verbosity!='Terse'" + then: [t: "és"] + - t: "no cert" + - "⊮": [t: "no força"] # 0x22ae + - "⊯": [t: "negat doble vertical barra doble dret símbol de deducció"] # 0x22af + - "⊰": [t: "precedeix sota relació"] # 0x22b0 + - "⊱": [t: "succeeix sota relació"] # 0x22b1 + - "⊲": # 0x22b2 + - test: + if: "$Verbosity!='Terse'" + then: [t: "és"] + - t: "un normal subgrup de" + - "⊳": [t: "conté com un normal subgrup"] # 0x22b3 + - "⊴": # 0x22b4 + - test: + if: "$Verbosity!='Terse'" + then: [t: "és"] + - t: "un normal subgrup de o igual a" + - "⊵": [t: "conté com un normal subgrup o igual a"] # 0x22b5 + - "⊶": # 0x22b6 + - test: + if: "$Verbosity!='Terse'" + then: [t: "és"] + - t: "el original de" + - "⊷": # 0x22b7 + - test: + if: "$Verbosity!='Terse'" + then: [t: "és"] + - t: "una imatge de" + - "⊸": [t: "multiaplicació"] # 0x22b8 + - "⊹": [t: "matriu conjugada hermítica"] # 0x22b9 + - "⊺": [t: "intercalació"] # 0x22ba + - "⊻": [t: "xor"] # 0x22bb + - "⊼": [t: "no-i"] # 0x22bc + - "⊽": [t: "ni"] # 0x22bd + - "⊾": [t: "angle recte amb arc"] # 0x22be + - "⊿": [t: "dret triangle"] # 0x22bf + - "⋀": [t: "lògic i"] # 0x22c0 + - "⋁": [t: "lògic o"] # 0x22c1 + - "⋂": [t: "intersecció"] # 0x22c2 + - "⋃": [t: "unió"] # 0x22c3 + - "⋄": [t: "rombe operador"] # 0x22c4 + - "⋅": # 0x22c5 + - test: + if: "@data-chem-formula-op" + then: [t: "punt"] + else: [t: "per"] + + - "⋆": [t: "per"] # 0x22c6 + - "⋇": [t: "divisió per"] # 0x22c7 + - "⋈": [t: "corbatí"] # 0x22c8 + - "⋉": # 0x22c9 + - test: + if: "$Verbosity!='Terse'" + then: [t: "és"] + - t: "el producte semidirecte amb factor normal esquerre de" + - "⋊": # 0x22ca + - test: + if: "$Verbosity!='Terse'" + then: [t: "és"] + - t: "el producte semidirecte amb factor normal dret de" + - "⋋": # 0x22cb + - test: + if: "$Verbosity!='Terse'" + then: [t: "és"] + - t: "el esquerre semidirecte producte de" + - "⋌": # 0x22cc + - test: + if: "$Verbosity!='Terse'" + then: [t: "és"] + - t: "el dret semidirecte producte de" + - "⋍": [t: "invertit titlla igual"] # 0x22cd + - "⋎": [t: "arrissat lògic o"] # 0x22ce + - "⋏": [t: "arrissat lògic i"] # 0x22cf + - "⋐": # 0x22d0 + - test: + if: "$Verbosity!='Terse'" + then: [t: "és"] + - t: "un doble subconjunt de" + - "⋑": # 0x22d1 + - test: + if: "$Verbosity!='Terse'" + then: [t: "és"] + - t: "un doble superconjunt de" + - "⋒": # 0x22d2 + - test: + if: "$Verbosity!='Terse'" + then: [ot: "el"] + - t: "doble intersecció de" + - "⋓": # 0x22d3 + - test: + if: "$Verbosity!='Terse'" + then: [ot: "el"] + - t: "doble unió de" + - "⋔": # 0x22d4 + - test: + if: "$Verbosity!='Terse'" + then: [ot: "el"] + - t: "la intersecció pròpia de" + - "⋕": # 0x22d5 + - test: + if: "$Verbosity!='Terse'" + then: [t: "és"] + - t: "igual a i paral·lel a" + - "⋖": [t: "menor que amb punt"] # 0x22d6 + - "⋗": [t: "major que amb punt"] # 0x22d7 + - "⋘": # 0x22d8 + - test: + if: "$Verbosity!='Terse'" + then: [t: "és"] + - t: "molt molt menor que" + - "⋙": # 0x22d9 + - test: + if: "$Verbosity!='Terse'" + then: [t: "és"] + - t: "molt molt major que" + - "⋚": # 0x22da + - test: + if: "$Verbosity!='Terse'" + then: [t: "és"] + - t: "menor que igual a o major que" + - "⋛": # 0x22db + - test: + if: "$Verbosity!='Terse'" + then: [t: "és"] + - t: "major que igual a o menor que" + - "⋜": # 0x22dc + - test: + if: "$Verbosity!='Terse'" + then: [t: "és"] + - t: "igual a o menor que" + - "⋝": # 0x22dd + - test: + if: "$Verbosity!='Terse'" + then: [t: "és"] + - t: "igual a o major que" + - "⋞": # 0x22de + - test: + if: "$Verbosity!='Terse'" + then: [t: "és"] + - t: "igual a o precedeix" + - "⋟": # 0x22df + - test: + if: "$Verbosity!='Terse'" + then: [t: "és"] + - t: "igual a o succeeix" + - "⋠": [t: "no precedeix ni és igual a"] # 0x22e0 + - "⋡": [t: "no succeeix ni és igual a"] # 0x22e1 + - "⋢": [t: "no quadrat imatge de o igual a"] # 0x22e2 + - "⋣": [t: "no quadrat original de o igual a"] # 0x22e3 + - "⋤": [t: "quadrat imatge de o no és igual a"] # 0x22e4 + - "⋥": [t: "quadrat original de o no és igual a"] # 0x22e5 + - "⋦": # 0x22e6 + - test: + if: "$Verbosity!='Terse'" + then: [t: "és"] + - t: "menor que però no és equivalent a" + - "⋧": # 0x22e7 + - test: + if: "$Verbosity!='Terse'" + then: [t: "és"] + - t: "major que però no és equivalent a" + - "⋨": [t: "precedeix però és no és equivalent a"] # 0x22e8 + - "⋩": [t: "succeeix però és no és equivalent a"] # 0x22e9 + - "⋪": # 0x22ea + - test: + if: "$Verbosity!='Terse'" + then: [t: "és"] + - t: "no un normal subgrup de" + - "⋫": [t: "fa no conté com un normal subgrup"] # 0x22eb + - "⋬": # 0x22ec + - test: + if: "$Verbosity!='Terse'" + then: [t: "és"] + - t: "no un normal subgrup de ni és igual a" + - "⋭": [t: "fa no conté com un normal subgrup ni és igual a"] # 0x22ed + - "⋮": [t: "vertical punts suspensius"] # 0x22ee + - "⋯": [t: "punt punt punt"] # 0x22ef + - "⋰": [t: "amunt diagonal punts suspensius"] # 0x22f0 + - "⋱": [t: "diagonal punts suspensius"] # 0x22f1 + - "⋲": [t: "element de amb llarg horitzontal traç"] # 0x22f2 + - "⋳": [t: "element de amb vertical barra a fi de horitzontal traç"] # 0x22f3 + - "⋴": [t: "element de amb vertical barra a fi de horitzontal traç"] # 0x22f4 + - "⋵": [t: "element de amb punt un sobre"] # 0x22f5 + - "⋶": [t: "element de amb barra superior"] # 0x22f6 + - "⋷": [t: "element de amb barra superior"] # 0x22f7 + - "⋸": [t: "element de amb barra inferior"] # 0x22f8 + - "⋹": [t: "element de amb dos traços horitzontals"] # 0x22f9 + - "⋺": [t: "conté amb llarg horitzontal traç"] # 0x22fa + - "⋻": [t: "conté amb vertical barra a fi de horitzontal traç"] # 0x22fb + - "⋼": [t: "conté amb vertical barra a fi de horitzontal traç"] # 0x22fc + - "⋽": [t: "conté amb barra superior"] # 0x22fd + - "⋾": [t: "conté amb barra superior"] # 0x22fe + - "⋿": [t: "pertinença a una bossa en notació z"] # 0x22ff + - "⌀": [t: "diàmetre"] # 0x2300 + - "⌁": [t: "fletxa elèctrica"] # 0x2301 + - "⌂": [t: "casa"] # 0x2302 + - "⌃": [t: "amunt punta de fletxa"] # 0x2303 + - "⌄": [t: "punta de fletxa cap avall"] # 0x2304 + - "⌅": [t: "projectiu"] # 0x2305 + - "⌆": [t: "perspectiva"] # 0x2306 + - "⌇": [t: "línia ondulada"] # 0x2307 + - "⌈": [t: "esquerre sostre"] # 0x2308 + - "⌉": [t: "dret sostre"] # 0x2309 + - "⌊": [t: "esquerre terra"] # 0x230a + - "⌋": [t: "dret terra"] # 0x230b + - "⌌": [t: "inferior dret retall"] # 0x230c + - "⌍": [t: "inferior esquerre retall"] # 0x230d + - "⌎": [t: "superior dret retall"] # 0x230e + - "⌏": [t: "superior esquerre retall"] # 0x230f + - "⌐": [t: "invertit no signe"] # 0x2310 + - "⌑": [t: "quadrat rombe"] # 0x2311 + - "⌒": [t: "arc"] # 0x2312 + - "⌓": [t: "segment"] # 0x2313 + - "⌔": [t: "sector"] # 0x2314 + - "⌕": [t: "gravadora telefònica"] # 0x2315 + - "⌖": [t: "retícula indicadora de posició"] # 0x2316 + - "⌗": [t: "quadrat de teletext"] # 0x2317 + - "⌘": [t: "signe de lloc d'interès"] # 0x2318 + - "⌙": [t: "girat no signe"] # 0x2319 + - "⌚": [t: "rellotge"] # 0x231a + - "⌛": [t: "rellotge de sorra"] # 0x231b + - "⌜": [t: "superior esquerre cantonada"] # 0x231c + - "⌝": [t: "superior dret cantonada"] # 0x231d + - "⌞": [t: "inferior esquerre cantonada"] # 0x231e + - "⌟": [t: "inferior dret cantonada"] # 0x231f + - "⌠": [t: "superior mig integral"] # 0x2320 + - "⌡": [t: "inferior mig integral"] # 0x2321 + - "⌢": [t: "arrufament"] # 0x2322 + - "⌣": [t: "somriure"] # 0x2323 + - "⌤": [t: "punta de fletxa cap amunt entre dues barres horitzontals"] # 0x2324 + - "⌥": [t: "tecla d'opció"] # 0x2325 + - "⌦": [t: "esborra cap a la dreta"] # 0x2326 + - "⌧": [t: "x dins un rectangle requadre"] # 0x2327 + - "⌨": [t: "teclat"] # 0x2328 + - "〈": [t: "esquerre apuntant angle claudàtor"] # 0x2329 + - "〉": [t: "dret apuntant angle claudàtor"] # 0x232a + - "⌫": [t: "esborra cap a l'esquerra"] # 0x232b + - "⌬": [t: "anell de benzè"] # 0x232c + - "⌭": [t: "cilindricitat"] # 0x232d + - "⌮": [t: "perfil complet"] # 0x232e + - "⌯": [t: "simetria"] # 0x232f + - "⌰": [t: "desviació total"] # 0x2330 + - "⌱": [t: "origen de cota"] # 0x2331 + - "⌲": [t: "conicitat"] # 0x2332 + - "⌳": [t: "pendent"] # 0x2333 + - "⌴": [t: "caixa cilíndrica"] # 0x2334 + - "⌵": [t: "avellanament"] # 0x2335 + - "⌶": [t: "biga i d'apl"] # 0x2336 + - "⌽": [t: "cercle amb barra d'apl"] # 0x233d + - "⌿": [t: "apl barra obliqua barra"] # 0x233f + - "⍰": [t: "desconegut requadre"] # 0x2370 + - "⍼": [t: "angle recte amb avall zigzag fletxa"] # 0x237c + - "⎔": [t: "hexàgon"] # 0x2394 + - "⎕": [t: "requadre"] # 0x2395 + - "⎶": [t: "inferior quadrat claudàtor sobre superior quadrat claudàtor"] # 0x23b6 + - "⏜": [t: "superior parèntesi"] # 0x23dc + - "⏝": [t: "inferior parèntesi"] # 0x23dd + - "⏞": [t: "superior clau"] # 0x23de + - "⏟": [t: "inferior clau"] # 0x23df + - "⏠": [t: "superior tortuga closca claudàtor"] # 0x23e0 + - "⏡": [t: "inferior tortuga closca claudàtor"] # 0x23e1 + - "⏢": [t: "trapezi blanc"] # 0x23e2 + - "⏣": [t: "anell de benzè amb cercle"] # 0x23e3 + - "⏤": [t: "rectitud"] # 0x23e4 + - "⏥": [t: "planitud"] # 0x23e5 + - "⏦": # 0x23e6 + - spell: "ac" + - t: "corrent" + - "⏧": [t: "intersecció elèctrica"] # 0x23e7 + - "①-⑨": # 0x2460 - 0x2469 + - t: "encerclat" + - spell: "translate('.', '①②③④⑤⑥⑦⑧⑨', '123456789')" + - "⑩": [t: "encerclat deu"] # 0x2469 + - "⑪": [t: "encerclat onze"] # 0x246a + - "⑫": [t: "encerclat dotze"] # 0x246b + - "⑬": [t: "encerclat tretze"] # 0x246c + - "⑭": [t: "encerclat catorze"] # 0x246d + - "⑮": [t: "encerclat quinze"] # 0x246e + - "⑯": [t: "encerclat setze"] # 0x246f + - "⑰": [t: "encerclat disset"] # 0x2470 + - "⑱": [t: "encerclat divuit"] # 0x2471 + - "⑳": [t: "encerclat vint"] # 0x2473 + - "⑴-⑼": # 0x2474 - 0x247d + - t: "entre parèntesis" + - spell: "translate('.', '⑴⑵⑶⑷⑸⑹⑺⑻⑼', '123456789')" + - "⑽": [t: "entre parèntesis deu"] # 0x247d + - "⑾": [t: "entre parèntesis onze"] # 0x247e + - "⑿": [t: "entre parèntesis dotze"] # 0x247f + - "⒀": [t: "entre parèntesis tretze"] # 0x2480 + - "⒁": [t: "entre parèntesis catorze"] # 0x2481 + - "⒂": [t: "entre parèntesis quinze"] # 0x2482 + - "⒃": [t: "entre parèntesis setze"] # 0x2483 + - "⒄": [t: "entre parèntesis disset"] # 0x2484 + - "⒅": [t: "entre parèntesis divuit"] # 0x2485 + - "⒆": [t: "entre parèntesis dinou"] # 0x2486 + - "⒇": [t: "entre parèntesis vint"] # 0x2487 + - "⒈-⒐": # 0x2488 - 0x2491 + - spell: "translate('.', '⒈⒉⒊⒋⒌⒍⒎⒏⒐', '123456789')" + - t: "amb punt" + - "⒑": [t: "deu amb punt"] # 0x2491 + - "⒒": [t: "onze amb punt"] # 0x2492 + - "⒓": [t: "dotze amb punt"] # 0x2493 + - "⒔": [t: "tretze amb punt"] # 0x2494 + - "⒕": [t: "catorze amb punt"] # 0x2495 + - "⒖": [t: "quinze amb punt"] # 0x2496 + - "⒗": [t: "setze amb punt"] # 0x2497 + - "⒘": [t: "disset amb punt"] # 0x2498 + - "⒙": [t: "divuit amb punt"] # 0x2499 + - "⒚": [t: "dinou amb punt"] # 0x249a + - "⒛": [t: "vint amb punt"] # 0x249b + - "⒜-⒵": # 0x249c - 0x24b5 + - t: "entre parèntesis" + - spell: "translate('.', '⒜⒝⒞⒟⒠⒡⒢⒣⒤⒥⒦⒧⒨⒩⒪⒫⒬⒭⒮⒯⒰⒱⒲⒳⒴⒵', 'abcdefghijklmnopqrstuvwxyz')" + + - "Ⓐ-Ⓩ": # 0x24b6 - 0x24cf + - t: "encerclat" + - spell: "translate('.', 'ⒶⒷⒸⒹⒺⒻⒼⒽⒾⒿⓀⓁⓂⓃⓄⓅⓆⓇⓈⓉⓊⓋⓌⓍⓎⓏ', 'ABCDEFGHIJKLMNOPQRSTUVWXYZ')" + + - "🅐-🅩": # 0x1f150 - 0x1f169 + - t: "encerclat negre" + - spell: "translate('.', '🅐🅑🅒🅓🅔🅕🅖🅗🅘🅙🅚🅛🅜🅝🅞🅟🅠🅡🅢🅣🅤🅥🅦🅧🅨🅩', 'ABCDEFGHIJKLMNOPQRSTUVWXYZ')" + + - "ⓐ-ⓩ": # 0x24d0 - 0x24e9 + - t: "encerclat" + - spell: "translate('.', 'ⓐⓑⓒⓓⓔⓕⓖⓗⓘⓙⓚⓛⓜⓝⓞⓟⓠⓡⓢⓣⓤⓥⓦⓧⓨⓩ', 'abcdefghijklmnopqrstuvwxyz')" + + - "⓪": [t: "encerclat zero"] # 0x24ea + - "⓫": [t: "onze encerclat negre"] # 0x24eb + - "⓬": [t: "dotze encerclat negre"] # 0x24ec + - "⓭": [t: "tretze encerclat negre"] # 0x24ed + - "⓮": [t: "catorze encerclat negre"] # 0x24ee + - "⓯": [t: "quinze encerclat negre"] # 0x24ef + - "⓰": [t: "setze encerclat negre"] # 0x24f0 + - "⓱": [t: "disset encerclat negre"] # 0x24f1 + - "⓲": [t: "divuit encerclat negre"] # 0x24f2 + - "⓳": [t: "dinou encerclat negre"] # 0x24f3 + - "⓴": [t: "vint encerclat negre"] # 0x24f4 + - "⓵-⓽": # 0x24f5 - 0x24fe + - t: "doble encerclat" + - spell: "translate('.', '⓵⓶⓷⓸⓹⓺⓻⓼⓽', '123456789')" + - "⓾": [t: "doble encerclat deu"] # 0x24fe + - "⓿": [t: "zero encerclat negre"] # 0x24ff + - "■": [t: "quadrat negre"] # 0x25a0 + - "□": [t: "quadrat blanc"] # 0x25a1 + - "▢": [t: "quadrat blanc amb cantonades arrodonides"] # 0x25a2 + - "▣": [t: "quadrat blanc que conté un quadrat negre petit"] # 0x25a3 + - "▤": [t: "quadrat amb horitzontal farciment"] # 0x25a4 + - "▥": [t: "quadrat amb vertical farciment"] # 0x25a5 + - "▦": [t: "quadrat amb farciment de retícula ortogonal"] # 0x25a6 + - "▧": [t: "quadrat amb superior esquerre un inferior dret farciment"] # 0x25a7 + - "▨": [t: "quadrat amb superior dret un inferior esquerre farciment"] # 0x25a8 + - "▩": [t: "quadrat amb farciment de retícula diagonal"] # 0x25a9 + - "▪": [t: "negre petit quadrat"] # 0x25aa + - "▫": [t: "blanc petit quadrat"] # 0x25ab + - "▬": [t: "negre rectangle"] # 0x25ac + - "▭": [t: "blanc rectangle"] # 0x25ad + - "▮": [t: "rectangle vertical negre"] # 0x25ae + - "▯": [t: "rectangle vertical blanc"] # 0x25af + - "▰": [t: "paral·lelogram negre"] # 0x25b0 + - "▱": [t: "paral·lelogram blanc"] # 0x25b1 + - "▲": [t: "triangle negre que apunta cap amunt"] # 0x25b2 + - "△": [t: "triangle"] # 0x25b3 + - "▴": [t: "triangle negre petit que apunta cap amunt"] # 0x25b4 + - "▵": [t: "triangle blanc petit que apunta cap amunt"] # 0x25b5 + - "▶": [t: "triangle negre que apunta cap a la dreta"] # 0x25b6 + - "▷": [t: "triangle blanc que apunta cap a la dreta"] # 0x25b7 + - "▸": [t: "triangle negre petit que apunta cap a la dreta"] # 0x25b8 + - "▹": [t: "triangle blanc petit que apunta cap a la dreta"] # 0x25b9 + - "►": [t: "negre dret apuntant punter"] # 0x25ba + - "▻": [t: "blanc dret apuntant punter"] # 0x25bb + - "▼": [t: "triangle negre que apunta cap avall"] # 0x25bc + - "▽": [t: "triangle blanc que apunta cap avall"] # 0x25bd + - "▾": [t: "triangle negre petit que apunta cap avall"] # 0x25be + - "▿": [t: "triangle blanc petit que apunta cap avall"] # 0x25bf + - "◀": [t: "triangle negre que apunta cap a l'esquerra"] # 0x25c0 + - "◁": [t: "triangle blanc que apunta cap a l'esquerra"] # 0x25c1 + - "◂": [t: "triangle negre petit que apunta cap a l'esquerra"] # 0x25c2 + - "◃": [t: "triangle blanc petit que apunta cap a l'esquerra"] # 0x25c3 + - "◄": [t: "negre esquerre apuntant punter"] # 0x25c4 + - "◅": [t: "blanc esquerre apuntant punter"] # 0x25c5 + - "◆": [t: "rombe negre"] # 0x25c6 + - "◇": [t: "rombe blanc"] # 0x25c7 + - "◈": [t: "rombe blanc que conté un rombe negre petit"] # 0x25c8 + - "◉": [t: "ull de peix"] # 0x25c9 + - "◊": [t: "rombe"] # 0x25ca + - "○": [t: "cercle blanc"] # 0x25cb + - "◌": [t: "puntejat cercle"] # 0x25cc + - "◍": [t: "cercle amb vertical farciment"] # 0x25cd + - "◎": [t: "diana"] # 0x25ce + - "●": [t: "cercle negre"] # 0x25cf + - "◐": [t: "cercle amb esquerre mig negre"] # 0x25d0 + - "◑": [t: "cercle amb dret mig negre"] # 0x25d1 + - "◒": [t: "cercle amb inferior mig negre"] # 0x25d2 + - "◓": [t: "cercle amb superior mig negre"] # 0x25d3 + - "◔": [t: "cercle amb superior dret quadrant negre"] # 0x25d4 + - "◕": [t: "cercle amb tot però superior esquerre quadrant negre"] # 0x25d5 + - "◖": [t: "esquerre mig cercle negre"] # 0x25d6 + - "◗": [t: "dret mig cercle negre"] # 0x25d7 + - "◘": [t: "invers vinyeta"] # 0x25d8 + - "◙": [t: "invers cercle blanc"] # 0x25d9 + - "◚": [t: "superior mig invers cercle blanc"] # 0x25da + - "◛": [t: "inferior mig invers cercle blanc"] # 0x25db + - "◜": [t: "arc circular del quadrant superior esquerre"] # 0x25dc + - "◝": [t: "arc circular del quadrant superior dret"] # 0x25dd + - "◞": [t: "arc circular del quadrant inferior dret"] # 0x25de + - "◟": [t: "arc circular del quadrant inferior esquerre"] # 0x25df + - "◠": [t: "superior mig cercle"] # 0x25e0 + - "◡": [t: "inferior mig cercle"] # 0x25e1 + - "◢": [t: "triangle negre inferior dret"] # 0x25e2 + - "◣": [t: "triangle negre inferior esquerre"] # 0x25e3 + - "◤": [t: "triangle negre superior esquerre"] # 0x25e4 + - "◥": [t: "triangle negre superior dret"] # 0x25e5 + - "◦": [t: "composició"] # 0x25e6 + - "◧": [t: "quadrat amb esquerre mig negre"] # 0x25e7 + - "◨": [t: "quadrat amb dret mig negre"] # 0x25e8 + - "◩": [t: "quadrat amb superior esquerre mig negre"] # 0x25e9 + - "◪": [t: "quadrat amb inferior dret mig negre"] # 0x25ea + - "◫": [t: "quadrat blanc amb una línia bisectriu"] # 0x25eb + - "◬": [t: "blanc amunt apuntant triangle amb punt"] # 0x25ec + - "◭": [t: "amunt apuntant triangle amb esquerre mig negre"] # 0x25ed + - "◮": [t: "amunt apuntant triangle amb dret mig negre"] # 0x25ee + - "◯": [t: "gran cercle"] # 0x25ef + - "◰": [t: "quadrat blanc amb superior esquerre quadrant"] # 0x25f0 + - "◱": [t: "quadrat blanc amb inferior esquerre quadrant"] # 0x25f1 + - "◲": [t: "quadrat blanc amb inferior dret quadrant"] # 0x25f2 + - "◳": [t: "quadrat blanc amb superior dret quadrant"] # 0x25f3 + - "◴": [t: "cercle blanc amb superior esquerre quadrant"] # 0x25f4 + - "◵": [t: "cercle blanc amb inferior esquerre quadrant"] # 0x25f5 + - "◶": [t: "cercle blanc amb inferior dret quadrant"] # 0x25f6 + - "◷": [t: "cercle blanc amb superior dret quadrant"] # 0x25f7 + - "◸": [t: "superior esquerre triangle"] # 0x25f8 + - "◹": [t: "superior dret triangle"] # 0x25f9 + - "◺": [t: "inferior esquerre triangle"] # 0x25fa + - "◻": [t: "blanc mitjà quadrat"] # 0x25fb + - "◼": [t: "negre mitjà quadrat"] # 0x25fc + - "◽": [t: "blanc mitjà petit quadrat"] # 0x25fd + - "◾": [t: "negre mitjà petit quadrat"] # 0x25fe + - "◿": [t: "inferior dret triangle"] # 0x25ff + - "★": [t: "estrella negra"] # 0x2605 + - "☆": [t: "estrella blanca"] # 0x2606 + - "☉": [t: "sol"] # 0x2609 + - "☌": [t: "conjunció"] # 0x260c + - "☒": [t: "casella de votació amb una x"] # 0x2612 + - "☽": [t: "lluna creixent"] # 0x263d + - "☾": [t: "lluna minvant"] # 0x263e + - "☿": [t: "Mercuri"] # 0x263f + - "♀": [t: "femení"] # 0x2640 + - "♁": [t: "Terra"] # 0x2641 + - "♂": [t: "masculí"] # 0x2642 + - "♃": [t: "Júpiter"] # 0x2643 + - "♄": [t: "Saturn"] # 0x2644 + - "♅": [t: "Urà"] # 0x2645 + - "♆": [t: "Neptú"] # 0x2646 + - "♇": [t: "Plutó"] # 0x2647 + - "♈": [t: "Àries"] # 0x2648 + - "♉": [t: "Taure"] # 0x2649 + - "♩": [t: "negra"] # 0x2669 + - "♭": [t: "bemoll"] # 0x266d + - "♮": [t: "becaire"] # 0x266e + - "♯": [t: "sostingut"] # 0x266f + - "♠": [t: "pal de piques negre"] # 0x2660 + - "♡": [t: "pal de cors blanc"] # 0x2661 + - "♢": [t: "rombe blanc pal"] # 0x2662 + - "♣": [t: "pal de trèvols negre"] # 0x2663 + - "♤": [t: "pal de piques blanc"] # 0x2664 + - "♥": [t: "pal de cors negre"] # 0x2665 + - "♦": [t: "rombe negre pal"] # 0x2666 + - "♧": [t: "pal de trèvols blanc"] # 0x2667 + - "⚀": [t: "dau cara 1"] # 0x2680 + - "⚁": [t: "dau cara 2"] # 0x2681 + - "⚂": [t: "dau cara 3"] # 0x2682 + - "⚃": [t: "dau cara 4"] # 0x2683 + - "⚄": [t: "dau cara 5"] # 0x2684 + - "⚅": [t: "dau cara 6"] # 0x2685 + - "⚆": [t: "cercle blanc amb punt dret"] # 0x2686 + - "⚇": [t: "cercle blanc amb dos punts"] # 0x2687 + - "⚈": [t: "cercle negre amb punt dret"] # 0x2688 + - "⚉": [t: "cercle negre amb dos punts"] # 0x2689 + - "⚪": [t: "mitjà cercle blanc"] # 0x26aa + - "⚫": [t: "mitjà cercle negre"] # 0x26ab + - "⚬": [t: "mitjà petit cercle blanc"] # 0x26ac + - "⚲": [t: "neutre"] # 0x26b2 + - "✓": [t: "caró marca"] # 0x2713 + - "✠": [t: "creu de Malta"] # 0x2720 + - "✪": [t: "encerclat estrella blanca"] # 0x272a + - "✶": [t: "estrella negra de sis puntes"] # 0x2736 + - "❨": [t: "mitjà esquerre parèntesis ornament"] # 0x2768 + - "❩": [t: "mitjà dret parèntesis ornament"] # 0x2769 + - "❪": [t: "mitjà aplanat esquerre parèntesis ornament"] # 0x276a + - "❫": [t: "mitjà aplanat dret parèntesis ornament"] # 0x276b + - "❬": [t: "mitjà apuntant a l'esquerra angle claudàtor ornament"] # 0x276c + - "❭": [t: "mitjà apuntant a la dreta angle claudàtor ornament"] # 0x276d + - "❮": [t: "gruixut apuntant a l'esquerra angle cometes ornament"] # 0x276e + - "❯": [t: "gruixut apuntant a la dreta angle cometes ornament"] # 0x276f + - "❰": [t: "gruixut apuntant a l'esquerra angle claudàtor ornament"] # 0x2770 + - "❱": [t: "gruixut apuntant a la dreta angle claudàtor ornament"] # 0x2771 + - "❲": [t: "ornament de claudàtor esquerre fi en forma de closca de tortuga"] # 0x2772 + - "❳": [t: "ornament de claudàtor dret fi en forma de closca de tortuga"] # 0x2773 + - "❴": [t: "mitjà clau esquerra ornament"] # 0x2774 + - "❵": [t: "mitjà clau dreta ornament"] # 0x2775 + - "❶": [t: "un encerclat negre"] # 0x2776 + - "❷": [t: "dos encerclat negre"] # 0x2777 + - "❸": [t: "tres encerclat negre"] # 0x2778 + - "❹": [t: "quatre encerclat negre"] # 0x2779 + - "❺": [t: "cinc encerclat negre"] # 0x277a + - "❻": [t: "sis encerclat negre"] # 0x277b + - "❼": [t: "set encerclat negre"] # 0x277c + - "❽": [t: "vuit encerclat negre"] # 0x277d + - "❾": [t: "nou encerclat negre"] # 0x277e + - "❿": [t: "deu encerclat negre"] # 0x277f + - "➀": [t: "encerclat sense serif un"] # 0x2780 + - "➁": [t: "encerclat sense serif dos"] # 0x2781 + - "➂": [t: "encerclat sense serif tres"] # 0x2782 + - "➃": [t: "encerclat sense serif quatre"] # 0x2783 + - "➄": [t: "encerclat sense serif cinc"] # 0x2784 + - "➅": [t: "encerclat sense serif sis"] # 0x2785 + - "➆": [t: "set encerclat sense serif"] # 0x2786 + - "➇": [t: "encerclat sense serif vuit"] # 0x2787 + - "➈": [t: "encerclat sense serif nou"] # 0x2788 + - "➉": [t: "encerclat sense serif deu"] # 0x2789 + - "➊": [t: "un encerclat negre sense serif"] # 0x278a + - "➋": [t: "dos encerclat negre sense serif"] # 0x278b + - "➌": [t: "tres encerclat negre sense serif"] # 0x278c + - "➍": [t: "quatre encerclat negre sense serif"] # 0x278d + - "➎": [t: "cinc encerclat negre sense serif"] # 0x278e + - "➏": [t: "sis encerclat negre sense serif"] # 0x278f + - "➐": [t: "set encerclat negre sense serif"] # 0x2790 + - "➑": [t: "vuit encerclat negre sense serif"] # 0x2791 + - "➒": [t: "nou encerclat negre sense serif"] # 0x2792 + - "➓": [t: "deu encerclat negre sense serif"] # 0x2793 + - "➔": [t: "fletxa gruixuda cap a la dreta amb punta ampla"] # 0x2794 + - "➕": [t: "gruixut més signe"] # 0x2795 + - "➖": [t: "gruixut menys signe"] # 0x2796 + - "➗": [t: "gruixut divisió signe"] # 0x2797 + - "➘": [t: "gruixut fletxa sud-est"] # 0x2798 + - "➙": [t: "gruixut fletxa dreta"] # 0x2799 + - "➚": [t: "gruixut fletxa nord-est"] # 0x279a + - "➛": [t: "fletxa de punta de dibuix cap a la dreta"] # 0x279b + - "➜": [t: "fletxa gruixuda de punta arrodonida cap a la dreta"] # 0x279c + - "➝": [t: "amb punta triangular fletxa dreta"] # 0x279d + - "➞": [t: "gruixut amb punta triangular fletxa dreta"] # 0x279e + - "➟": [t: "discontinu amb punta triangular fletxa dreta"] # 0x279f + - "➠": [t: "gruixut discontinu amb punta triangular fletxa dreta"] # 0x27a0 + - "➡": [t: "negre fletxa dreta"] # 0x27a1 + - "➢": [t: "fletxa tridimensional il·luminada per dalt cap a la dreta"] # 0x27a2 + - "➣": [t: "fletxa tridimensional il·luminada per baix cap a la dreta"] # 0x27a3 + - "➤": [t: "punta de fletxa negra cap a la dreta"] # 0x27a4 + - "➥": [t: "gruixut negre corbat avall i fletxa dreta"] # 0x27a5 + - "➦": [t: "gruixut negre corbat amunt i fletxa dreta"] # 0x27a6 + - "➧": [t: "fletxa negra ampla cap a la dreta"] # 0x27a7 + - "➨": [t: "fletxa negra gruixuda amb punta còncava cap a la dreta"] # 0x27a8 + - "➩": [t: "fletxa blanca ombrejada a la dreta"] # 0x27a9 + - "➪": [t: "fletxa blanca ombrejada a l'esquerra cap a la dreta"] # 0x27aa + - "➫": [t: "fletxa blanca inclinada enrere i ombrejada cap a la dreta"] # 0x27ab + - "➬": [t: "fletxa blanca inclinada endavant i ombrejada cap a la dreta"] # 0x27ac + - "➭": [t: "gruixut inferior ombrejat a la dreta blanc fletxa dreta"] # 0x27ad + - "➮": [t: "gruixut superior ombrejat a la dreta blanc fletxa dreta"] # 0x27ae + - "➯": [t: "fletxa blanca amb osca i ombrejada a la part inferior dreta"] # 0x27af + - "➱": [t: "fletxa blanca amb osca i ombrejada a la part superior dreta"] # 0x27b1 + - "➲": [t: "encerclat gruixut blanc fletxa dreta"] # 0x27b2 + - "➳": [t: "fletxa amb plomes blanques cap a la dreta"] # 0x27b3 + - "➴": [t: "amb plomes negres fletxa sud-est"] # 0x27b4 + - "➵": [t: "amb plomes negres fletxa dreta"] # 0x27b5 + - "➶": [t: "amb plomes negres fletxa nord-est"] # 0x27b6 + - "➷": [t: "gruixut amb plomes negres fletxa sud-est"] # 0x27b7 + - "➸": [t: "gruixut amb plomes negres fletxa dreta"] # 0x27b8 + - "➹": [t: "gruixut amb plomes negres fletxa nord-est"] # 0x27b9 + - "➺": [t: "fletxa amb pua en forma de llàgrima cap a la dreta"] # 0x27ba + - "➻": [t: "fletxa gruixuda amb tija en forma de llàgrima cap a la dreta"] # 0x27bb + - "➼": [t: "fletxa amb cua en forma de falca cap a la dreta"] # 0x27bc + - "➽": [t: "fletxa gruixuda amb cua en forma de falca cap a la dreta"] # 0x27bd + - "➾": [t: "fletxa de contorn obert cap a la dreta"] # 0x27be + - "⟀": [t: "tres dimensional angle"] # 0x27c0 + - "⟁": [t: "triangle blanc que conté un triangle blanc petit"] # 0x27c1 + - "⟂⊥": # 0x27c2, 22A5 (22A5 wrongly used for perpendicular by most editors) + - test: + - if: "$SpeechStyle = 'LiteralSpeak' and text()='⊥'" # 22A5 (up tack/bottom) + then: [t: "amunt topall"] + - else: + - test: + if: "$Verbosity!='Terse'" + then: [t: "és"] + - t: "perpendicular a" + - "⟃": # 0x27c3 + - test: + if: "$Verbosity!='Terse'" + then: [t: "és"] + - t: "un subconjunt obert de" + - "⟄": # 0x27c4 + - test: + if: "$Verbosity!='Terse'" + then: [t: "és"] + - t: "un superconjunt obert de" + - "⟅": [t: "delimitador esquerre de bossa en forma de essa"] # 0x27c5 + - "⟆": [t: "delimitador dret de bossa en forma de essa"] # 0x27c6 + - "⟇": [t: "o amb punt interior"] # 0x27c7 + - "⟈": [t: "barra obliqua inversa davant de subconjunt"] # 0x27c8 + - "⟉": [t: "superconjunt davant de barra obliqua"] # 0x27c9 + - "⟊": [t: "vertical barra amb horitzontal traç"] # 0x27ca + - "⟋": [t: "diagonal matemàtica ascendent"] # 0x27cb + - "⟌": [t: "llarg divisió"] # 0x27cc + - "⟍": [t: "diagonal matemàtica descendent"] # 0x27cd + - "⟎": [t: "al quadrat lògic i"] # 0x27ce + - "⟏": [t: "al quadrat lògic o"] # 0x27cf + - "⟐": [t: "rombe blanc amb centrat punt"] # 0x27d0 + - "⟑": [t: "i amb punt"] # 0x27d1 + - "⟒": [t: "element de obertura amunt"] # 0x27d2 + - "⟓": [t: "inferior dret cantonada amb punt"] # 0x27d3 + - "⟔": [t: "superior esquerre cantonada amb punt"] # 0x27d4 + - "⟕": [t: "esquerre exterior unió"] # 0x27d5 + - "⟖": [t: "dret exterior unió"] # 0x27d6 + - "⟗": [t: "unió exterior completa"] # 0x27d7 + - "⟘": [t: "gran amunt topall"] # 0x27d8 + - "⟙": [t: "gran avall topall"] # 0x27d9 + - "⟚": [t: "esquerre i dret doble símbol de deducció"] # 0x27da + - "⟛": [t: "esquerre i dret topall"] # 0x27db + - "⟜": [t: "esquerre multiaplicació"] # 0x27dc + - "⟝": [t: "llarg dret topall"] # 0x27dd + - "⟞": [t: "llarg esquerre topall"] # 0x27de + - "⟟": [t: "amunt topall amb cercle un sobre"] # 0x27df + - "⟠": [t: "rombe dividit per una línia horitzontal"] # 0x27e0 + - "⟡": [t: "rombe blanc de costats còncaus"] # 0x27e1 + - "⟢": [t: "rombe blanc de costats còncaus amb marca esquerra"] # 0x27e2 + - "⟣": [t: "rombe blanc de costats còncaus amb marca dreta"] # 0x27e3 + - "⟤": [t: "quadrat blanc amb esquerre marca"] # 0x27e4 + - "⟥": [t: "quadrat blanc amb dret marca"] # 0x27e5 + - "⟦": [t: "esquerre quadrat blanc claudàtor"] # 0x27e6 + - "⟧": [t: "dret quadrat blanc claudàtor"] # 0x27e7 + - "⟨": [t: "esquerre angle claudàtor"] # 0x27e8 + - "⟩": [t: "angle recte claudàtor"] # 0x27e9 + - "⟪": [t: "esquerre angle doble claudàtor"] # 0x27ea + - "⟫": [t: "angle recte doble claudàtor"] # 0x27eb + - "⟬": [t: "esquerre blanc tortuga closca claudàtor"] # 0x27ec + - "⟭": [t: "dret blanc tortuga closca claudàtor"] # 0x27ed + - "⟮": [t: "esquerre aplanat parèntesi"] # 0x27ee + - "⟯": [t: "dret aplanat parèntesi"] # 0x27ef + - "⟰": [t: "amunt quàdruple fletxa"] # 0x27f0 + - "⟱": [t: "avall quàdruple fletxa"] # 0x27f1 + - "⟲": [t: "fletxa circular discontínua en sentit antihorari"] # 0x27f2 + - "⟳": [t: "fletxa circular discontínua en sentit horari"] # 0x27f3 + - "⟴": [t: "fletxa dreta amb encerclat més"] # 0x27f4 + - "⟵": [t: "llarg fletxa esquerra"] # 0x27f5 + - "⟶": [t: "llarg fletxa dreta"] # 0x27f6 + - "⟷": [t: "llarg fletxa esquerra i dreta"] # 0x27f7 + - "⟸": [t: "llarg esquerre doble fletxa"] # 0x27f8 + - "⟹": [t: "implica"] # 0x27f9 + - "⟺": [t: "si i només si"] # 0x27fa + - "⟻": [t: "llarg fletxa esquerra des de barra"] # 0x27fb + - "⟼": [t: "llarg fletxa dreta des de barra"] # 0x27fc + - "⟽": [t: "llarg esquerre doble fletxa des de barra"] # 0x27fd + - "⟾": [t: "llarg dret doble fletxa des de barra"] # 0x27fe + - "⟿": [t: "llarg dret gargot fletxa"] # 0x27ff + - "⤀": [t: "dret dos amb punta fletxa amb vertical traç"] # 0x2900 + - "⤁": [t: "dret dos amb punta fletxa amb doble vertical traç"] # 0x2901 + - "⤂": [t: "esquerre doble fletxa amb vertical traç"] # 0x2902 + - "⤃": [t: "dret doble fletxa amb vertical traç"] # 0x2903 + - "⤄": [t: "esquerre dret doble fletxa amb vertical traç"] # 0x2904 + - "⤅": [t: "dret dos amb punta fletxa des de barra"] # 0x2905 + - "⤆": [t: "esquerre doble fletxa des de barra"] # 0x2906 + - "⤇": [t: "dret doble fletxa des de barra"] # 0x2907 + - "⤈": [t: "fletxa avall amb horitzontal traç"] # 0x2908 + - "⤉": [t: "fletxa amunt amb horitzontal traç"] # 0x2909 + - "⤊": [t: "amunt triple fletxa"] # 0x290a + - "⤋": [t: "avall triple fletxa"] # 0x290b + - "⤌": [t: "esquerre doble guió fletxa"] # 0x290c + - "⤍": [t: "dret doble guió fletxa"] # 0x290d + - "⤎": [t: "esquerre triple guió fletxa"] # 0x290e + - "⤏": [t: "dret triple guió fletxa"] # 0x290f + - "⤐": [t: "dret dos amb punta triple guió fletxa"] # 0x2910 + - "⤑": [t: "fletxa dreta amb puntejat tija"] # 0x2911 + - "⤒": [t: "fletxa amunt un barra"] # 0x2912 + - "⤓": [t: "fletxa avall un barra"] # 0x2913 + - "⤔": [t: "fletxa dreta amb cua i vertical traç"] # 0x2914 + - "⤕": [t: "fletxa dreta amb cua i doble vertical traç"] # 0x2915 + - "⤖": [t: "dret dos amb punta fletxa amb cua"] # 0x2916 + - "⤗": [t: "dret dos amb punta fletxa amb cua amb vertical traç"] # 0x2917 + - "⤘": [t: "dret dos amb punta fletxa amb cua amb doble vertical traç"] # 0x2918 + - "⤙": [t: "fletxa esquerra cua"] # 0x2919 + - "⤚": [t: "fletxa dreta cua"] # 0x291a + - "⤛": [t: "esquerre doble fletxa cua"] # 0x291b + - "⤜": [t: "dret doble fletxa cua"] # 0x291c + - "⤝": [t: "fletxa esquerra un ple rombe"] # 0x291d + - "⤞": [t: "fletxa dreta un ple rombe"] # 0x291e + - "⤟": [t: "fletxa esquerra des de barra un ple rombe"] # 0x291f + - "⤠": [t: "fletxa dreta des de barra un ple rombe"] # 0x2920 + - "⤡": [t: "nord oest i fletxa sud-est"] # 0x2921 + - "⤢": [t: "nord est i fletxa sud-oest"] # 0x2922 + - "⤣": [t: "fletxa nord-oest amb ganxo"] # 0x2923 + - "⤤": [t: "fletxa nord-est amb ganxo"] # 0x2924 + - "⤥": [t: "fletxa sud-est amb ganxo"] # 0x2925 + - "⤦": [t: "fletxa sud-oest amb ganxo"] # 0x2926 + - "⤧": [t: "fletxa nord-oest i fletxa nord-est"] # 0x2927 + - "⤨": [t: "fletxa nord-est i fletxa sud-est"] # 0x2928 + - "⤩": [t: "fletxa sud-est i fletxa sud-oest"] # 0x2929 + - "⤪": [t: "fletxa sud-oest i fletxa nord-oest"] # 0x292a + - "⤫": [t: "ascendent diagonal encreuament descendent diagonal"] # 0x292b + - "⤬": [t: "descendent diagonal encreuament ascendent diagonal"] # 0x292c + - "⤭": [t: "fletxa sud-est encreuament fletxa nord-est"] # 0x292d + - "⤮": [t: "fletxa nord-est encreuament fletxa sud-est"] # 0x292e + - "⤯": [t: "descendent diagonal encreuament fletxa nord-est"] # 0x292f + - "⤰": [t: "ascendent diagonal encreuament fletxa sud-est"] # 0x2930 + - "⤱": [t: "fletxa nord-est encreuament fletxa nord-oest"] # 0x2931 + - "⤲": [t: "fletxa nord-oest encreuament fletxa nord-est"] # 0x2932 + - "⤳": [t: "fletxa ondulada que apunta directament cap a la dreta"] # 0x2933 + - "⤴": [t: "fletxa apuntant dret aleshores corbat amunt"] # 0x2934 + - "⤵": [t: "fletxa apuntant dret aleshores corbat avall"] # 0x2935 + - "⤶": [t: "fletxa apuntant avall aleshores corbat esquerre"] # 0x2936 + - "⤷": [t: "fletxa apuntant avall aleshores corbat dret"] # 0x2937 + - "⤸": [t: "fletxa d'arc lateral dret en sentit horari"] # 0x2938 + - "⤹": [t: "fletxa d'arc lateral esquerre en sentit antihorari"] # 0x2939 + - "⤺": [t: "superior arc en sentit antihorari fletxa"] # 0x293a + - "⤻": [t: "inferior arc en sentit antihorari fletxa"] # 0x293b + - "⤼": [t: "superior arc en sentit horari fletxa amb menys"] # 0x293c + - "⤽": [t: "superior arc en sentit antihorari fletxa amb més"] # 0x293d + - "⤾": [t: "inferior dret semicircular en sentit horari fletxa"] # 0x293e + - "⤿": [t: "inferior esquerre semicircular en sentit antihorari fletxa"] # 0x293f + - "⥀": [t: "en sentit antihorari tancat cercle fletxa"] # 0x2940 + - "⥁": [t: "en sentit horari tancat cercle fletxa"] # 0x2941 + - "⥂": [t: "fletxa dreta un sobre curt fletxa esquerra"] # 0x2942 + - "⥃": [t: "fletxa esquerra un sobre curt fletxa dreta"] # 0x2943 + - "⥄": [t: "curt fletxa dreta un sobre fletxa esquerra"] # 0x2944 + - "⥅": [t: "fletxa dreta amb més un sota"] # 0x2945 + - "⥆": [t: "fletxa esquerra amb més un sota"] # 0x2946 + - "⥇": [t: "fletxa dreta fins a x"] # 0x2947 + - "⥈": [t: "fletxa esquerra i dreta fins a cercle"] # 0x2948 + - "⥉": [t: "amunt dos amb punta fletxa des de cercle"] # 0x2949 + - "⥊": [t: "esquerre barba amunt dret barba arpó descendent"] # 0x294a + - "⥋": [t: "esquerre barba avall dret barba arpó ascendent"] # 0x294b + - "⥌": [t: "amunt barba dret avall barba arpó esquerre"] # 0x294c + - "⥍": [t: "amunt barba esquerre avall barba arpó dret"] # 0x294d + - "⥎": [t: "esquerre barba amunt dret barba arpó ascendent"] # 0x294e + - "⥏": [t: "amunt barba dret avall barba arpó dret"] # 0x294f + - "⥐": [t: "esquerre barba avall dret barba arpó descendent"] # 0x2950 + - "⥑": [t: "amunt barba esquerre avall barba arpó esquerre"] # 0x2951 + - "⥒": [t: "arpó esquerre amb barba amunt un barra"] # 0x2952 + - "⥓": [t: "arpó dret amb barba amunt un barra"] # 0x2953 + - "⥔": [t: "arpó ascendent amb barba dret un barra"] # 0x2954 + - "⥕": [t: "arpó descendent amb barba dret un barra"] # 0x2955 + - "⥖": [t: "arpó esquerre amb barba avall un barra"] # 0x2956 + - "⥗": [t: "arpó dret amb barba avall un barra"] # 0x2957 + - "⥘": [t: "arpó ascendent amb barba esquerre un barra"] # 0x2958 + - "⥙": [t: "arpó descendent amb barba esquerre un barra"] # 0x2959 + - "⥚": [t: "arpó esquerre amb barba amunt des de barra"] # 0x295a + - "⥛": [t: "arpó dret amb barba amunt des de barra"] # 0x295b + - "⥜": [t: "arpó ascendent amb barba dret des de barra"] # 0x295c + - "⥝": [t: "arpó descendent amb barba dret des de barra"] # 0x295d + - "⥞": [t: "arpó esquerre amb barba avall des de barra"] # 0x295e + - "⥟": [t: "arpó dret amb barba avall des de barra"] # 0x295f + - "⥠": [t: "arpó ascendent amb barba esquerre des de barra"] # 0x2960 + - "⥡": [t: "arpó descendent amb barba esquerre des de barra"] # 0x2961 + - "⥢": [t: "arpó esquerre amb barba amunt un sobre arpó esquerre amb barba avall"] # 0x2962 + - "⥣": [t: "arpó ascendent amb barba esquerre al costat de arpó ascendent amb barba dret"] # 0x2963 + - "⥤": [t: "arpó dret amb barba amunt un sobre arpó dret amb barba avall"] # 0x2964 + - "⥥": [t: "arpó descendent amb barba esquerre al costat de arpó descendent amb barba dret"] # 0x2965 + - "⥦": [t: "arpó esquerre amb barba amunt un sobre arpó dret amb barba amunt"] # 0x2966 + - "⥧": [t: "arpó esquerre amb barba avall un sobre arpó dret amb barba avall"] # 0x2967 + - "⥨": [t: "arpó dret amb barba amunt un sobre arpó esquerre amb barba amunt"] # 0x2968 + - "⥩": [t: "arpó dret amb barba avall un sobre arpó esquerre amb barba avall"] # 0x2969 + - "⥪": [t: "arpó esquerre amb barba amunt un sobre llarg guió"] # 0x296a + - "⥫": [t: "arpó esquerre amb barba avall un sota llarg guió"] # 0x296b + - "⥬": [t: "arpó dret amb barba amunt un sobre llarg guió"] # 0x296c + - "⥭": [t: "arpó dret amb barba avall un sota llarg guió"] # 0x296d + - "⥮": [t: "arpó ascendent amb barba esquerre al costat de arpó descendent amb barba dret"] # 0x296e + - "⥯": [t: "arpó descendent amb barba esquerre al costat de arpó ascendent amb barba dret"] # 0x296f + - "⥰": [t: "fletxa doble cap a la dreta amb punta arrodonida"] # 0x2970 + - "⥱": [t: "igual a sobre fletxa dreta"] # 0x2971 + - "⥲": [t: "titlla operador un sobre fletxa dreta"] # 0x2972 + - "⥳": [t: "fletxa esquerra un sobre titlla operador"] # 0x2973 + - "⥴": [t: "fletxa dreta un sobre titlla operador"] # 0x2974 + - "⥵": [t: "fletxa dreta un sobre gairebé igual a"] # 0x2975 + - "⥶": [t: "menor que un sobre fletxa esquerra"] # 0x2976 + - "⥷": [t: "fletxa esquerra fins a menor que"] # 0x2977 + - "⥸": [t: "major que un sobre fletxa dreta"] # 0x2978 + - "⥹": [t: "subconjunt un sobre fletxa dreta"] # 0x2979 + - "⥺": [t: "fletxa esquerra fins a subconjunt"] # 0x297a + - "⥻": [t: "superconjunt un sobre fletxa esquerra"] # 0x297b + - "⥼": [t: "esquerre peix cua"] # 0x297c + - "⥽": [t: "dret peix cua"] # 0x297d + - "⥾": [t: "amunt peix cua"] # 0x297e + - "⥿": [t: "avall peix cua"] # 0x297f + - "⦀": [t: "triple vertical barra delimitador"] # 0x2980 + - "⦁": [t: "punt en notació z"] # 0x2981 + - "⦂": [t: "dos punts de tipus en notació z"] # 0x2982 + - "⦃": [t: "esquerre blanc clau"] # 0x2983 + - "⦄": [t: "dret blanc clau"] # 0x2984 + - "⦅": [t: "esquerre blanc parèntesi"] # 0x2985 + - "⦆": [t: "dret blanc parèntesi"] # 0x2986 + - "⦇": [t: "z notació esquerre imatge claudàtor"] # 0x2987 + - "⦈": [t: "z notació dret imatge claudàtor"] # 0x2988 + - "⦉": [t: "claudàtor esquerre de vinculació en notació z"] # 0x2989 + - "⦊": [t: "claudàtor dret de vinculació en notació z"] # 0x298a + - "⦋": [t: "esquerre quadrat claudàtor amb barra inferior"] # 0x298b + - "⦌": [t: "dret quadrat claudàtor amb barra inferior"] # 0x298c + - "⦍": [t: "esquerre quadrat claudàtor amb marca dins superior cantonada"] # 0x298d + - "⦎": [t: "dret quadrat claudàtor amb marca dins inferior cantonada"] # 0x298e + - "⦏": [t: "esquerre quadrat claudàtor amb marca dins inferior cantonada"] # 0x298f + - "⦐": [t: "dret quadrat claudàtor amb marca dins superior cantonada"] # 0x2990 + - "⦑": [t: "esquerre angle claudàtor amb punt"] # 0x2991 + - "⦒": [t: "angle recte claudàtor amb punt"] # 0x2992 + - "⦓": [t: "esquerre arc menor que claudàtor"] # 0x2993 + - "⦔": [t: "dret arc major que claudàtor"] # 0x2994 + - "⦕": [t: "doble esquerre arc major que claudàtor"] # 0x2995 + - "⦖": [t: "doble dret arc menor que claudàtor"] # 0x2996 + - "⦗": [t: "esquerre negre tortuga closca claudàtor"] # 0x2997 + - "⦘": [t: "dret negre tortuga closca claudàtor"] # 0x2998 + - "⦙": [t: "puntejat tanca"] # 0x2999 + - "⦚": [t: "vertical zigzag línia"] # 0x299a + - "⦛": [t: "angle mesurat obertura esquerre"] # 0x299b + - "⦜": [t: "angle recte variant amb quadrat"] # 0x299c + - "⦝": [t: "mesurat angle recte amb punt"] # 0x299d + - "⦞": [t: "angle amb s interior"] # 0x299e + - "⦟": [t: "agut angle"] # 0x299f + - "⦠": [t: "esfèric angle obertura esquerre"] # 0x29a0 + - "⦡": [t: "esfèric angle obertura amunt"] # 0x29a1 + - "⦢": [t: "girat angle"] # 0x29a2 + - "⦣": [t: "invertit angle"] # 0x29a3 + - "⦤": [t: "angle amb barra inferior"] # 0x29a4 + - "⦥": [t: "invertit angle amb barra inferior"] # 0x29a5 + - "⦦": [t: "oblic angle obertura amunt"] # 0x29a6 + - "⦧": [t: "oblic angle obertura avall"] # 0x29a7 + - "⦨": [t: "angle mesurat amb obert braç final dins fletxa apuntant amunt i elevat a la dret"] # 0x29a8 + - "⦩": [t: "angle mesurat amb obert braç final dins fletxa apuntant amunt i elevat a la esquerre"] # 0x29a9 + - "⦪": [t: "angle mesurat amb obert braç final dins fletxa apuntant avall i elevat a la dret"] # 0x29aa + - "⦫": [t: "angle mesurat amb obert braç final dins fletxa apuntant avall i elevat a la esquerre"] # 0x29ab + - "⦬": [t: "angle mesurat amb obert braç final dins fletxa apuntant dret i amunt"] # 0x29ac + - "⦭": [t: "angle mesurat amb obert braç final dins fletxa apuntant esquerre i amunt"] # 0x29ad + - "⦮": [t: "angle mesurat amb obert braç final dins fletxa apuntant dret i avall"] # 0x29ae + - "⦯": [t: "angle mesurat amb obert braç final dins fletxa apuntant esquerre i avall"] # 0x29af + - "⦰": [t: "invertit buit conjunt"] # 0x29b0 + - "⦱": [t: "buit conjunt amb barra superior"] # 0x29b1 + - "⦲": [t: "buit conjunt amb petit cercle un sobre"] # 0x29b2 + - "⦳": [t: "buit conjunt amb fletxa dreta un sobre"] # 0x29b3 + - "⦴": [t: "buit conjunt amb fletxa esquerra un sobre"] # 0x29b4 + - "⦵": [t: "cercle amb horitzontal barra"] # 0x29b5 + - "⦶": [t: "encerclat vertical barra"] # 0x29b6 + - "⦷": [t: "encerclat paral·lel"] # 0x29b7 + - "⦸": [t: "encerclat inversa barra obliqua"] # 0x29b8 + - "⦹": [t: "encerclat perpendicular"] # 0x29b9 + - "⦺": [t: "encerclat dividit per horitzontal barra i superior mig dividit per vertical barra"] # 0x29ba + - "⦻": [t: "cercle amb una x superposada"] # 0x29bb + - "⦼": [t: "encerclat en sentit antihorari rotat divisió signe"] # 0x29bc + - "⦽": [t: "fletxa amunt fins a cercle"] # 0x29bd + - "⦾": [t: "encerclat blanc vinyeta"] # 0x29be + - "⦿": [t: "encerclat vinyeta"] # 0x29bf + - "⧀": [t: "encerclat menor que"] # 0x29c0 + - "⧁": [t: "encerclat major que"] # 0x29c1 + - "⧂": [t: "cercle amb petit cercle elevat a la dret"] # 0x29c2 + - "⧃": [t: "cercle amb dos traços horitzontals cap a la dreta"] # 0x29c3 + - "⧄": [t: "al quadrat ascendent diagonal barra obliqua"] # 0x29c4 + - "⧅": [t: "al quadrat descendent diagonal barra obliqua"] # 0x29c5 + - "⧆": [t: "al quadrat asterisc"] # 0x29c6 + - "⧇": [t: "al quadrat petit cercle"] # 0x29c7 + - "⧈": [t: "al quadrat quadrat"] # 0x29c8 + - "⧉": [t: "dos quadrats unitaris"] # 0x29c9 + - "⧊": [t: "triangle amb punt un sobre"] # 0x29ca + - "⧋": [t: "triangle amb barra inferior"] # 0x29cb + - "⧌": [t: "s dins triangle"] # 0x29cc + - "⧍": [t: "triangle amb serifs a inferior"] # 0x29cd + - "⧎": [t: "dret triangle un sobre esquerre triangle"] # 0x29ce + - "⧏": [t: "esquerre triangle al costat de vertical barra"] # 0x29cf + - "⧐": [t: "vertical barra al costat de dret triangle"] # 0x29d0 + - "⧑": [t: "corbatí amb esquerre mig negre"] # 0x29d1 + - "⧒": [t: "corbatí amb dret mig negre"] # 0x29d2 + - "⧓": [t: "negre corbatí"] # 0x29d3 + - "⧔": [t: "per amb esquerre mig negre"] # 0x29d4 + - "⧕": [t: "per amb dret mig negre"] # 0x29d5 + - "⧖": [t: "blanc rellotge de sorra"] # 0x29d6 + - "⧗": [t: "negre rellotge de sorra"] # 0x29d7 + - "⧘": [t: "esquerre ondulat tanca"] # 0x29d8 + - "⧙": [t: "dret ondulat tanca"] # 0x29d9 + - "⧚": [t: "esquerre doble ondulat tanca"] # 0x29da + - "⧛": [t: "dret doble ondulat tanca"] # 0x29db + - "⧜": [t: "infinit incomplet"] # 0x29dc + - "⧝": [t: "lligadura sobre infinit"] # 0x29dd + - "⧞": [t: "infinit negat amb vertical barra"] # 0x29de + - "⧟": [t: "multiaplicació de dos extrems"] # 0x29df + - "⧠": [t: "quadrat amb contorn perfilat"] # 0x29e0 + - "⧡": [t: "augmenta com"] # 0x29e1 + - "⧢": [t: "producte de barreja"] # 0x29e2 + - "⧣": [t: "igual signe i inclinat paral·lel"] # 0x29e3 + - "⧤": [t: "igual signe i inclinat paral·lel amb titlla un sobre"] # 0x29e4 + - "⧥": [t: "idèntic un i inclinat paral·lel"] # 0x29e5 + - "⧦": [t: "igualment potent"] # 0x29e6 + - "⧧": [t: "termodinàmic"] # 0x29e7 + - "⧨": [t: "avall apuntant triangle amb esquerre mig negre"] # 0x29e8 + - "⧩": [t: "avall apuntant triangle amb dret mig negre"] # 0x29e9 + - "⧪": [t: "rombe negre amb fletxa avall"] # 0x29ea + - "⧫": [t: "negre rombe"] # 0x29eb + - "⧬": [t: "cercle blanc amb fletxa avall"] # 0x29ec + - "⧭": [t: "cercle negre amb fletxa avall"] # 0x29ed + - "⧮": [t: "barrat d'error quadrat blanc"] # 0x29ee + - "⧯": [t: "barrat d'error quadrat negre"] # 0x29ef + - "⧰": [t: "barrat d'error rombe blanc"] # 0x29f0 + - "⧱": [t: "barrat d'error rombe negre"] # 0x29f1 + - "⧲": [t: "barrat d'error cercle blanc"] # 0x29f2 + - "⧳": [t: "barrat d'error cercle negre"] # 0x29f3 + - "⧴": [t: "regla retardada"] # 0x29f4 + - "⧵": [t: "inversa barra obliqua operador"] # 0x29f5 + - "⧶": [t: "barra obliqua amb barra superior"] # 0x29f6 + - "⧷": [t: "inversa barra obliqua amb horitzontal traç"] # 0x29f7 + - "⧸": [t: "barra obliqua gran"] # 0x29f8 + - "⧹": [t: "barra obliqua inversa gran"] # 0x29f9 + - "⧺": [t: "doble més"] # 0x29fa + - "⧻": [t: "triple més"] # 0x29fb + - "⧼": [t: "esquerre apuntant corbat angle claudàtor"] # 0x29fc + - "⧽": [t: "dret apuntant corbat angle claudàtor"] # 0x29fd + - "⧾": [t: "minúscul"] # 0x29fe + - "⧿": [t: "miny"] # 0x29ff + - "⨀": [t: "encerclat punt operador"] # 0x2a00 + - "⨁": [t: "encerclat més operador"] # 0x2a01 + - "⨂": [t: "encerclat per operador"] # 0x2a02 + - "⨃": [t: "unió operador amb punt"] # 0x2a03 + - "⨄": [t: "unió operador amb més"] # 0x2a04 + - "⨅": [t: "quadrat intersecció operador"] # 0x2a05 + - "⨆": [t: "quadrat unió operador"] # 0x2a06 + - "⨇": [t: "dos lògic i operador"] # 0x2a07 + - "⨈": [t: "dos lògic o operador"] # 0x2a08 + - "⨉": [t: "per operador"] # 0x2a09 + - "⨊": [t: "suma mòdul dos"] # 0x2a0a + - "⨋": [t: "sumatori amb integral"] # 0x2a0b + - "⨌": [t: "quàdruple integral operador"] # 0x2a0c + - "⨍": [t: "integral de part finita"] # 0x2a0d + - "⨎": [t: "integral amb doble traç"] # 0x2a0e + - "⨏": [t: "valor mitjà integral amb barra obliqua"] # 0x2a0f + - "⨐": [t: "funció de circulació"] # 0x2a10 + - "⨑": [t: "en sentit antihorari integració"] # 0x2a11 + - "⨒": [t: "integració de línia amb camí rectangular al voltant del pol"] # 0x2a12 + - "⨓": [t: "integració de línia amb camí semicircular al voltant del pol"] # 0x2a13 + - "⨔": [t: "integració de línia que no inclou el pol"] # 0x2a14 + - "⨕": [t: "integral al voltant de a punt operador"] # 0x2a15 + - "⨖": [t: "operador integral de quaternions"] # 0x2a16 + - "⨗": [t: "integral amb fletxa esquerra amb ganxo"] # 0x2a17 + - "⨘": [t: "integral amb per signe"] # 0x2a18 + - "⨙": [t: "integral amb intersecció"] # 0x2a19 + - "⨚": [t: "integral amb unió"] # 0x2a1a + - "⨛": [t: "integral amb barra superior"] # 0x2a1b + - "⨜": [t: "integral amb barra inferior"] # 0x2a1c + - "⨝": [t: "unió"] # 0x2a1d + - "⨞": [t: "gran esquerre triangle operador"] # 0x2a1e + - "⨟": [t: "composició d'esquemes en notació z"] # 0x2a1f + - "⨠": [t: "canalització d'esquemes en notació z"] # 0x2a20 + - "⨡": [t: "projecció d'esquemes en notació z"] # 0x2a21 + - "⨢": [t: "més signe amb cercle un sobre"] # 0x2a22 + - "⨣": [t: "més signe amb accent circumflex un sobre"] # 0x2a23 + - "⨤": [t: "més signe amb titlla un sobre"] # 0x2a24 + - "⨥": [t: "més signe amb punt un sota"] # 0x2a25 + - "⨦": [t: "més signe amb titlla un sota"] # 0x2a26 + - "⨧": [t: "més signe amb subíndex dos"] # 0x2a27 + - "⨨": [t: "més signe amb triangle negre"] # 0x2a28 + - "⨩": [t: "menys signe amb coma un sobre"] # 0x2a29 + - "⨪": [t: "menys signe amb punt un sota"] # 0x2a2a + - "⨫": [t: "menys signe amb descendent punts"] # 0x2a2b + - "⨬": [t: "menys signe amb ascendent punts"] # 0x2a2c + - "⨭": [t: "més signe dins esquerre mig cercle"] # 0x2a2d + - "⨮": [t: "més signe dins dret mig cercle"] # 0x2a2e + - "⨯": # 0x2a2f + - test: + if: "$Verbosity='Terse'" + then: [t: "creu"] + else: [t: "creu producte"] + - "⨰": [t: "multiplicació signe amb punt un sobre"] # 0x2a30 + - "⨱": [t: "multiplicació signe amb barra inferior"] # 0x2a31 + - "⨲": [t: "semidirecte producte amb inferior tancat"] # 0x2a32 + - "⨳": [t: "producte smash"] # 0x2a33 + - "⨴": [t: "multiplicació signe dins esquerre mig cercle"] # 0x2a34 + - "⨵": [t: "multiplicació signe dins dret mig cercle"] # 0x2a35 + - "⨶": [t: "encerclat multiplicació signe amb accent circumflex"] # 0x2a36 + - "⨷": [t: "multiplicació signe dins doble cercle"] # 0x2a37 + - "⨸": [t: "encerclat divisió signe"] # 0x2a38 + - "⨹": [t: "més signe dins triangle"] # 0x2a39 + - "⨺": [t: "menys signe dins triangle"] # 0x2a3a + - "⨻": [t: "multiplicació signe dins triangle"] # 0x2a3b + - "⨼": [t: "interior producte"] # 0x2a3c + - "⨽": [t: "producte interior dret"] # 0x2a3d + - "⨾": [t: "composició relacional en notació z"] # 0x2a3e + - "⨿": [t: "amalgamació o coproducte"] # 0x2a3f + - "⩀": [t: "intersecció amb punt"] # 0x2a40 + - "⩁": [t: "unió amb menys signe"] # 0x2a41 + - "⩂": [t: "unió amb barra superior"] # 0x2a42 + - "⩃": [t: "intersecció amb barra superior"] # 0x2a43 + - "⩄": [t: "intersecció amb lògic i"] # 0x2a44 + - "⩅": [t: "unió amb lògic o"] # 0x2a45 + - "⩆": [t: "unió un sobre intersecció"] # 0x2a46 + - "⩇": [t: "intersecció un sobre aió"] # 0x2a47 + - "⩈": [t: "unió un sobre barra un sobre intersecció"] # 0x2a48 + - "⩉": [t: "intersecció un sobre barra un sobre aió"] # 0x2a49 + - "⩊": [t: "unió al costat de i unit amb unió"] # 0x2a4a + - "⩋": [t: "intersecció al costat de i unit amb intersecció"] # 0x2a4b + - "⩌": [t: "tancat unió amb serifs"] # 0x2a4c + - "⩍": [t: "tancat intersecció amb serifs"] # 0x2a4d + - "⩎": [t: "doble quadrat intersecció"] # 0x2a4e + - "⩏": [t: "doble quadrat unió"] # 0x2a4f + - "⩐": [t: "unió tancada amb serifs i producte smash"] # 0x2a50 + - "⩑": [t: "lògic i amb punt un sobre"] # 0x2a51 + - "⩒": [t: "lògic o amb punt un sobre"] # 0x2a52 + - "⩓": [t: "doble lògic i"] # 0x2a53 + - "⩔": [t: "doble lògic o"] # 0x2a54 + - "⩕": [t: "dos operadors i lògics que s'intersequen"] # 0x2a55 + - "⩖": [t: "dos operadors o lògics que s'intersequen"] # 0x2a56 + - "⩗": [t: "o gran inclinat"] # 0x2a57 + - "⩘": [t: "i gran inclinat"] # 0x2a58 + - "⩙": [t: "o lògic superposat amb i lògic"] # 0x2a59 + - "⩚": [t: "lògic i amb central tija"] # 0x2a5a + - "⩛": [t: "lògic o amb central tija"] # 0x2a5b + - "⩜": [t: "lògic i amb horitzontal guió"] # 0x2a5c + - "⩝": [t: "lògic o amb horitzontal guió"] # 0x2a5d + - "⩞": [t: "lògic i amb doble barra superior"] # 0x2a5e + - "⩟": [t: "lògic i amb barra inferior"] # 0x2a5f + - "⩠": [t: "lògic i amb doble barra inferior"] # 0x2a60 + - "⩡": [t: "ve baixa petita amb barra inferior"] # 0x2a61 + - "⩢": [t: "lògic o amb doble barra superior"] # 0x2a62 + - "⩣": [t: "lògic o amb doble barra inferior"] # 0x2a63 + - "⩤": [t: "antirestricció de domini en notació z"] # 0x2a64 + - "⩥": [t: "antirestricció d'imatge en notació z"] # 0x2a65 + - "⩦": [t: "igual signe amb punt un sota"] # 0x2a66 + - "⩧": [t: "idèntic amb punt un sobre"] # 0x2a67 + - "⩨": [t: "triple horitzontal barra amb doble vertical traç"] # 0x2a68 + - "⩩": [t: "triple horitzontal barra amb triple vertical traç"] # 0x2a69 + - "⩪": [t: "titlla operador amb punt un sobre"] # 0x2a6a + - "⩫": [t: "titlla operador amb ascendent punts"] # 0x2a6b + - "⩬": [t: "semblant menys semblant"] # 0x2a6c + - "⩭": [t: "congruent amb punt un sobre"] # 0x2a6d + - "⩮": [t: "igual amb asterisc"] # 0x2a6e + - "⩯": [t: "gairebé igual a amb accent circumflex"] # 0x2a6f + - "⩰": [t: "aproximadament igual a o igual a"] # 0x2a70 + - "⩱": [t: "igual signe un sobre més signe"] # 0x2a71 + - "⩲": [t: "més signe un sobre igual signe"] # 0x2a72 + - "⩳": [t: "igual signe un sobre titlla operador"] # 0x2a73 + - "⩴": [t: "doble dos punts igual"] # 0x2a74 + - "⩵": [t: "dos signes igual consecutius"] # 0x2a75 + - "⩶": [t: "tres signes igual consecutius"] # 0x2a76 + - "⩷": [t: "igual signe amb dos punts un sobre i dos punts un sota"] # 0x2a77 + - "⩸": [t: "equivalent amb quatre punts un sobre"] # 0x2a78 + - "⩹": [t: "menor que amb cercle interior"] # 0x2a79 + - "⩺": [t: "major que amb cercle interior"] # 0x2a7a + - "⩻": [t: "menor que amb interrogació marca un sobre"] # 0x2a7b + - "⩼": [t: "major que amb interrogació marca un sobre"] # 0x2a7c + - "⩽": [t: "menor que o inclinat igual a"] # 0x2a7d + - "⩾": [t: "major que o inclinat igual a"] # 0x2a7e + - "⩿": [t: "menor que o inclinat igual a amb punt interior"] # 0x2a7f + - "⪀": [t: "major que o inclinat igual a amb punt interior"] # 0x2a80 + - "⪁": [t: "menor que o inclinat igual a amb punt un sobre"] # 0x2a81 + - "⪂": [t: "major que o inclinat igual a amb punt un sobre"] # 0x2a82 + - "⪃": [t: "menor que o inclinat igual a amb punt un sobre dret"] # 0x2a83 + - "⪄": [t: "major que o inclinat igual a amb punt un sobre esquerre"] # 0x2a84 + - "⪅": [t: "menor que o aproximat"] # 0x2a85 + - "⪆": [t: "major que o aproximat"] # 0x2a86 + - "⪇": [t: "menor que i simple línia no és igual a"] # 0x2a87 + - "⪈": [t: "major que i simple línia no és igual a"] # 0x2a88 + - "⪉": [t: "menor que i no aproximat"] # 0x2a89 + - "⪊": [t: "major que i no aproximat"] # 0x2a8a + - "⪋": [t: "menor que un sobre doble línia igual a sobre major que"] # 0x2a8b + - "⪌": [t: "major que un sobre doble línia igual a sobre menor que"] # 0x2a8c + - "⪍": [t: "menor que un sobre semblant o igual"] # 0x2a8d + - "⪎": [t: "major que un sobre semblant o igual"] # 0x2a8e + - "⪏": [t: "menor que un sobre semblant a sobre major que"] # 0x2a8f + - "⪐": [t: "major que un sobre semblant a sobre menor que"] # 0x2a90 + - "⪑": [t: "menor que un sobre major que un sobre doble línia igual"] # 0x2a91 + - "⪒": [t: "major que un sobre menor que un sobre doble línia igual"] # 0x2a92 + - "⪓": [t: "menor que un sobre inclinat igual a sobre major que un sobre inclinat igual"] # 0x2a93 + - "⪔": [t: "major que un sobre inclinat igual a sobre menor que un sobre inclinat igual"] # 0x2a94 + - "⪕": [t: "inclinat igual a o menor que"] # 0x2a95 + - "⪖": [t: "inclinat igual a o major que"] # 0x2a96 + - "⪗": [t: "inclinat igual a o menor que amb punt interior"] # 0x2a97 + - "⪘": [t: "inclinat igual a o major que amb punt interior"] # 0x2a98 + - "⪙": [t: "doble línia igual a o menor que"] # 0x2a99 + - "⪚": [t: "doble línia igual a o major que"] # 0x2a9a + - "⪛": [t: "doble línia inclinat igual a o menor que"] # 0x2a9b + - "⪜": [t: "doble línia inclinat igual a o major que"] # 0x2a9c + - "⪝": [t: "semblant o menor que"] # 0x2a9d + - "⪞": [t: "semblant o major que"] # 0x2a9e + - "⪟": [t: "semblant a sobre menor que un sobre igual signe"] # 0x2a9f + - "⪠": [t: "semblant a sobre major que un sobre igual signe"] # 0x2aa0 + - "⪡": [t: "doble imbricat menor que"] # 0x2aa1 + - "⪢": [t: "doble imbricat major que"] # 0x2aa2 + - "⪣": [t: "doble imbricat menor que amb barra inferior"] # 0x2aa3 + - "⪤": [t: "major que superposat amb menor que"] # 0x2aa4 + - "⪥": [t: "major que al costat de menor que"] # 0x2aa5 + - "⪦": [t: "menor que tancat per corba"] # 0x2aa6 + - "⪧": [t: "major que tancat per corba"] # 0x2aa7 + - "⪨": [t: "menor que tancat per corba un sobre inclinat igual"] # 0x2aa8 + - "⪩": [t: "major que tancat per corba un sobre inclinat igual"] # 0x2aa9 + - "⪪": [t: "més petit que"] # 0x2aaa + - "⪫": [t: "més gran que"] # 0x2aab + - "⪬": [t: "més petit que o igual a"] # 0x2aac + - "⪭": [t: "més gran que o igual a"] # 0x2aad + - "⪮": [t: "signe igual amb relleu a sobre"] # 0x2aae + - "⪯": [t: "precedeix a sobre simple línia igual signe"] # 0x2aaf + - "⪰": [t: "succeeix a sobre simple línia igual signe"] # 0x2ab0 + - "⪱": [t: "precedeix a sobre simple línia no és igual a"] # 0x2ab1 + - "⪲": [t: "succeeix a sobre simple línia no és igual a"] # 0x2ab2 + - "⪳": [t: "precedeix a sobre igual signe"] # 0x2ab3 + - "⪴": [t: "succeeix a sobre igual signe"] # 0x2ab4 + - "⪵": [t: "precedeix a sobre no és igual a"] # 0x2ab5 + - "⪶": [t: "succeeix a sobre no és igual a"] # 0x2ab6 + - "⪷": [t: "precedeix a sobre gairebé igual a"] # 0x2ab7 + - "⪸": [t: "succeeix a sobre gairebé igual a"] # 0x2ab8 + - "⪹": [t: "precedeix a sobre no gairebé igual a"] # 0x2ab9 + - "⪺": [t: "succeeix a sobre no gairebé igual a"] # 0x2aba + - "⪻": [t: "doble precedeix"] # 0x2abb + - "⪼": [t: "doble succeeix"] # 0x2abc + - "⪽": [t: "subconjunt amb punt"] # 0x2abd + - "⪾": [t: "superconjunt amb punt"] # 0x2abe + - "⪿": [t: "subconjunt amb més signe un sota"] # 0x2abf + - "⫀": [t: "superconjunt amb més signe un sota"] # 0x2ac0 + - "⫁": [t: "subconjunt amb multiplicació signe un sota"] # 0x2ac1 + - "⫂": [t: "superconjunt amb multiplicació signe un sota"] # 0x2ac2 + - "⫃": [t: "subconjunt de o igual a amb punt un sobre"] # 0x2ac3 + - "⫄": [t: "superconjunt de o igual a amb punt un sobre"] # 0x2ac4 + - "⫅": [t: "subconjunt de a sobre igual signe"] # 0x2ac5 + - "⫆": [t: "superconjunt de a sobre igual signe"] # 0x2ac6 + - "⫇": [t: "subconjunt de a sobre titlla operador"] # 0x2ac7 + - "⫈": [t: "superconjunt de a sobre titlla operador"] # 0x2ac8 + - "⫉": [t: "subconjunt de a sobre gairebé igual a"] # 0x2ac9 + - "⫊": [t: "superconjunt de a sobre gairebé igual a"] # 0x2aca + - "⫋": [t: "subconjunt un sobre no és igual a"] # 0x2acb + - "⫌": [t: "superconjunt de a sobre no és igual a"] # 0x2acc + - "⫍": [t: "quadrat esquerre requadre obert operador"] # 0x2acd + - "⫎": [t: "quadrat dret requadre obert operador"] # 0x2ace + - "⫏": [t: "tancat subconjunt"] # 0x2acf + - "⫐": [t: "tancat superconjunt"] # 0x2ad0 + - "⫑": [t: "tancat subconjunt o igual a"] # 0x2ad1 + - "⫒": [t: "tancat superconjunt o igual a"] # 0x2ad2 + - "⫓": [t: "subconjunt un sobre superconjunt"] # 0x2ad3 + - "⫔": [t: "superconjunt un sobre subconjunt"] # 0x2ad4 + - "⫕": [t: "subconjunt un sobre subconjunt"] # 0x2ad5 + - "⫖": [t: "superconjunt un sobre superconjunt"] # 0x2ad6 + - "⫗": [t: "superconjunt al costat de subconjunt"] # 0x2ad7 + - "⫘": [t: "superconjunt al costat de i unit per guió amb subconjunt"] # 0x2ad8 + - "⫙": [t: "element de obertura avall"] # 0x2ad9 + - "⫚": [t: "forca amb te superior"] # 0x2ada + - "⫛": [t: "intersecció transversal"] # 0x2adb + - "⫝̸": [t: "bifurcació"] # 0x2adc + - "⫝": [t: "no ramificat"] # 0x2add + - "⫞": [t: "curt esquerre topall"] # 0x2ade + - "⫟": [t: "curt avall topall"] # 0x2adf + - "⫠": [t: "curt amunt topall"] # 0x2ae0 + - "⫡": [t: "perpendicular amb s"] # 0x2ae1 + - "⫢": [t: "vertical barra triple dret símbol de deducció"] # 0x2ae2 + - "⫣": [t: "doble vertical barra esquerre símbol de deducció"] # 0x2ae3 + - "⫤": [t: "vertical barra doble esquerre símbol de deducció"] # 0x2ae4 + - "⫥": [t: "doble vertical barra doble esquerre símbol de deducció"] # 0x2ae5 + - "⫦": [t: "llarg guió des de esquerre membre de doble vertical"] # 0x2ae6 + - "⫧": [t: "curt avall topall amb barra superior"] # 0x2ae7 + - "⫨": [t: "curt amunt topall amb barra inferior"] # 0x2ae8 + - "⫩": [t: "curt amunt topall un sobre curt avall topall"] # 0x2ae9 + - "⫪": [t: "doble avall topall"] # 0x2aea + - "⫫": [t: "doble amunt topall"] # 0x2aeb + - "⫬": [t: "doble traç no signe"] # 0x2aec + - "⫭": [t: "invertit doble traç no signe"] # 0x2aed + - "⫮": [t: "no divideix amb barra obliqua de negació invertida"] # 0x2aee + - "⫯": [t: "línia vertical amb cercle un sobre"] # 0x2aef + - "⫰": [t: "línia vertical amb cercle un sota"] # 0x2af0 + - "⫱": [t: "avall topall amb cercle un sota"] # 0x2af1 + - "⫲": [t: "paral·lel amb horitzontal traç"] # 0x2af2 + - "⫳": [t: "paral·lel amb titlla operador"] # 0x2af3 + - "⫴": [t: "relació binària de triple barra vertical"] # 0x2af4 + - "⫵": [t: "triple vertical barra amb horitzontal traç"] # 0x2af5 + - "⫶": [t: "triple dos punts operador"] # 0x2af6 + - "⫷": [t: "triple imbricat menor que"] # 0x2af7 + - "⫸": [t: "triple imbricat major que"] # 0x2af8 + - "⫹": [t: "doble línia inclinat menor o igual que"] # 0x2af9 + - "⫺": [t: "doble línia inclinat major o igual que"] # 0x2afa + - "⫻": [t: "relació binària de triple barra obliqua"] # 0x2afb + - "⫼": [t: "gran triple vertical barra operador"] # 0x2afc + - "⫽": [t: "doble barra obliqua operador"] # 0x2afd + - "⫾": [t: "blanc vertical barra"] # 0x2afe + - "⫿": [t: "blanc vertical barra"] # 0x2aff + - "⬀": [t: "nord est blanc fletxa"] # 0x2b00 + - "⬁": [t: "nord oest blanc fletxa"] # 0x2b01 + - "⬂": [t: "sud est blanc fletxa"] # 0x2b02 + - "⬃": [t: "sud oest blanc fletxa"] # 0x2b03 + - "⬄": [t: "esquerre dret blanc fletxa"] # 0x2b04 + - "⬅": [t: "esquerre negre fletxa"] # 0x2b05 + - "⬆": [t: "amunt negre fletxa"] # 0x2b06 + - "⬇": [t: "avall negre fletxa"] # 0x2b07 + - "⬈": [t: "nord est negre fletxa"] # 0x2b08 + - "⬉": [t: "nord oest negre fletxa"] # 0x2b09 + - "⬊": [t: "sud est negre fletxa"] # 0x2b0a + - "⬋": [t: "sud oest negre fletxa"] # 0x2b0b + - "⬌": [t: "esquerre dret negre fletxa"] # 0x2b0c + - "⬍": [t: "amunt avall negre fletxa"] # 0x2b0d + - "⬎": [t: "fletxa dreta amb punta avall"] # 0x2b0e + - "⬏": [t: "fletxa dreta amb punta amunt"] # 0x2b0f + - "⬐": [t: "fletxa esquerra amb punta avall"] # 0x2b10 + - "⬑": [t: "fletxa esquerra amb punta amunt"] # 0x2b11 + - "⬒": [t: "quadrat amb superior mig negre"] # 0x2b12 + - "⬓": [t: "quadrat amb inferior mig negre"] # 0x2b13 + - "⬔": [t: "quadrat amb superior dret diagonal mig negre"] # 0x2b14 + - "⬕": [t: "quadrat amb inferior esquerre diagonal mig negre"] # 0x2b15 + - "⬖": [t: "rombe amb esquerre mig negre"] # 0x2b16 + - "⬗": [t: "rombe amb dret mig negre"] # 0x2b17 + - "⬘": [t: "rombe amb superior mig negre"] # 0x2b18 + - "⬙": [t: "rombe amb inferior mig negre"] # 0x2b19 + - "⬚": [t: "requadre"] # 0x2b1a + - "⬛": [t: "negre gran quadrat"] # 0x2b1b + - "⬜": [t: "blanc gran quadrat"] # 0x2b1c + - "⬝": [t: "negre molt petit quadrat"] # 0x2b1d + - "⬞": [t: "blanc molt petit quadrat"] # 0x2b1e + - "⬟": [t: "negre pentàgon"] # 0x2b1f + - "⬠": [t: "blanc pentàgon"] # 0x2b20 + - "⬡": [t: "blanc hexàgon"] # 0x2b21 + - "⬢": [t: "negre hexàgon"] # 0x2b22 + - "⬣": [t: "horitzontal negre hexàgon"] # 0x2b23 + - "⬤": [t: "negre gran cercle"] # 0x2b24 + - "⬥": [t: "negre mitjà rombe"] # 0x2b25 + - "⬦": [t: "blanc mitjà rombe"] # 0x2b26 + - "⬧": [t: "negre mitjà rombe"] # 0x2b27 + - "⬨": [t: "blanc mitjà rombe"] # 0x2b28 + - "⬩": [t: "negre petit rombe"] # 0x2b29 + - "⬪": [t: "negre petit rombe"] # 0x2b2a + - "⬫": [t: "blanc petit rombe"] # 0x2b2b + - "⬬": [t: "negre horitzontal el·lipse"] # 0x2b2c + - "⬭": [t: "blanc horitzontal el·lipse"] # 0x2b2d + - "⬮": [t: "negre vertical el·lipse"] # 0x2b2e + - "⬯": [t: "blanc vertical el·lipse"] # 0x2b2f + - "⬰": [t: "fletxa esquerra amb petit cercle"] # 0x2b30 + - "⬱": [t: "tres fletxa esquerras"] # 0x2b31 + - "⬲": [t: "fletxa esquerra amb encerclat més"] # 0x2b32 + - "⬳": [t: "llarg esquerre gargot fletxa"] # 0x2b33 + - "⬴": [t: "esquerre dos amb punta fletxa amb vertical traç"] # 0x2b34 + - "⬵": [t: "esquerre dos amb punta fletxa amb doble vertical traç"] # 0x2b35 + - "⬶": [t: "esquerre dos amb punta fletxa des de barra"] # 0x2b36 + - "⬷": [t: "esquerre dos amb punta triple guió fletxa"] # 0x2b37 + - "⬸": [t: "fletxa esquerra amb puntejat tija"] # 0x2b38 + - "⬹": [t: "fletxa esquerra amb cua amb vertical traç"] # 0x2b39 + - "⬺": [t: "fletxa esquerra amb cua amb doble vertical traç"] # 0x2b3a + - "⬻": [t: "esquerre dos amb punta fletxa amb cua"] # 0x2b3b + - "⬼": [t: "esquerre dos amb punta fletxa amb cua amb vertical traç"] # 0x2b3c + - "⬽": [t: "esquerre dos amb punta fletxa amb cua amb doble vertical traç"] # 0x2b3d + - "⬾": [t: "fletxa esquerra fins a x"] # 0x2b3e + - "⬿": [t: "fletxa ondulada que apunta directament cap a l'esquerra"] # 0x2b3f + - "⭀": [t: "igual signe un sobre fletxa esquerra"] # 0x2b40 + - "⭁": [t: "inversa titlla operador un sobre fletxa esquerra"] # 0x2b41 + - "⭂": [t: "fletxa esquerra un sobre inversa gairebé igual a"] # 0x2b42 + - "⭃": [t: "fletxa dreta fins a major que"] # 0x2b43 + - "⭄": [t: "fletxa dreta fins a superconjunt"] # 0x2b44 + - "⭅": [t: "esquerre quàdruple fletxa"] # 0x2b45 + - "⭆": [t: "dret quàdruple fletxa"] # 0x2b46 + - "⭇": [t: "inversa titlla operador un sobre fletxa dreta"] # 0x2b47 + - "⭈": [t: "fletxa dreta un sobre inversa gairebé igual a"] # 0x2b48 + - "⭉": [t: "titlla operador un sobre fletxa esquerra"] # 0x2b49 + - "⭊": [t: "fletxa esquerra un sobre gairebé igual a"] # 0x2b4a + - "⭋": [t: "fletxa esquerra un sobre inversa titlla operador"] # 0x2b4b + - "⭌": [t: "fletxa dreta un sobre inversa titlla operador"] # 0x2b4c + - "⭐": [t: "blanc mitjà estrella"] # 0x2b50 + - "⭑": [t: "negre petit estrella"] # 0x2b51 + - "⭒": [t: "blanc petit estrella"] # 0x2b52 + - "⭓": [t: "negre dret apuntant pentàgon"] # 0x2b53 + - "⭔": [t: "blanc dret apuntant pentàgon"] # 0x2b54 + - "⭕": [t: "gruixut gran cercle"] # 0x2b55 + - "⭖": [t: "gruixut oval amb oval interior"] # 0x2b56 + - "⭗": [t: "gruixut cercle amb cercle interior"] # 0x2b57 + - "⭘": [t: "gruixut cercle"] # 0x2b58 + - "⭙": [t: "creu de sant Andreu encerclada i gruixuda"] # 0x2b59 + - "⸀": [t: "angle recte substitució marcador"] # 0x2e00 + - "⸁": [t: "angle recte puntejat substitució marcador"] # 0x2e01 + - "⸂": [t: "esquerre substitució claudàtor"] # 0x2e02 + - "⸃": [t: "dret substitució claudàtor"] # 0x2e03 + - "⸄": [t: "esquerre puntejat substitució claudàtor"] # 0x2e04 + - "⸅": [t: "dret puntejat substitució claudàtor"] # 0x2e05 + - "⸆": [t: "marcador d'interpolació elevat"] # 0x2e06 + - "⸇": [t: "marcador d'interpolació elevat i puntejat"] # 0x2e07 + - "⸈": [t: "puntejat transposició marcador marcador"] # 0x2e08 + - "⸉": [t: "esquerre transposició claudàtor"] # 0x2e09 + - "⸊": [t: "dret transposició claudàtor"] # 0x2e0a + - "⸋": [t: "elevat quadrat"] # 0x2e0b + - "⸌": [t: "claudàtor esquerre elevat d'omissió"] # 0x2e0c + - "⸍": [t: "claudàtor dret elevat d'omissió"] # 0x2e0d + - "⸎": [t: "editorial coronis"] # 0x2e0e + - "⸏": [t: "paràgraf"] # 0x2e0f + - "⸐": [t: "paràgraf bifurcat"] # 0x2e10 + - "⸑": [t: "paràgraf bifurcat invertit"] # 0x2e11 + - "⸒": [t: "hipodiàstole"] # 0x2e12 + - "⸓": [t: "obel puntejat"] # 0x2e13 + - "⸔": [t: "avall ancora"] # 0x2e14 + - "⸕": [t: "amunt ancora"] # 0x2e15 + - "⸖": [t: "puntejat dret apuntant angle"] # 0x2e16 + - "⸗": [t: "doble oblic guionet"] # 0x2e17 + - "⸘": [t: "interrobang invertit"] # 0x2e18 + - "⸙": [t: "branca de palmera"] # 0x2e19 + - "⸚": [t: "guionet amb dièresi"] # 0x2e1a + - "⸛": [t: "titlla amb anell un sobre"] # 0x2e1b + - "⸜": [t: "claudàtor esquerre baix de paràfrasi"] # 0x2e1c + - "⸝": [t: "claudàtor dret baix de paràfrasi"] # 0x2e1d + - "⸞": [t: "titlla amb punt un sobre"] # 0x2e1e + - "⸟": [t: "titlla amb punt un sota"] # 0x2e1f + - "⸠": [t: "esquerre vertical barra amb ploma"] # 0x2e20 + - "⸡": [t: "dret vertical barra amb ploma"] # 0x2e21 + - "⸢": [t: "superior esquerre mig claudàtor"] # 0x2e22 + - "⸣": [t: "superior dret mig claudàtor"] # 0x2e23 + - "⸤": [t: "inferior esquerre mig claudàtor"] # 0x2e24 + - "⸥": [t: "inferior dret mig claudàtor"] # 0x2e25 + - "⸦": [t: "claudàtor esquerre en forma d'u lateral"] # 0x2e26 + - "⸧": [t: "claudàtor dret en forma d'u lateral"] # 0x2e27 + - "⸨": [t: "esquerre doble parèntesis"] # 0x2e28 + - "⸩": [t: "dret doble parèntesis"] # 0x2e29 + - "⸪": [t: "dos punts sobre a punt puntuació"] # 0x2e2a + - "⸫": [t: "un punt sobre dos punts puntuació"] # 0x2e2b + - "⸬": [t: "al quadrat quatre punt puntuació"] # 0x2e2c + - "⸭": [t: "cinc punt marca"] # 0x2e2d + - "⸮": [t: "invertit interrogació marca"] # 0x2e2e + - "ⸯ": [t: "vertical titlla"] # 0x2e2f + - "⸰": [t: "anell punt"] # 0x2e30 + - "⸱": [t: "punt central separador de paraules"] # 0x2e31 + - "⸲": [t: "girat coma"] # 0x2e32 + - "⸳": [t: "elevat punt"] # 0x2e33 + - "⸴": [t: "elevat coma"] # 0x2e34 + - "⸵": [t: "girat punt i coma"] # 0x2e35 + - "⸶": [t: "daga amb guarda esquerra"] # 0x2e36 + - "⸷": [t: "daga amb guarda dreta"] # 0x2e37 + - "⸸": [t: "girat daga"] # 0x2e38 + - "⸹": [t: "superior mig secció signe"] # 0x2e39 + - "⸺": [t: "dos ema guió"] # 0x2e3a + - "⸻": [t: "tres ema guió"] # 0x2e3b + - "〃": [t: "ditto marca"] # 0x3003 + - "〈": [t: "esquerre angle claudàtor"] # 0x3008 + - "〉": [t: "angle recte claudàtor"] # 0x3009 + - "《": [t: "esquerre angle doble claudàtor"] # 0x300a + - "》": [t: "angle recte doble claudàtor"] # 0x300b + - "「": [t: "esquerre cantonada claudàtor"] # 0x300c + - "」": [t: "dret cantonada claudàtor"] # 0x300d + - "『": [t: "esquerre blanc cantonada claudàtor"] # 0x300e + - "』": [t: "dret blanc cantonada claudàtor"] # 0x300f + - "【": [t: "esquerre negre lenticular claudàtor"] # 0x3010 + - "】": [t: "dret negre lenticular claudàtor"] # 0x3011 + - "〔": [t: "esquerre tortuga closca claudàtor"] # 0x3014 + - "〕": [t: "dret tortuga closca claudàtor"] # 0x3015 + - "〖": [t: "esquerre blanc lenticular claudàtor"] # 0x3016 + - "〗": [t: "dret blanc lenticular claudàtor"] # 0x3017 + - "〘": [t: "esquerre blanc tortuga closca claudàtor"] # 0x3018 + - "〙": [t: "dret blanc tortuga closca claudàtor"] # 0x3019 + - "〚": [t: "esquerre quadrat blanc claudàtor"] # 0x301a + - "〛": [t: "dret quadrat blanc claudàtor"] # 0x301b + - "〜": [t: "ona guió"] # 0x301c + - "〰": [t: "guió ondulat"] # 0x3030 + - "㉈": [t: "encerclat nombre deu sobre quadrat negre"] # 0x3248 + - "㉉": [t: "encerclat nombre vint sobre quadrat negre"] # 0x3249 + - "㉊": [t: "encerclat nombre trenta sobre quadrat negre"] # 0x324a + - "㉋": [t: "nombre quaranta encerclat sobre un quadrat negre"] # 0x324b + - "㉌": [t: "nombre cinquanta encerclat sobre un quadrat negre"] # 0x324c + - "㉍": [t: "nombre seixanta encerclat sobre un quadrat negre"] # 0x324d + - "㉎": [t: "nombre setanta encerclat sobre un quadrat negre"] # 0x324e + - "㉏": [t: "nombre vuitanta encerclat sobre un quadrat negre"] # 0x324f + - "㉑": [t: "encerclat nombre vint un"] # 0x3251 + - "㉒": [t: "encerclat nombre vint dos"] # 0x3252 + - "㉓": [t: "encerclat nombre vint tres"] # 0x3253 + - "㉔": [t: "encerclat nombre vint quatre"] # 0x3254 + - "㉕": [t: "encerclat nombre vint cinc"] # 0x3255 + - "㉖": [t: "encerclat nombre vint sis"] # 0x3256 + - "㉗": [t: "encerclat nombre vint conjunt"] # 0x3257 + - "㉘": [t: "encerclat nombre vint vuit"] # 0x3258 + - "㉙": [t: "encerclat nombre vint nou"] # 0x3259 + - "㉚": [t: "encerclat nombre trenta"] # 0x325a + - "㉛": [t: "encerclat nombre trenta un"] # 0x325b + - "㉜": [t: "encerclat nombre trenta dos"] # 0x325c + - "㉝": [t: "encerclat nombre trenta tres"] # 0x325d + - "㉞": [t: "encerclat nombre trenta quatre"] # 0x325e + - "㉟": [t: "encerclat nombre trenta cinc"] # 0x325f + - "㊱": [t: "encerclat nombre trenta sis"] # 0x32b1 + - "㊲": [t: "encerclat nombre trenta conjunt"] # 0x32b2 (GPT-5.4 translation) + - "㊳": [t: "encerclat nombre trenta vuit"] # 0x32b3 (GPT-5.4 translation) + - "㊴": [t: "encerclat nombre trenta nou"] # 0x32b4 (GPT-5.4 translation) + - "㊵": [t: "encerclat nombre quaranta"] # 0x32b5 (GPT-5.4 translation) + - "㊶": [t: "encerclat nombre quaranta un"] # 0x32b6 (GPT-5.4 translation) + - "㊷": [t: "encerclat nombre quaranta dos"] # 0x32b7 (GPT-5.4 translation) + - "㊸": [t: "encerclat nombre quaranta tres"] # 0x32b8 (GPT-5.4 translation) + - "㊹": [t: "encerclat nombre quaranta quatre"] # 0x32b9 (GPT-5.4 translation) + - "㊺": [t: "encerclat nombre quaranta cinc"] # 0x32ba (GPT-5.4 translation) + - "㊻": [t: "encerclat nombre quaranta sis"] # 0x32bb (GPT-5.4 translation) + - "㊼": [t: "encerclat nombre quaranta conjunt"] # 0x32bc (GPT-5.4 translation) + - "㊽": [t: "encerclat nombre quaranta vuit"] # 0x32bd (GPT-5.4 translation) + - "㊾": [t: "encerclat nombre quaranta nou"] # 0x32be (GPT-5.4 translation) + - "㊿": [t: "nombre cinquanta encerclat"] # 0x32bf (GPT-5.4 translation) + - "㋌": [t: "mercuri"] # 0x32cc + - "㋍": [t: "ergs"] # 0x32cd + - "㋎": [t: "electronvolts"] # 0x32ce + - "㋏": [t: "signe de responsabilitat limitada"] # 0x32cf + - "㍱": [t: "hectopascals"] # 0x3371 + - "㍲": [t: "daltons"] # 0x3372 + - "㍳": [t: "unitats astronòmiques"] # 0x3373 + - "㍴": [t: "bars"] # 0x3374 + - "㍵": [t: "o v"] # 0x3375 + - "㍶": [t: "pàrsecs"] # 0x3376 + - "㍷": [t: "decímetres"] # 0x3377 + - "㍸": [t: "decímetres quadrats"] # 0x3378 + - "㍹": [t: "decímetres cúbics"] # 0x3379 + - "㍺": [t: "unitats instrumentals"] # 0x337a + - "㎀": [t: "picoamperes"] # 0x3380 + - "㎁": [t: "nanoamperes"] # 0x3381 + - "㎂": [t: "microamperes"] # 0x3382 + - "㎃": [t: "mil·liamperes"] # 0x3383 + - "㎄": [t: "quiloamperes"] # 0x3384 + - "㎅": [t: "quilobytes"] # 0x3385 + - "㎆": [t: "megabytes"] # 0x3386 + - "㎇": [t: "gigabytes"] # 0x3387 + - "㎈": [t: "calories"] # 0x3388 + - "㎉": [t: "quilocalories"] # 0x3389 + - "㎊": [t: "picofarads"] # 0x338a + - "㎋": [t: "nanofarads"] # 0x338b + - "㎌": [t: "microfarads"] # 0x338c + - "㎍": [t: "micrograms"] # 0x338d + - "㎎": [t: "mil·ligrams"] # 0x338e + - "㎏": [t: "quilograms"] # 0x338f + - "㎐": [t: "hertz"] # 0x3390 + - "㎑": [t: "quilohertzs"] # 0x3391 + - "㎒": [t: "megahertz"] # 0x3392 + - "㎓": [t: "gigahertz"] # 0x3393 + - "㎔": [t: "terahertzs"] # 0x3394 + - "㎕": [t: "microlitres"] # 0x3395 + - "㎖": [t: "mil·lilitres"] # 0x3396 + - "㎗": [t: "decilitres"] # 0x3397 + - "㎘": [t: "quilolitres"] # 0x3398 + - "㎙": [t: "femtòmetres"] # 0x3399 + - "㎚": [t: "nanòmetres"] # 0x339a + - "㎛": [t: "micròmetres"] # 0x339b + - "㎜": [t: "mil·límetres"] # 0x339c + - "㎝": [t: "centímetres"] # 0x339d + - "㎞": [t: "quilòmetres"] # 0x339e + - "㎟": [t: "mil·límetres al quadrat"] # 0x339f + - "㎠": [t: "centímetres al quadrat"] # 0x33a0 + - "㎡": [t: "metres al quadrat"] # 0x33a1 + - "㎢": [t: "quilòmetres al quadrat"] # 0x33a2 + - "㎣": [t: "mil·límetres al cub"] # 0x33a3 + - "㎤": [t: "centímetres al cub"] # 0x33a4 + - "㎥": [t: "metres al cub"] # 0x33a5 + - "㎦": [t: "quilòmetres al cub"] # 0x33a6 + - "㎧": [t: "metres per segon"] # 0x33a7 + - "㎨": [t: "metres per segon al quadrat"] # 0x33a8 + - "㎩": [t: "pascals"] # 0x33a9 + - "㎪": [t: "quilopascals"] # 0x33aa + - "㎫": [t: "megapascals"] # 0x33ab + - "㎬": [t: "gigapascals"] # 0x33ac + - "㎭": [t: "radians"] # 0x33ad + - "㎮": [t: "radians per segon"] # 0x33ae + - "㎯": [t: "radians per segon al quadrat"] # 0x33af + - "㎰": [t: "picosegons"] # 0x33b0 + - "㎱": [t: "nanosegons"] # 0x33b1 + - "㎲": [t: "microsegons"] # 0x33b2 + - "㎳": [t: "mil·lisegons"] # 0x33b3 + - "㎴": [t: "picovolts"] # 0x33b4 + - "㎵": [t: "nanovolts"] # 0x33b5 + - "㎶": [t: "microvolts"] # 0x33b6 + - "㎷": [t: "mil·livolts"] # 0x33b7 + - "㎸": [t: "quilovolts"] # 0x33b8 + - "㎹": [t: "megavolts"] # 0x33b9 + - "㎺": [t: "picowatts"] # 0x33ba + - "㎻": [t: "nanowatts"] # 0x33bb + - "㎼": [t: "microwatts"] # 0x33bc + - "㎽": [t: "mil·liwatts"] # 0x33bd + - "㎾": [t: "quilowatts"] # 0x33be + - "㎿": [t: "megawatts"] # 0x33bf + - "㏀": [t: "quiloohms"] # 0x33c0 + - "㏁": [t: "megaohms"] # 0x33c1 + - "㏂": [t: "attòmetres"] # 0x33c2 + - "㏃": [t: "becquerels"] # 0x33c3 + - "㏄": [t: "centímetres cúbics"] # 0x33c4 + - "㏅": [t: "candeles"] # 0x33c5 + - "㏆": [t: "coulombs per quilogram"] # 0x33c6 + - "㏇": [t: "majúscula C, o, punt"] # 0x33c7 (I have no idea what this is) + - "㏈": [t: "decibels"] # 0x33c8 + - "㏉": [t: "grays"] # 0x33c9 + - "㏊": [t: "hectares"] # 0x33ca + - "㏋": [t: "cavalls de potència"] # 0x33cb + - "㏌": [t: "polzades"] # 0x33cc + - "㏍": [t: "quiloquèlvins"] # 0x33cd + - "㏎": [t: "quilòmetres"] # 0x33ce + - "㏏": [t: "nusos"] # 0x33cf + - "㏐": [t: "lúmens"] # 0x33d0 + - "㏑": [t: "logaritme natural"] # 0x33d1 + - "㏒": [t: "logaritme"] # 0x33d2 + - "㏓": [t: "lux"] # 0x33d3 + - "㏔": [t: "mil·libarns"] # 0x33d4 + - "㏕": [t: "mil·lèsims"] # 0x33d5 + - "㏖": [t: "moles"] # 0x33d6 + - "㏗": [t: "p h"] # 0x33d7 + - "㏘": [t: "picòmetres"] # 0x33d8 + - "㏙": [t: "parts per milió"] # 0x33d9 + - "㏚": [t: "petaröntgens"] # 0x33da + - "㏛": [t: "estereoradiants"] # 0x33db + - "㏜": [t: "sieverts"] # 0x33dc + - "㏝": [t: "webers"] # 0x33dd + - "㏞": [t: "volts per metre"] # 0x33de + - "㏟": [t: "amperes per metre"] # 0x33df + - "㏿": [t: "galons"] # 0x33ff + - "": [t: "igual amb circumflex a sota"] # 0xe900 + - "": [t: "igual amb més un sobre"] # 0xe901 + - "": [t: "igual amb més un sota"] # 0xe902 + - "": [t: "titlla amb més un sobre"] # 0xe903 + - "": [t: "titlla amb més un sota"] # 0xe904 + - "": [t: "igual doble sobre major que"] # 0xe908 + - "": [t: "igual doble sobre menor que"] # 0xe909 + - "": [t: "conté o igual a"] # 0xe90a + - "": [t: "superconjunt de o igual a"] # 0xe90b + - "": [t: "subconjunt de o igual a"] # 0xe90c + - "": [t: "igual sobre menor que"] # 0xe90d + - "": [t: "element de o igual a"] # 0xe912 + - "": [t: "igual a o major que"] # 0xe913 + - "": [t: "aproximat superconjunt de"] # 0xe914 + - "": [t: "aproximat subconjunt de"] # 0xe915 + - "": [t: "superconjunt amb punt que inclou com a subrelació"] # 0xe916 + - "": [t: "subconjunt amb punt inclòs com a subrelació"] # 0xe917 + - "": [t: "igual amb punt un sota"] # 0xe918 + - "": [t: "esquerre punt sobre menys sobre dret punt"] # 0xe919 + - "": [t: "dret punt sobre menys sobre esquerre punt"] # 0xe91a + - "": [t: "gairebé igual a menys"] # 0xe91f + - "": [t: "unió quadrada doble"] # 0xe920 + - "": [t: "doble quadrat majúscula"] # 0xe921 + - "": [t: "menor que igual a o major que"] # 0xe922 + - "": [t: "titlla amb punt"] # 0xe924 + - "": [t: "titlla amb dos punts"] # 0xe925 + - "": [t: "menor que major o igual que"] # 0xe926 + - "": [t: "major que menor o igual que"] # 0xe927 + - "": [t: "equivalent a o menor que"] # 0xe928 + - "": [t: "equivalent a o major que"] # 0xe929 + - "": [t: "esquerre requadre obert operador"] # 0xe92a + - "": [t: "dret requadre obert operador"] # 0xe92b + - "": [t: "idèntic un amb punt"] # 0xe92c + - "": [t: "major que igual a o menor que"] # 0xe92d + - "": [t: "barra operador"] # 0xe92e + - "": [t: "doble barra operador"] # 0xe92f + - "": [t: "triple barra operador"] # 0xe930 + - "": [t: "menor que o aproximadament igual a"] # 0xe932 + - "": [t: "major que o aproximadament igual a"] # 0xe933 + - "": [t: "imbricat menor que"] # 0xe936 + - "": [t: "imbricat major que"] # 0xe937 + - "": [t: "precedeix o equivalent a"] # 0xe93a + - "": [t: "succeeix o equivalent a"] # 0xe93b + - "": [t: "precedeix sobre igual"] # 0xe940 + - "": [t: "succeeix sobre igual"] # 0xe941 + - "": [t: "menor igual inclinat major"] # 0xe942 + - "": [t: "major igual inclinat menor"] # 0xe943 + - "": [t: "satisfet per"] # 0xe948 + - "": [t: "essa mandrosa"] # 0xe949 + - "": [t: "no afirmació"] # 0xe94a + - "": [t: "doble igual"] # 0xe94b + - "": [t: "triple igual"] # 0xe94c + - "": [t: "regla retardada"] # 0xe94d + - "": [t: "delimitador d'àlies"] # 0xe94e + - "": [t: "normal subgrup de amb barra"] # 0xe950 + - "": [t: "conté com normal subgrup amb barra"] # 0xe951 + - "": [t: "implica arrodonit"] # 0xe954 + - "": [t: "somriure sota barra"] # 0xe955 + - "": [t: "arrufament sobre barra"] # 0xe956 + - "": [t: "superconjunt de o gairebé igual a"] # 0xe957 + - "": [t: "subconjunt de o gairebé igual a"] # 0xe958 + - "": [t: "major que gairebé igual a o menor que"] # 0xe959 + - "": [t: "menor que gairebé igual o major que"] # 0xe95a + - "": [t: "doble lògic o"] # 0xe95c + - "": [t: "doble lògic i"] # 0xe95d + - "": [t: "lògic o amb doble barra un sota"] # 0xe95e + - "": [t: "lògic o amb barra un sota"] # 0xe95f + - "": [t: "gairebé igual sobre igual"] # 0xe962 + - "": [t: "triangle que apunta cap a l'esquerra amb barra bisectriu"] # 0xe964 + - "": [t: "triangle que apunta cap a la dreta amb barra bisectriu"] # 0xe965 + - "": [t: "igual amb puntejat superior línia"] # 0xe966 + - "": [t: "precedeix amb dos punts"] # 0xe967 + - "": [t: "succeeix amb dos punts"] # 0xe968 + - "": [t: "més petit que o igual inclinat"] # 0xe969 + - "": [t: "més gran que o igual inclinat"] # 0xe96a + - "": [t: "imbricat molt molt menor que"] # 0xe96b + - "": [t: "imbricat molt molt major que"] # 0xe96c + - "": [t: "variant de diferència entre"] # 0xe96d + - "": [t: "menor que major que superposat"] # 0xe96e + - "": [t: "lògic o lògic i superposat"] # 0xe96f + - "": [t: "superconjunt sobre superconjunt"] # 0xe970 + - "": [t: "subconjunt sobre subconjunt"] # 0xe971 + - "": [t: "superconjunt sobre subconjunt"] # 0xe972 + - "": [t: "subconjunt sobre superconjunt"] # 0xe973 + - "": [t: "triple vertical barra"] # 0xe979 + - "": [t: "aparellat quàdruple vertical punts"] # 0xe97a + - "": [t: "perpendicular sobre barra"] # 0xe97b + - "": [t: "esquerre símbol de deducció doble vertical barra"] # 0xe97c + - "": [t: "doble esquerre símbol de deducció doble vertical barra"] # 0xe97d + - "": [t: "perpendicular sobre invertit perpendicular"] # 0xe97e + - "": [t: "doble esquerre símbol de deducció vertical barra"] # 0xe97f + - "": [t: "esfèric angle obertura amunt"] # 0xe980 + - "": [t: "doble barra obliqua"] # 0xe981 + - "": [t: "angle recte amb cantonada"] # 0xe982 + - "": [t: "encerclat vertical barra"] # 0xe984 + - "": [t: "encerclat divisió signe"] # 0xe985 + - "": [t: "discontinu barra obliqua"] # 0xe986 + - "": [t: "barra inversa discontínua"] # 0xe987 + - "": [t: "discontinu mitjà línia"] # 0xe988 + - "": [t: "discontinu vertical barra"] # 0xe989 + - "": [t: "perpendicular amb s"] # 0xe98a + - "": [t: "angle amb s"] # 0xe98b + - "": [t: "esfèric angle obertura esquerre"] # 0xe98c + - "": [t: "angle obertura esquerre"] # 0xe98d + - "": [t: "vertical barra amb doble ganxo"] # 0xe98e + - "": [t: "operador de punt mitjà de radical lliure"] # 0xe98f + - "": [t: "blanc amunt apuntant triangle un sobre barra"] # 0xe990 + - "": [t: "idèntic i paral·lel a"] # 0xe991 + - "": [t: "producte smash"] # 0xe992 + - "": [t: "triple barra operador amb horitzontal barra"] # 0xe993 + - "": [t: "idèntic un amb doble barra obliqua"] # 0xe994 + - "": [t: "tres barres creuades"] # 0xe995 + - "": [t: "vertical barra sobre cercle"] # 0xe996 + - "": [t: "proporcional vertical a"] # 0xe997 + - "": [t: "lluna negra en quart minvant"] # 0xe998 + - "": [t: "lluna negra en quart creixent"] # 0xe999 + - "": [t: "ona sinusoidal negativa"] # 0xe9a0 + - "": [t: "entre parèntesis punt"] # 0xe9a1 + - "": [t: "parèntesis"] # 0xe9a2 + - "": [t: "blanc somriure"] # 0xe9a3 + - "": [t: "blanc arrufament"] # 0xe9a4 + - "": [t: "hexàgon"] # 0xe9a5 + - "": [t: "equivalent a sobre més"] # 0xe9a6 + - "": [t: "més sobre equivalent a"] # 0xe9a7 + - "": [t: "intersecció serifs"] # 0xe9b0 + - "": [t: "unió serifs"] # 0xe9b1 + - "": [t: "quadrat intersecció serifs"] # 0xe9b2 + - "": [t: "quadrat unió serifs"] # 0xe9b3 + - "": [t: "precedeix equivalent a o succeeix"] # 0xe9e0 + - "": [t: "succeeix equivalent a o precedeix"] # 0xe9e1 + - "": [t: "precedeix gairebé igual a o succeeix"] # 0xe9e2 + - "": [t: "succeeix gairebé igual a o precedeix"] # 0xe9e3 + - "": [t: "menor que equivalent a o major que"] # 0xe9f0 + - "": [t: "major que equivalent a o menor que"] # 0xe9f1 + - "": [t: "no vertical molt menor que"] # 0xea00 + - "": [t: "no vertical molt major que"] # 0xea01 + - "": [t: "no molt menor que variant"] # 0xea02 + - "": [t: "no molt major que variant"] # 0xea03 + - "": [t: "menor vertical no doble igual"] # 0xea04 + - "": [t: "gt vertical no doble igual"] # 0xea05 + - "": [t: "no és menor o igual que"] # 0xea06 + - "": [t: "no és major o igual que"] # 0xea07 + - "": [t: "ni igual a ni menor que"] # 0xea09 + - "": [t: "fa no conté o igual a"] # 0xea0a + - "": [t: "ni superconjunt de ni igual a"] # 0xea0b + - "": [t: "ni subconjunt de ni igual a"] # 0xea0c + - "": [t: "inversa barra obliqua subconjunt"] # 0xea0d + - "": [t: "ni igual a ni major que"] # 0xea0e + - "": [t: "no menys titlla operador"] # 0xea0f + - "": [t: "ni igual a ni menor que"] # 0xea10 + - "": [t: "no titlla operador"] # 0xea11 + - "": [t: "no element de o igual a"] # 0xea12 + - "": [t: "ni igual a ni major que"] # 0xea13 + - "": [t: "no gairebé igual"] # 0xea14 + - "": [t: "no succeeix semblant"] # 0xea15 + - "": [t: "menor que o inclinat igual a amb barra obliqua"] # 0xea16 + - "": [t: "major que o inclinat igual a amb barra obliqua"] # 0xea17 + - "": [t: "superconjunt barra obliqua"] # 0xea1a + - "": [t: "fa no conté"] # 0xea1b + - "": [t: "no és menor o igual que"] # 0xea1d + - "": [t: "no és major o igual que"] # 0xea1e + - "": [t: "no gairebé igual a menys"] # 0xea1f + - "": [t: "pertinença negada a un conjunt amb punt a sobre"] # 0xea22 + - "": [t: "no vertical angle"] # 0xea2c + - "": [t: "no paral·lel inclinat"] # 0xea2d + - "": [t: "no barra operador"] # 0xea2e + - "": [t: "no doble barra operador"] # 0xea2f + - "": [t: "no triple barra operador"] # 0xea30 + - "": [t: "menor que però no aproximadament igual a"] # 0xea32 + - "": [t: "major que però no aproximadament igual a"] # 0xea33 + - "": [t: "menor que o no és igual a"] # 0xea34 + - "": [t: "major que o no és igual a"] # 0xea35 + - "": [t: "no imbricat menor que"] # 0xea36 + - "": [t: "no imbricat major que"] # 0xea37 + - "": [t: "no molt menor que"] # 0xea38 + - "": [t: "no molt major que"] # 0xea39 + - "": [t: "precedeix però no és equivalent a"] # 0xea3a + - "": [t: "succeeix però no és equivalent a"] # 0xea3b + - "": [t: "precedeix però no és igual a"] # 0xea3c + - "": [t: "succeeix però no és igual a"] # 0xea3d + - "": [t: "no és igual ni precedeix"] # 0xea3e + - "": [t: "no és igual ni succeeix"] # 0xea3f + - "": [t: "precedeix però no és igual a"] # 0xea40 + - "": [t: "succeeix però no és igual a"] # 0xea41 + - "": [t: "no subconjunt de ni igual a"] # 0xea42 + - "": [t: "no superconjunt de ni igual a"] # 0xea43 + - "": [t: "subconjunt de o no és igual a"] # 0xea44 + - "": [t: "superconjunt de o no és igual a"] # 0xea45 + - "": [t: "no subconjunt de ni igual a"] # 0xea46 + - "": [t: "no superconjunt de ni igual a"] # 0xea47 + - "": [t: "no triple menor que"] # 0xea48 + - "": [t: "no triple major que"] # 0xea49 + - "": [t: "no precedeix igual"] # 0xea4c + - "": [t: "no succeeix igual"] # 0xea4d + - "": [t: "no normal subgrup de amb barra"] # 0xea50 + - "": [t: "fa no conté com normal subgrup amb barra"] # 0xea51 + - "": [t: "no diferència entre"] # 0xea52 + - "": [t: "no geomètricament equivalent a"] # 0xea53 + - "": [t: "no vertical semblant"] # 0xea54 + - "": [t: "no igual o semblant"] # 0xea55 + - "": [t: "no vertical aproximat"] # 0xea56 + - "": [t: "no aproximadament idèntic un"] # 0xea57 + - "": [t: "igual amb relleu negat"] # 0xea58 + - "": [t: "igual simple amb relleu negat"] # 0xea59 + - "": [t: "no igual punt"] # 0xea5a + - "": [t: "inversa no equivalent"] # 0xea5b + - "": [t: "no quadrat subconjunt"] # 0xea60 + - "": [t: "no quadrat superconjunt"] # 0xea61 + - "": [t: "no gairebé igual sobre igual"] # 0xea62 + - "": [t: "no estrictament equivalent a"] # 0xea63 + - "": [t: "no congruent punt"] # 0xea64 + - "": [t: "inversa no igual"] # 0xea65 + - "": [t: "no vertical esquerre triangle igual"] # 0xea70 + - "": [t: "no vertical dret triangle igual"] # 0xea71 + - "": [t: "no parcial"] # 0xea80 + - "": [t: "fletxa ornament extensor"] # 0xeb00 + - "": [t: "fletxa dret sobre fletxa esquerre"] # 0xeb01 + - "": [t: "fletxa dret sobre fletxa esquerre"] # 0xeb02 + - "": [t: "arpó dret sobre arpó esquerre"] # 0xeb03 + - "": [t: "arpó dret sobre arpó esquerre"] # 0xeb04 + - "": [t: "fletxa doble nord-est sud-oest"] # 0xeb05 + - "": [t: "fletxa doble nord-oest sud-est"] # 0xeb06 + - "": [t: "horitzontal arpó extensor"] # 0xeb07 + - "": [t: "en sentit antihorari arc fletxa esquerra"] # 0xeb08 + - "": [t: "en sentit antihorari arc fletxa dreta"] # 0xeb09 + - "": [t: "gran fletxa dreta accent"] # 0xeb0b + - "": [t: "gran fletxa esquerra accent"] # 0xeb0c + - "": [t: "punta de fletxa cap a l'esquerra"] # 0xeb0d + - "": [t: "punta de fletxa cap a la dreta"] # 0xeb0e + - "": [t: "gran fletxa esquerra i dreta amb traç"] # 0xeb0f + - "": [t: "horitzontal doble fletxa extensor"] # 0xeb10 + - "": [t: "gran esquerre dret doble fletxa amb traç"] # 0xeb11 + - "": [t: "fletxa avall esquerre de fletxa amunt"] # 0xeb12 + - "": [t: "fletxa esquerra amb cantonada avall"] # 0xeb13 + - "": [t: "fletxa dreta amb cantonada amunt"] # 0xeb14 + - "": [t: "fletxa esquerra amb cantonada amunt"] # 0xeb15 + - "": [t: "en sentit antihorari superior semicercle fletxa amb més"] # 0xeb16 + - "": [t: "en sentit horari superior semicercle fletxa amb menys"] # 0xeb17 + - "": [t: "fletxa dreta amb cua amb traç"] # 0xeb18 + - "": [t: "arpó dret avall"] # 0xeb19 + - "": [t: "arpó esquerre avall"] # 0xeb1a + - "": [t: "esquerre arpó dret avall"] # 0xeb1b + - "": [t: "esquerre arpó dret amunt"] # 0xeb1c + - "": [t: "amunt arpó descendent esquerre"] # 0xeb1d + - "": [t: "amunt arpó descendent dret"] # 0xeb1e + - "": [t: "fletxa amunt elevat a la dret de fletxa avall"] # 0xeb1f + - "": [t: "arpó esquerre un barra amb barba amunt"] # 0xeb20 + - "": [t: "arpó dret un barra amb barba amunt"] # 0xeb21 + - "": [t: "arpó esquerre un barra amb barba avall"] # 0xeb22 + - "": [t: "arpó dret un barra amb barba avall"] # 0xeb23 + - "": [t: "arpó esquerre des de barra amb barba amunt"] # 0xeb24 + - "": [t: "arpó dret des de barra amb barba amunt"] # 0xeb25 + - "": [t: "arpó esquerre des de barra amb barba avall"] # 0xeb26 + - "": [t: "arpó dret des de barra amb barba avall"] # 0xeb27 + - "": [t: "arpó ascendent un barra amb barba esquerre"] # 0xeb28 + - "": [t: "arpó descendent un barra amb barba esquerre"] # 0xeb29 + - "": [t: "arpó ascendent un barra amb barba dret"] # 0xeb2a + - "": [t: "arpó descendent un barra amb barba dret"] # 0xeb2b + - "": [t: "arpó ascendent des de barra amb barba esquerre"] # 0xeb2c + - "": [t: "arpó descendent des de barra amb barba esquerre"] # 0xeb2d + - "": [t: "arpó ascendent des de barra amb barba dret"] # 0xeb2e + - "": [t: "arpó descendent des de barra amb barba dret"] # 0xeb2f + - "": [t: "fletxa amunt un barra"] # 0xeb30 + - "": [t: "fletxa avall un barra"] # 0xeb31 + - "": [t: "arpó ascendent elevat a la esquerre de arpó descendent"] # 0xeb32 + - "": [t: "arpó ascendent elevat a la dret de arpó descendent"] # 0xeb33 + - "": [t: "amunt punta de fletxa"] # 0xeb34 + - "": [t: "punta de fletxa cap avall"] # 0xeb35 + - "": [t: "doble arpó amb esquerre barba avall dret barba amunt"] # 0xeb36 + - "": [t: "doble arpó amb esquerre barba amunt dret barba avall"] # 0xeb37 + - "": [t: "fletxa esquerra sobre barra"] # 0xeb38 + - "": [t: "fletxa dreta sobre barra"] # 0xeb39 + - "": [t: "fletxa esquerra sota barra"] # 0xeb3a + - "": [t: "fletxa dreta sota barra"] # 0xeb3b + - "": [t: "esquerre dret triple fletxa"] # 0xeb3c + - "": [t: "doble fletxa nord-est sud-est"] # 0xeb3f + - "": [t: "en sentit antihorari esquerre semicercle fletxa"] # 0xeb40 + - "": [t: "en sentit horari esquerre semicercle fletxa"] # 0xeb41 + - "": [t: "esquerre obert cercle fletxa esquerra i dreta"] # 0xeb42 + - "": [t: "fletxa dreta sobre titlla"] # 0xeb44 + - "": [t: "fletxa esquerra sobre titlla"] # 0xeb45 + - "": [t: "arpó esquerre sobre barra"] # 0xeb48 + - "": [t: "arpó dret sobre barra"] # 0xeb49 + - "": [t: "arpó esquerre sota barra"] # 0xeb4a + - "": [t: "arpó dret sota barra"] # 0xeb4b + - "": [t: "fletxa negra ampla cap a l'esquerra"] # 0xeb4c + - "": [t: "en sentit horari dret semicercle fletxa"] # 0xeb50 + - "": [t: "en sentit antihorari dret semicercle fletxa"] # 0xeb51 + - "": [t: "esquerre obert cercle esquerre arpó dret"] # 0xeb52 + - "": [t: "fletxa amunt esquerre de vertical barra"] # 0xeb58 + - "": [t: "fletxa avall esquerre de vertical barra"] # 0xeb59 + - "": [t: "fletxa amunt dret de vertical barra"] # 0xeb5a + - "": [t: "fletxa avall dret de vertical barra"] # 0xeb5b + - "": [t: "fletxa dreta amb estès avall ganxo"] # 0xeb5c + - "": [t: "fletxa esquerra amb estès ganxo"] # 0xeb5d + - "": [t: "fletxa esquerra amb estès avall ganxo"] # 0xeb5e + - "": [t: "fletxa dreta amb estès ganxo"] # 0xeb5f + - "": [t: "fletxa ondulada no cap a la dreta"] # 0xeb60 + - "": [t: "no fletxa dreta corbat"] # 0xeb61 + - "": [t: "arpó ascendent esquerre de vertical barra"] # 0xeb68 + - "": [t: "arpó descendent esquerre de vertical barra"] # 0xeb69 + - "": [t: "arpó ascendent dret de vertical barra"] # 0xeb6a + - "": [t: "arpó descendent dret de vertical barra"] # 0xeb6b + - "": [t: "vertical doble fletxa extensor"] # 0xeb6c + - "": [t: "vertical arpó amb barba esquerre extensor"] # 0xeb6d + - "": [t: "vertical arpó amb barba dret extensor"] # 0xeb6e + - "": [t: "arpó dret sobre arpó esquerre dret"] # 0xeb6f + - "": [t: "arpó dret sobre arpó esquerre esquerre"] # 0xeb70 + - "": [t: "arpó esquerre sobre arpó dret dret"] # 0xeb71 + - "": [t: "arpó esquerre sobre arpó dret esquerre"] # 0xeb72 + - "": [t: "fletxa esquerra des de barra punta de fletxa"] # 0xeb73 + - "": [t: "fletxa esquerra i dreta des de barra extensor"] # 0xeb74 + - "": [t: "fletxa esquerra des de barra cua"] # 0xeb75 + - "": [t: "fletxa dreta des de barra cua"] # 0xeb76 + - "": [t: "fletxa dreta des de barra punta de fletxa"] # 0xeb77 + - "": [t: "arpó ascendent des de barra amb barba i punta cap a l'esquerra"] # 0xeb78 + - "": [t: "fletxa dreta sobre fletxa esquerra dret"] # 0xeb79 + - "": [t: "fletxa dreta sobre fletxa esquerra esquerre"] # 0xeb7a + - "": [t: "fletxa esquerra sobre fletxa dreta dret"] # 0xeb7b + - "": [t: "fletxa esquerra sobre fletxa dreta esquerre"] # 0xeb7c + - "": [t: "fletxa amunt des de barra punta de fletxa"] # 0xeb7d + - "": [t: "fletxa amunt des de barra cua"] # 0xeb7e + - "": [t: "fletxa avall des de barra cua"] # 0xeb7f + - "": [t: "fletxa avall des de barra punta de fletxa"] # 0xeb80 + - "": [t: "arpó descendent des de barra amb barba i punta cap a la dreta"] # 0xeb81 + - "": [t: "arpó ascendent elevat a la esquerre de arpó descendent inferior"] # 0xeb82 + - "": [t: "arpó ascendent elevat a la esquerre de arpó descendent extensor"] # 0xeb83 + - "": [t: "arpó descendent elevat a la esquerre de arpó ascendent superior"] # 0xeb84 + - "": [t: "arpó ascendent elevat a la esquerre de arpó descendent superior"] # 0xeb85 + - "": [t: "arpó descendent elevat a la esquerre de el arpó ascendent extensor"] # 0xeb86 + - "": [t: "arpó descendent elevat a la esquerre de el arpó ascendent inferior"] # 0xeb87 + - "": [t: "fletxa amunt esquerre de fletxa avall inferior"] # 0xeb88 + - "": [t: "fletxa avall esquerre de fletxa amunt superior"] # 0xeb89 + - "": [t: "fletxa amunt esquerre de fletxa avall superior"] # 0xeb8a + - "": [t: "fletxa avall esquerre de fletxa amunt inferior"] # 0xeb8b + - "": [t: "fletxa esquerra i dretas extensor"] # 0xeb8c + - "": [t: "fletxa nord-est extensor"] # 0xeb8d + - "": [t: "fletxa nord-oest extensor"] # 0xeb8e + - "": [t: "avall apuntant clau esquerre"] # 0xec00 + - "": [t: "avall apuntant clau mitjà"] # 0xec01 + - "": [t: "avall apuntant clau dret"] # 0xec02 + - "": [t: "horitzontal clau extensor"] # 0xec03 + - "": [t: "amunt apuntant clau esquerre"] # 0xec04 + - "": [t: "amunt apuntant clau mitjà"] # 0xec05 + - "": [t: "apuntant amunt clau dret"] # 0xec06 + - "": [t: "esquerre vertical barra"] # 0xec07 + - "": [t: "dret vertical barra"] # 0xec08 + - "": [t: "esquerre doble vertical barra"] # 0xec09 + - "": [t: "dret doble vertical barra"] # 0xec0a + - "": [t: "horitzontal claudàtor extensor"] # 0xec0b + - "": [t: "sota quadrat claudàtor"] # 0xec0c + - "⎵": [t: "sota quadrat claudàtor"] # 0x23b5 + - "": [t: "sobre quadrat claudàtor"] # 0xec0d + - "⎴": [t: "sobre quadrat claudàtor"] # 0x23b4 + - "": [t: "sota claudàtor esquerre"] # 0xec0e + - "": [t: "sota claudàtor dret"] # 0xec0f + - "": [t: "sobre claudàtor esquerre"] # 0xec10 + - "": [t: "sobre claudàtor dret"] # 0xec11 + - "": [t: "esquerre parèntesis 1"] # 0xec12 + - "": [t: "esquerre parèntesis 2"] # 0xec13 + - "": [t: "esquerre parèntesis 3"] # 0xec14 + - "": [t: "esquerre parèntesis 4"] # 0xec15 + - "": [t: "dret parèntesis 1"] # 0xec16 + - "": [t: "dret parèntesis 2"] # 0xec17 + - "": [t: "dret parèntesis 3"] # 0xec18 + - "": [t: "dret parèntesis 4"] # 0xec19 + - "": [t: "radical 1"] # 0xec1a + - "": [t: "radical 2"] # 0xec1b + - "": [t: "radical 3"] # 0xec1c + - "": [t: "radical 4"] # 0xec1d + - "": [t: "radical 5"] # 0xec1e + - "": [t: "radical inferior"] # 0xec1f + - "": [t: "radical vertical extensor"] # 0xec20 + - "": [t: "radical superior"] # 0xec21 + - "": [t: "esquerre blanc claudàtor superior"] # 0xec22 + - "": [t: "esquerre blanc claudàtor extensor"] # 0xec23 + - "": [t: "esquerre blanc claudàtor inferior"] # 0xec24 + - "": [t: "dret blanc claudàtor superior"] # 0xec25 + - "": [t: "dret blanc claudàtor extensor"] # 0xec26 + - "": [t: "dret blanc claudàtor inferior"] # 0xec27 + - "": [t: "esquerre blanc arrissat claudàtor"] # 0xec30 + - "": [t: "dret blanc arrissat claudàtor"] # 0xec31 + - "": [t: "llarg divisió signe"] # 0xec32 + - "": [t: "llarg divisió signe extensor"] # 0xec33 + - "": [t: "curt divisió"] # 0xec34 + - "": [t: "enllaç ema doble de sud-oest a nord-est"] # 0xec40 + - "": [t: "enllaç ema doble de nord-oest a sud-est"] # 0xec41 + - "": [t: "simple horitzontal ema enllaç"] # 0xec42 + - "": [t: "doble horitzontal ema enllaç"] # 0xec43 + - "": [t: "triple horitzontal ema enllaç"] # 0xec44 + - "": [t: "simple vertical ema enllaç"] # 0xec45 + - "": [t: "doble vertical ema enllaç"] # 0xec46 + - "": [t: "triple vertical ema enllaç"] # 0xec47 + - "": [t: "menor que ema enllaç"] # 0xec48 + - "": [t: "major que ema enllaç"] # 0xec49 + - "": [t: "simple horitzontal en enllaç"] # 0xec4a + - "": [t: "doble horitzontal en enllaç"] # 0xec4b + - "": [t: "triple horitzontal en enllaç"] # 0xec4c + - "": [t: "superior esquerre rectangle"] # 0xec80 + - "": [t: "inferior esquerre rectangle"] # 0xec81 + - "": [t: "superior dret rectangle"] # 0xec90 + - "": [t: "inferior dret rectangle"] # 0xec91 + - "": [t: "sintètic divisió cantonada"] # 0xec92 + - "": [t: "sintètic divisió horitzontal extensor"] # 0xec93 + - "": [t: "sintètic divisió vertical extensor"] # 0xec94 + - "": [t: "esquerre sostre terra extensor"] # 0xec95 + - "": [t: "dret sostre terra extensor"] # 0xec96 + - "": [t: "sobre claudàtor extensor"] # 0xec97 + - "": [t: "vertical barra extensor"] # 0xec98 + - "": [t: "esquerre doble vertical barra extensor"] # 0xec99 + - "": [t: "horitzontal barra extensor"] # 0xec9a + - "": [t: "sota claudàtor extensor"] # 0xec9c + - "": [t: "avall apuntant parèntesi dret"] # 0xec9d + - "": [t: "avall apuntant parèntesi extensor"] # 0xec9e + - "": [t: "avall apuntant parèntesi esquerre"] # 0xec9f + - "": [t: "amunt apuntant clau extensor"] # 0xeca0 + - "": [t: "amunt apuntant parèntesi esquerre"] # 0xeca1 + - "": [t: "amunt apuntant parèntesi extensor"] # 0xeca2 + - "": [t: "amunt apuntant parèntesi dret"] # 0xeca3 + - "": [t: "avall apuntant clau extensor"] # 0xeca4 + - "": [t: "constant de Planck sobre dos pi barra"] # 0xed00 + - "": [t: "ge reflectida"] # 0xed01 + - "": [t: "sense punt j"] # 0xed02 + - "": [t: "digamma"] # 0xed03 + - "ϝ": [t: "digamma"] # 0x3dd + - "": [t: "d"] # 0xed10 + - "": [t: "e"] # 0xed11 + - "": [t: "i"] # 0xed12 + - "": [t: "j"] # 0xed13 + - "ⅅ": + - spell: "translate('.', 'ⅅ', 'DD')" # 0xed16, 0x2145 + +# The private use chars are efrom MathType + - "": [t: "en sentit antihorari contorn integral bucle"] # 0xee00 + - "": [t: "en sentit horari contorn integral bucle"] # 0xee01 + - "": [t: ""] # 0xee04 + - "": [t: ""] # 0xee05 + - "": [t: ""] # 0xee06 + - "": [t: ""] # 0xee07 + - "": [t: ""] # 0xee08 + - "": [t: ""] # 0xee09 + - "": [t: ""] # 0xee0a + - "": [t: ""] # 0xee0b + - "": [t: ""] # 0xee0c + - "": [t: "junt estat ornament"] # 0xee0d + - "": [t: "junt estat ornament esquerre"] # 0xee0e + - "": [t: "junt estat ornament dret"] # 0xee0f + - "": [t: "junt estat ornament extensor"] # 0xee10 + - "": [t: "integral bucle"] # 0xee11 + - "": [t: "integral bucle doble"] # 0xee12 + - "": [t: "integral bucle triple"] # 0xee13 + - "": [t: "bucle integral doble expansiu"] # 0xee15 + - "": [t: "bucle integral triple expansiu"] # 0xee16 + - "": [t: "accent d'asímptoticament igual a"] # 0xee17 + - "": [t: "igual signe accent"] # 0xee18 + - "": [t: "quàdruple prima"] # 0xee19 + - "": [t: "barra accent amb obert cercle esquerre"] # 0xee1a + - "": [t: "barra accent amb tancat cercle esquerre"] # 0xee1b + - "": [t: "barra accent amb obert cercle dret"] # 0xee1c + - "": [t: "barra accent amb sobre punt"] # 0xee1d + - "": [t: "barra accent amb sota punt"] # 0xee1e + - "": [t: "barra accent amb doble sobre punt"] # 0xee1f + - "": [t: "barra accent amb doble sota punt"] # 0xee20 + - "": [t: "accent de barra amb circumflex"] # 0xee21 + - "": [t: "accent gruixut sota la barra"] # 0xee22 + - "": [t: "barra accent amb tancat cercle dret"] # 0xee23 + - "": [t: "gran punt un sobre"] # 0xee24 + - "": [t: "marca d'alineació"] # 0xef00 + - "": [t: ""] # 0xef01 + - "​": [t: ""] # 0x200b + - "": [t: ""] # 0xef02 + - " ": [t: ""] # 0x2009 + - "": [t: ""] # 0xef03 + - " ": [t: ""] # 0x205f + - "": [t: ""] # 0xef04 + - "": [t: ""] # 0xef05 + - "": [t: ""] # 0xef06 + - "": [t: ""] # 0xef07 + - "": [t: ""] # 0xef08 + - "": [t: ""] # 0xef09 + - "": [t: ""] # 0xef0a + - " ": [t: ""] # 0x200a + - "": [t: ""] # 0xef22 + - "": [t: ""] # 0xef23 + - "": [t: ""] # 0xef24 + - "": [t: ""] # 0xef29 + - "": [t: "terme absent"] # 0xef41 + - "": [t: "en sentit horari contorn integral fletxa sobre esquerre"] # 0xef80 + - "": [t: "integral amb quadrat"] # 0xef81 + - "": [t: "integral amb barra obliqua"] # 0xef82 + - "": [t: "invertit integral"] # 0xef83 + - "": [t: "doble zero sobre doble zero"] # 0xef90 + - "": [t: "zero amb barra obliqua"] # 0xef91 + + # fraktur chars in math alphabetic block and also MathType private use area + # Some of these are reserved because they were used in Plane 0 -- that shouldn't be an issue other than causing the other chars to not display + - "𝔄-𝔜": # 0x1d504 - 0x1d51d ('z' version is reserved) + - t: "fraktur" + - spell: "translate('.', '𝔄𝔅𝔆𝔇𝔈𝔉𝔊𝔋𝔌𝔍𝔎𝔏𝔐𝔑𝔒𝔓𝔔𝔕𝔖𝔗𝔘𝔙𝔚𝔛𝔜', 'ABCDEFGHIJKLMNOPQRSTUVWXY')" + + - "-": # 0xf000 - 0xf018 + - t: "fraktur" + - spell: "translate('.', '', 'ABCDEFGHIJKLMNOPQRSTUVWXY')" + + - "𝔞-𝔷": # 0x1d51e - 0x1d537 + - t: "fraktur" + - spell: "translate('.', '𝔞𝔟𝔠𝔡𝔢𝔣𝔤𝔥𝔦𝔧𝔨𝔩𝔪𝔫𝔬𝔭𝔮𝔯𝔰𝔱𝔲𝔳𝔴𝔵𝔶𝔷', 'abcdefghijklmnopqrstuvwxyz')" + - "-": # 0xf01a - 0xf033 + - t: "fraktur" + - spell: "translate('.', '', 'abcdefghijklmnopqrstuvwxyz')" + + - "𝕬-𝖅": # 0x1D56C - 0x1D585 + - t: "fraktur" + - test: + if: "not($IgnoreBold)" + then: [t: "negreta"] + - spell: "translate('.', '𝕬𝕭𝕮𝕯𝕰𝕱𝕲𝕳𝕴𝕵𝕶𝕷𝕸𝕹𝕺𝕻𝕼𝕽𝕾𝕿𝖀𝖁𝖂𝖃𝖄𝖅', 'ABCDEFGHIJKLMNOPQRSTUVWXYZ')" + + - "-": # 0xf040 - 0xf059 + - t: "fraktur" + - test: + if: "not($IgnoreBold)" + then: [t: "negreta"] + - spell: "translate('.', '', 'ABCDEFGHIJKLMNOPQRSTUVWXYZ')" + + - "𝖆-𝖟": # 0x1d586 - 0x1d59f + - t: "fraktur" + - test: + if: "not($IgnoreBold)" + then: [t: "negreta"] + - spell: "translate('.', '𝖆𝖇𝖈𝖉𝖊𝖋𝖌𝖍𝖎𝖏𝖐𝖑𝖒𝖓𝖔𝖕𝖖𝖗𝖘𝖙𝖚𝖛𝖜𝖝𝖞𝖟', 'abcdefghijklmnopqrstuvwxyz')" + - "-": # 0xf05a - 0xf073 + - t: "fraktur" + - test: + if: "not($IgnoreBold)" + then: [t: "negreta"] + - spell: "translate('.', '', 'abcdefghijklmnopqrstuvwxyz')" + + # double struck (blackboard bold) chars in math alphabetic block and also MathType private use area + # Some of these are reserved because they were used in Plane 0 -- that shouldn't be an issue other than causing the other chars to not display + - "𝔸-𝕐": # 0x1d504 - 0x1d51d ('z' version is reserved) + - t: "doble traç" + - spell: "translate('.', '𝔸𝔹𝔺𝔻𝔼𝔽𝔾𝔿𝕀𝕁𝕂𝕃𝕄𝕅𝕆𝕇𝕈𝕉𝕊𝕋𝕌𝕍𝕎𝕏𝕐', 'ABCDEFGHIJKLMNOPQRSTUVWXYZ')" + + - "-": # 0xf080 - 0xf098 + - t: "doble traç" + - spell: "translate('.', '', 'ABCDEFGHIJKLMNOPQRSTUVWXYZ')" + + - "𝕒-𝕫": # 0x1d552 - 0x1d56b + - t: "doble traç" + - spell: "translate('.', '𝕒𝕓𝕔𝕕𝕖𝕗𝕘𝕙𝕚𝕛𝕜𝕝𝕞𝕟𝕠𝕡𝕢𝕣𝕤𝕥𝕦𝕧𝕨𝕩𝕪𝕫', 'abcdefghijklmnopqrstuvwxyz')" + - "-": # 0xf09a - 0xf0b3 + - t: "doble traç" + - spell: "translate('.', '', 'abcdefghijklmnopqrstuvwxyz')" + - "𝟘-𝟡": # 0x1d7d8 - 0x1d7e1 + - t: "doble traç" + - spell: "translate('.', '𝟘𝟙𝟚𝟛𝟜𝟝𝟞𝟟𝟠𝟡', '0123456789')" + - "-": # 0xf0c0 - 0xf0c9 + - t: "doble traç" + - spell: "translate('.', '', '0123456789')" + + - "": [t: "doble traç nabla"] # 0xf0ca + - "": [t: "doble traç euler constant"] # 0xf0cb + + # script chars in math alphabetic block and also MathType private use area + - "𝒜-𝒵": # 0x1d49c - 0x1d4b5 + - t: "cal·ligràfica" + - spell: "translate('.', '𝒜𝒝𝒞𝒟𝒠𝒡𝒢𝒣𝒤𝒥𝒦𝒧𝒨𝒩𝒪𝒫𝒬𝒭𝒮𝒯𝒰𝒱𝒲𝒳𝒴𝒵', 'ABCDEFGHIJKLMNOPQRSTUVWXYZ')" + + - "-": # 0xf100 - 0xf119 + - t: "cal·ligràfica" + - spell: "translate('.', '', 'ABCDEFGHIJKLMNOPQRSTUVWXYZ')" + + - "𝒶-𝓏": # 0x1d4b6 - 0x1d4cf + - t: "cal·ligràfica" + - spell: "translate('.', '𝒶𝒷𝒸𝒹𝒺𝒻𝒼𝒽𝒾𝒿𝓀𝓁𝓂𝓃𝓄𝓅𝓆𝓇𝓈𝓉𝓊𝓋𝓌𝓍𝓎𝓏', 'abcdefghijklmnopqrstuvwxyz')" + - "-": # 0xf11a - 0xf133 + - t: "cal·ligràfica" + - spell: "translate('.', '', 'abcdefghijklmnopqrstuvwxyz')" + + # bold script chars in math alphabetic block and also MathType private use area + - "𝓐-𝓩": # 0x1d4d0 - 0x1d4e9 + - t: "cal·ligràfica" + - test: + if: "not($IgnoreBold)" + then: [t: "negreta"] + - spell: "translate('.', '𝓐𝓑𝓒𝓓𝓔𝓕𝓖𝓗𝓘𝓙𝓚𝓛𝓜𝓝𝓞𝓟𝓠𝓡𝓢𝓣𝓤𝓥𝓦𝓧𝓨𝓩', 'ABCDEFGHIJKLMNOPQRSTUVWXYZ')" + + - "-": # 0xf140 - 0xf159 + - t: "cal·ligràfica" + - test: + if: "not($IgnoreBold)" + then: [t: "negreta"] + - spell: "translate('.', '', 'ABCDEFGHIJKLMNOPQRSTUVWXYZ')" + + - "𝓪-𝔃": # 0x1d4ea - 0x1d503 + - t: "cal·ligràfica" + - test: + if: "not($IgnoreBold)" + then: [t: "negreta"] + - spell: "translate('.', '𝓪𝓫𝓬𝓭𝓮𝓯𝓰𝓱𝓲𝓳𝓴𝓵𝓶𝓷𝓸𝓹𝓺𝓻𝓼𝓽𝓾𝓿𝔀𝔁𝔂𝔃', 'abcdefghijklmnopqrstuvwxyz')" + - "-": # 0xf15a - 0xf173 + - t: "cal·ligràfica" + - test: + if: "not($IgnoreBold)" + then: [t: "negreta"] + - spell: "translate('.', '', 'abcdefghijklmnopqrstuvwxyz')" + + - "-": # 0xf180 - 0xf199 + - spell: "translate('.', '', 'ABCDEFGHIJKLMNOPQRSTUVWXYZ')" + + - "": # 0xf19a + - test: + if: "$CapitalLetters_Beep" + then: + - audio: + value: "beep.mp4" + replace: [] + - test: + if: "$CapitalLetters_UseWord" + then_test: + if: "$SpeechOverrides_CapitalLetters = ''" + then_test: + if: "$Impairment = 'Blindness'" + then: [t: "majúscula"] + else: [x: "$SpeechOverrides_CapitalLetters"] + - pitch: + value: "$CapitalLetters_Pitch" + replace: [t: "lligadura ae"] + - "": # 0xf19b + - test: + if: "$CapitalLetters_Beep" + then: + - audio: + value: "beep.mp4" + replace: [] + - test: + if: "$CapitalLetters_UseWord" + then_test: + if: "$SpeechOverrides_CapitalLetters = ''" + then_test: + if: "$Impairment = 'Blindness'" + then: [t: "majúscula"] + else: [x: "$SpeechOverrides_CapitalLetters"] + - pitch: + value: "$CapitalLetters_Pitch" + replace: [t: "essa sostinguda"] + - "": # 0xf19c + - test: + if: "$CapitalLetters_Beep" + then: + - audio: + value: "beep.mp4" + replace: [] + - test: + if: "$CapitalLetters_UseWord" + then_test: + if: "$SpeechOverrides_CapitalLetters = ''" + then_test: + if: "$Impairment = 'Blindness'" + then: [t: "majúscula"] + else: [x: "$SpeechOverrides_CapitalLetters"] + - pitch: + value: "$CapitalLetters_Pitch" + replace: [t: "o amb traç"] + + # MathType only has a few of the cap Greek letters in PUA + - "": # 0xf201 - 0xf209 + - t: "doble traç" + - spell: "translate('.', '', 'ΔΨΛΠΣΘΓΩΥ')" + + - "-": # 0xf220 - 0xf236 + - t: "doble traç" + - spell: "translate('.', '', 'ΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡ΢ΣΤΥΦΧΨΩ')" + + - "": [t: "doble traç final sigma"] # 0xf237 + - "": [t: "doble traç rho"] # 0xf250 + - "": [t: "doble traç phi"] # 0xf251 + - "𝐀-𝐙": # 0x1d400 - 0x1d419 + - test: + if: "not($IgnoreBold)" + then: [t: "negreta"] + - spell: "translate('.', '𝐀𝐁𝐂𝐃𝐄𝐅𝐆𝐇𝐈𝐉𝐊𝐋𝐌𝐍𝐎𝐏𝐐𝐑𝐒𝐓𝐔𝐕𝐖𝐗𝐘𝐙', 'ABCDEFGHIJKLMNOPQRSTUVWXYZ')" + + - "-": # 0xf260 - 0xf279 + - test: + if: "not($IgnoreBold)" + then: [t: "negreta"] + - spell: "translate('.', '', 'ABCDEFGHIJKLMNOPQRSTUVWXYZ')" + + - "𝐚-𝐳": # 0x1d41a - 0x1d433 + - test: + if: "not($IgnoreBold)" + then: [t: "negreta"] + - spell: "translate('.', '𝐚𝐛𝐜𝐝𝐞𝐟𝐠𝐡𝐢𝐣𝐤𝐥𝐦𝐧𝐨𝐩𝐪𝐫𝐬𝐭𝐮𝐯𝐰𝐱𝐲𝐳', 'abcdefghijklmnopqrstuvwxyz')" + + - "-": # 0xf27a - 0xf293 + - test: + if: "not($IgnoreBold)" + then: [t: "negreta"] + - spell: "translate('.', '', 'abcdefghijklmnopqrstuvwxyz')" + + - "𝐴-𝑍": # 0x1d434 - 0x1d44d + - spell: "translate('.', '𝐴𝐵𝐶𝐷𝐸𝐹𝐺𝐻𝐼𝐽𝐾𝐿𝑀𝑁𝑂𝑃𝑄𝑅𝑆𝑇𝑈𝑉𝑊𝑋𝑌𝑍', 'ABCDEFGHIJKLMNOPQRSTUVWXYZ')" + + - "-": # 0xf294 - 0xf2ad + - spell: "translate('.', '', 'ABCDEFGHIJKLMNOPQRSTUVWXYZ')" + + - "𝑎-𝑧": # 0x1d44e - 0x1d467 + - spell: "translate('.', '𝑎𝑏𝑐𝑑𝑒𝑓𝑔𝑕𝑖𝑗𝑘𝑙𝑚𝑛𝑜𝑝𝑞𝑟𝑠𝑡𝑢𝑣𝑤𝑥𝑦𝑧', 'abcdefghijklmnopqrstuvwxyz')" + + - "-": # 0xf2ae - 0xf2c7 + - spell: "translate('.', '', 'abcdefghijklmnopqrstuvwxyz')" + + - "𝑨-𝒁": # 0x1d468 - 0x1d481 + # - t: "negreta cursiva" + - test: + if: "not($IgnoreBold)" + then: [t: "negreta"] + - spell: "translate('.', '𝑨𝑩𝑪𝑫𝑬𝑭𝑮𝑯𝑰𝑱𝑲𝑳𝑴𝑵𝑶𝑷𝑸𝑹𝑺𝑻𝑼𝑽𝑾𝑿𝒀𝒁', 'ABCDEFGHIJKLMNOPQRSTUVWXYZ')" + + - "-": # 0xf2c8 - 0xf2e1 + # - t: "negreta cursiva" + - test: + if: "not($IgnoreBold)" + then: [t: "negreta"] + - spell: "translate('.', '', 'ABCDEFGHIJKLMNOPQRSTUVWXYZ')" + + - "𝒂-𝒛": # 0x1d482 - 0x1d49b + # - t: "negreta cursiva" + - test: + if: "not($IgnoreBold)" + then: [t: "negreta"] + - spell: "translate('.', '𝒂𝒃𝒄𝒅𝒆𝒇𝒈𝒉𝒊𝒋𝒌𝒍𝒎𝒏𝒐𝒑𝒒𝒓𝒔𝒕𝒖𝒗𝒘𝒙𝒚𝒛', 'abcdefghijklmnopqrstuvwxyz')" + + - "-": # 0xf2e2 - 0xf2fb + # - t: "negreta cursiva" + - test: + if: "not($IgnoreBold)" + then: [t: "negreta"] + - spell: "translate('.', '', 'abcdefghijklmnopqrstuvwxyz')" + + - "𝖠-𝖹": # 0x1d5a0 - 0x1d5b9 + - spell: "translate('.', '𝖠𝖡𝖢𝖣𝖤𝖥𝖦𝖧𝖨𝖩𝖪𝖫𝖬𝖭𝖮𝖯𝖰𝖱𝖲𝖳𝖴𝖵𝖶𝖷𝖸𝖹', 'ABCDEFGHIJKLMNOPQRSTUVWXYZ')" + + - "-": # 0xf300 - 0xf319 + - spell: "translate('.', '', 'ABCDEFGHIJKLMNOPQRSTUVWXYZ')" + + - "𝖺-𝗓": # 0x1d5ba - 0x1d5d3 + - spell: "translate('.', '𝖺𝖻𝖼𝖽𝖾𝖿𝗀𝗁𝗂𝗃𝗄𝗅𝗆𝗇𝗈𝗉𝗊𝗋𝗌𝗍𝗎𝗏𝗐𝗑𝗒𝗓', 'abcdefghijklmnopqrstuvwxyz')" + + - "-": # 0xf31a - 0xf333 + - spell: "translate('.', '', 'abcdefghijklmnopqrstuvwxyz')" + + - "𝗔-𝗭": # 0x1d5d4 - 0x1d5ed + - test: + if: "not($IgnoreBold)" + then: [t: "negreta"] + - spell: "translate('.', '𝗔𝗕𝗖𝗗𝗘𝗙𝗚𝗛𝗜𝗝𝗞𝗟𝗠𝗡𝗢𝗣𝗤𝗥𝗦𝗧𝗨𝗩𝗪𝗫𝗬𝗭', 'ABCDEFGHIJKLMNOPQRSTUVWXYZ')" + + - "-": # 0xf334 - 0xf34d + - test: + if: "not($IgnoreBold)" + then: [t: "negreta"] + - spell: "translate('.', '', 'ABCDEFGHIJKLMNOPQRSTUVWXYZ')" + + - "𝗮-𝘇": # 0x1d5ee - 0x1d607 + - test: + if: "not($IgnoreBold)" + then: [t: "negreta"] + - spell: "translate('.', '𝗮𝗯𝗰𝗱𝗲𝗳𝗴𝗵𝗶𝗷𝗸𝗹𝗺𝗻𝗼𝗽𝗾𝗿𝘀𝘁𝘂𝘃𝘄𝘅𝘆𝘇', 'abcdefghijklmnopqrstuvwxyz')" + + - "-": # 0xf34e - 0xf367 + - test: + if: "not($IgnoreBold)" + then: [t: "negreta"] + - spell: "translate('.', '', 'abcdefghijklmnopqrstuvwxyz')" + - "𝘈-𝘡": # 0x1d608 - 0x1d621 + # - t: "cursiva" + - spell: "translate('.', '𝘈𝘉𝘊𝘋𝘌𝘍𝘎𝘏𝘐𝘑𝘒𝘓𝘔𝘕𝘖𝘗𝘘𝘙𝘚𝘛𝘜𝘝𝘞𝘟𝘠𝘡', 'ABCDEFGHIJKLMNOPQRSTUVWXYZ')" + - "-": # 0xf368 - 0xf381 + # - t: "cursiva" + - spell: "translate('.', '', 'ABCDEFGHIJKLMNOPQRSTUVWXYZ')" + + - "𝘢-𝘻": # 0x1d622 - 0x1d63b + # - t: "cursiva" + - spell: "translate('.', '𝘢𝘣𝘤𝘥𝘦𝘧𝘨𝘩𝘪𝘫𝘬𝘭𝘮𝘯𝘰𝘱𝘲𝘳𝘴𝘵𝘶𝘷𝘸𝘹𝘺𝘻', 'abcdefghijklmnopqrstuvwxyz')" + + - "-": # 0xf382 - 0xf39b + # - t: "cursiva" + - spell: "translate('.', '', 'abcdefghijklmnopqrstuvwxyz')" + + - "𝘼-𝙕": # 0x1d63c - 0x1d655 + # - t: "negreta cursiva" + - test: + if: "not($IgnoreBold)" + then: [t: "negreta"] + - spell: "translate('.', '𝘼𝘽𝘾𝘿𝙀𝙁𝙂𝙃𝙄𝙅𝙆𝙇𝙈𝙉𝙊𝙋𝙌𝙍𝙎𝙏𝙐𝙑𝙒𝙓𝙔𝙕', 'ABCDEFGHIJKLMNOPQRSTUVWXYZ')" + + - "-": # 0xf39c - 0xf3b5 + # - t: "negreta cursiva" + - test: + if: "not($IgnoreBold)" + then: [t: "negreta"] + - spell: "translate('.', '', 'ABCDEFGHIJKLMNOPQRSTUVWXYZ')" + + - "𝙖-𝙯": # 0x1d656 - 0x1d66f + # - t: "negreta cursiva" + - test: + if: "not($IgnoreBold)" + then: [t: "negreta"] + - spell: "translate('.', '𝙖𝙗𝙘𝙙𝙚𝙛𝙜𝙝𝙞𝙟𝙠𝙡𝙢𝙣𝙤𝙥𝙦𝙧𝙨𝙩𝙪𝙫𝙬𝙭𝙮𝙯', 'abcdefghijklmnopqrstuvwxyz')" + + - "-": # 0xf3b6 - 0xf3cf + # - t: "negreta cursiva" + - test: + if: "not($IgnoreBold)" + then: [t: "negreta"] + - spell: "translate('.', '', 'abcdefghijklmnopqrstuvwxyz')" + + - "𝙰-𝚉": # 0x1d670 - 0x1d689 + - spell: "translate('.', '𝙰𝙱𝙲𝙳𝙴𝙵𝙶𝙷𝙸𝙹𝙺𝙻𝙼𝙽𝙾𝙿𝚀𝚁𝚂𝚃𝚄𝚅𝚆𝚇𝚈𝚉', 'ABCDEFGHIJKLMNOPQRSTUVWXYZ')" + + - "-": # 0xf3d0 - 0xf3e9 + - spell: "translate('.', '', 'ABCDEFGHIJKLMNOPQRSTUVWXYZ')" + + - "𝚊-𝚣": # 0x1d68a - 0x1d6a3 + - spell: "translate('.', '𝚊𝚋𝚌𝚍𝚎𝚏𝚐𝚑𝚒𝚓𝚔𝚕𝚖𝚗𝚘𝚙𝚚𝚛𝚜𝚝𝚞𝚟𝚠𝚡𝚢𝚣', 'abcdefghijklmnopqrstuvwxyz')" + + - "-": # 0xf3ea - 0xf403 + - spell: "translate('.', '', 'abcdefghijklmnopqrstuvwxyz')" + + - "": [t: "sense punt i"] # 0xf404 + - "𝚤": [t: "sense punt i"] # 0x1d6a4 + - "𝚥": [t: "sense punt j"] # 0x1d6a5 + + - "𝚨-𝛀": # 0x1d6a8 - 0x1d6c0 + - test: + if: "not($IgnoreBold)" + then: [t: "negreta"] + - spell: "translate('.', '𝚨𝚩𝚪𝚫𝚬𝚭𝚮𝚯𝚰𝚱𝚲𝚳𝚴𝚵𝚶𝚷𝚸𝚹𝚺𝚻𝚼𝚽𝚾𝚿𝛀', 'ΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡ΢ΣΤΥΦΧΨΩ')" + + - "-": # 0xf408 - 0xf420 + - test: + if: "not($IgnoreBold)" + then: [t: "negreta"] + - spell: "translate('.', '', 'ΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡ΢ΣΤΥΦΧΨΩ')" + + - "𝛂-𝛚": # 0x1d6c2 - 0x1d6da + - test: + if: "not($IgnoreBold)" + then: [t: "negreta"] + - spell: "translate('.', '𝛂𝛃𝛄𝛅𝛆𝛇𝛈𝛉𝛊𝛋𝛌𝛍𝛎𝛏𝛐𝛑𝛒𝛓𝛔𝛕𝛖𝛗𝛘𝛙𝛚', 'αβγδεζηθικλμνξοπρςστυφχψω')" + + - "-": # 0xf422 - 0xf43a + - test: + if: "not($IgnoreBold)" + then: [t: "negreta"] + - spell: "translate('.', '', 'αβγδεζηθικλμνξοπρςστυφχψω')" + + - "": [t: "negreta nabla"] # 0xf421 + - "𝛁": [t: "negreta nabla"] # 0x1d6c1 + + - "𝛛𝛜𝛝𝛞𝛟𝛠𝛡": # 0x1D6DB - 0x1D6E1 + - test: + if: "not($IgnoreBold)" + then: [t: "negreta"] + - spell: "translate('.', '𝛛𝛜𝛝𝛞𝛟𝛠𝛡', '∂εθκφρπ')" + + - "": # 0xF43C - 0xF441 + - test: + if: "not($IgnoreBold)" + then: [t: "negreta"] + - spell: "translate('.', '', '∂εθκφρπ')" + + - "𝛢-𝛺": # 0x1d6e2 - 0x1d6fa + # - t: "cursiva" + - spell: "translate('.', '𝛢𝛣𝛤𝛥𝛦𝛧𝛨𝛩𝛪𝛫𝛬𝛭𝛮𝛯𝛰𝛱𝛲𝛳𝛴𝛵𝛶𝛷𝛸𝛹𝛺', 'ΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡ΢ΣΤΥΦΧΨΩ')" + + - "-": # 0xf442 - 0xf45a + # - t: "cursiva" + - spell: "translate('.', '', 'ΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡ΢ΣΤΥΦΧΨΩ')" + + - "𝛼-𝜔": # 0x1d6fc - 0x1d714 + # - t: "cursiva" + - spell: "translate('.', '𝛼𝛽𝛾𝛿𝜀𝜁𝜂𝜃𝜄𝜅𝜆𝜇𝜈𝜉𝜊𝜋𝜌𝜍𝜎𝜏𝜐𝜑𝜒𝜓𝜔', 'αβγδεζηθικλμνξοπρςστυφχψω')" + + - "-": # 0xf45c - 0xf474 + # - t: "cursiva" + - spell: "translate('.', '', 'αβγδεζηθικλμνξοπρςστυφχψω')" + + - "": [t: "cursiva nabla"] # 0xf45b + - "𝛻": [t: "cursiva nabla"] # 0x1d6fb + + - "𝜕𝜖𝜗𝜘𝜙𝜚𝜛": # 0x1d715 - 0x1d71b + # - t: "cursiva" + - spell: "translate('.', '𝜕𝜖𝜗𝜘𝜙𝜚𝜛', '∂εθκφρπ')" + + - "": # 0xf475 - 0xf47b + # - t: "cursiva" + - spell: "translate('.', '', '∂εθκφρπ')" + + - "𝜜-𝜴": # 0x1d71c - 0x1d734 + # - t: "negreta cursiva" + - test: + if: "not($IgnoreBold)" + then: [t: "negreta"] + - spell: "translate('.', '𝜜𝜝𝜞𝜟𝜠𝜡𝜢𝜣𝜤𝜥𝜦𝜧𝜨𝜩𝜪𝜫𝜬𝜭𝜮𝜯𝜰𝜱𝜲𝜳𝜴', 'ΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡ΢ΣΤΥΦΧΨΩ')" + + - "-": # 0xf47c - 0xf494 + # - t: "negreta cursiva" + - test: + if: "not($IgnoreBold)" + then: [t: "negreta"] + - spell: "translate('.', '', 'ΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡ΢ΣΤΥΦΧΨΩ')" + + - "𝜶-𝝎": # 0x1d736 - 0x1d74e + # - t: "negreta cursiva" + - test: + if: "not($IgnoreBold)" + then: [t: "negreta"] + - spell: "translate('.', '𝜶𝜷𝜸𝜹𝜺𝜻𝜼𝜽𝜾𝜿𝝀𝝁𝝂𝝃𝝄𝝅𝝆𝝇𝝈𝝉𝝊𝝋𝝌𝝍𝝎', 'αβγδεζηθικλμνξοπρςστυφχψω')" + + - "-": # 0xf496 - 0xf4ae + # - t: "negreta cursiva" + - test: + if: "not($IgnoreBold)" + then: [t: "negreta"] + - spell: "translate('.', '', 'αβγδεζηθικλμνξοπρςστυφχψω')" + + - "𝝏𝝐𝝑𝝒𝝓𝝔𝝕": # 0x1d74f - 0x1d755 + # - t: "negreta cursiva" + - test: + if: "not($IgnoreBold)" + then: [t: "negreta"] + - spell: "translate('.', '𝝏𝝐𝝑𝝒𝝓𝝔𝝕', '∂εθκφρπ')" + + - "": # 0xf422 - 0xf43a + # - t: "negreta cursiva" + - test: + if: "not($IgnoreBold)" + then: [t: "negreta"] + - spell: "translate('.', '', '∂εθκφρπ')" + + - "𝜵": [t: "negreta cursiva nabla"] # 0x1d735 + - "": [t: "negreta cursiva nabla"] # 0xf495 + + - "𝝖-𝝮": # 0x1d756 - 0x1d76e + - test: + if: "not($IgnoreBold)" + then: [t: "negreta"] + - spell: "translate('.', '𝝖𝝗𝝘𝝙𝝚𝝛𝝜𝝝𝝞𝝟𝝠𝝡𝝢𝝣𝝤𝝥𝝦𝝧𝝨𝝩𝝪𝝫𝝬𝝭𝝮', 'ΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡ΢ΣΤΥΦΧΨΩ')" + - "-": # 0xf4b6 - 0xf4ce + - test: + if: "not($IgnoreBold)" + then: [t: "negreta"] + - spell: "translate('.', '', 'ΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡ΢ΣΤΥΦΧΨΩ')" + + - "𝝰-𝞈": # 0x1d770 - 0x1d788 + - test: + if: "not($IgnoreBold)" + then: [t: "negreta"] + - spell: "translate('.', '𝝰𝝱𝝲𝝳𝝴𝝵𝝶𝝷𝝸𝝹𝝺𝝻𝝼𝝽𝝾𝝿𝞀𝞁𝞂𝞃𝞄𝞅𝞆𝞇𝞈', 'αβγδεζηθικλμνξοπρςστυφχψω')" + + - "-": # 0xf4d0 - 0xf4e8 + - test: + if: "not($IgnoreBold)" + then: [t: "negreta"] + - spell: "translate('.', '', 'αβγδεζηθικλμνξοπρςστυφχψω')" + + - "𝞉𝞊𝞋𝞌𝞍𝞎𝞏": # 0x1d789 - 0x1d78f + - test: + if: "not($IgnoreBold)" + then: [t: "negreta"] + - spell: "translate('.', '𝞉𝞊𝞋𝞌𝞍𝞎𝞏', '∂εθκφρπ')" + + - "": # 0xf4e9 - 0xf4ef + - test: + if: "not($IgnoreBold)" + then: [t: "negreta"] + - spell: "translate('.', '', '∂εθκφρπ')" + + - "": [t: "negreta nabla"] # 0xf4cf + - "𝝯": [t: "negreta nabla"] # 0x1d76f + + - "𝞐-𝞨": # 0x1d790 - 0x1d7a8 + # - t: "negreta cursiva" + - test: + if: "not($IgnoreBold)" + then: [t: "negreta"] + - spell: "translate('.', '𝞐𝞑𝞒𝞓𝞔𝞕𝞖𝞗𝞘𝞙𝞚𝞛𝞜𝞝𝞞𝞟𝞠𝞡𝞢𝞣𝞤𝞥𝞦𝞧𝞨', 'ΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡ΢ΣΤΥΦΧΨΩ')" + + - "-": # 0xf4f0 - 0xf508 + # - t: "negreta cursiva" + - test: + if: "not($IgnoreBold)" + then: [t: "negreta"] + - spell: "translate('.', '', 'ΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡ΢ΣΤΥΦΧΨΩ')" + + - "𝞪-𝟂": # 0x1d7aa - 0x1d7c2 + # - t: "negreta cursiva" + - test: + if: "not($IgnoreBold)" + then: [t: "negreta"] + - spell: "translate('.', '𝞪𝞫𝞬𝞭𝞮𝞯𝞰𝞱𝞲𝞳𝞴𝞵𝞶𝞷𝞸𝞹𝞺𝞻𝞼𝞽𝞾𝞿𝟀𝟁𝟂', 'αβγδεζηθικλμνξοπρςστυφχψω')" + + - "-": # 0xf50a - 0xf522 + # - t: "negreta cursiva" + - test: + if: "not($IgnoreBold)" + then: [t: "negreta"] + - spell: "translate('.', '', 'αβγδεζηθικλμνξοπρςστυφχψω')" + + - "𝟃𝟄𝟅𝟆𝟇𝟈𝟉": # 0x1d7c3 - 0x1d7c9 + # - t: "negreta cursiva" + - test: + if: "not($IgnoreBold)" + then: [t: "negreta"] + - spell: "translate('.', '𝟃𝟄𝟅𝟆𝟇𝟈𝟉', '∂εθκφρπ')" + + - "": # 0xf523 - 0xf529 + # - t: "negreta cursiva" + - test: + if: "not($IgnoreBold)" + then: [t: "negreta"] + - spell: "translate('.', '', '∂εθκφρπ')" + + - "": [t: "negreta nabla"] # 0xf509 + - "𝞩": [t: "negreta nabla"] # 0x1d7a9 + + - "-": # 0xf52e - 0xf537 (old MathType) + - test: + if: "not($IgnoreBold)" + then: [t: "negreta"] + - spell: "translate('.', '', '0123456789')" + + - "𝟎-𝟗": # 0x1d7ce - 0x1d7d7 + - test: + if: "not($IgnoreBold)" + then: [t: "negreta"] + - spell: "translate('.', '𝟎𝟏𝟐𝟑𝟒𝟓𝟔𝟕𝟖𝟗', '0123456789')" + + - "𝟬-𝟵": # 0x1D7EC - 0x1D7F5 + - test: + if: "not($IgnoreBold)" + then: [t: "negreta"] + - spell: "translate('.', '𝟬𝟭𝟮𝟯𝟰𝟱𝟲𝟳𝟴𝟵', '0123456789')" + + - "-": # 0xf556 - 0xf55f (old MathType) + - spell: "translate('.', '', '0123456789')" + + - "𝟢-𝟫": # 0x1d7e2 - 0x1d7eb + - spell: "translate('.', '𝟢𝟣𝟤𝟥𝟦𝟧𝟨𝟩𝟪𝟫', '0123456789')" + + + - "𝟶-𝟿": # 0x1d7f6 - 0x1d7ff + - spell: "translate('.', '𝟶𝟷𝟸𝟹𝟺𝟻𝟼𝟽𝟾𝟿', '0123456789')" + + + - "": [t: "caràcter desconegut"] # 0xf700 + - "": [t: "triangles inferior dret i inferior esquerre"] # 0xf726 + - "": [t: "horitzontal punts suspensius extensor"] # 0xf72d + - "": [t: "extensor de punts suspensius horitzontals a mitja alçada"] # 0xf72e + - "": [t: "radical extensor"] # 0xf8e5 + - "": [t: "vertical fletxa extensor"] # 0xf8e6 + - "": [t: "horitzontal fletxa extensor"] # 0xf8e7 + - "": [t: "signe de marca registrada sense serif"] # 0xf8e8 + - "": [t: "signe de drets d'autor sense serif"] # 0xf8e9 + - "": [t: "signe de marca comercial sense serif"] # 0xf8ea + - "": [t: "esquerre parèntesi superior"] # 0xf8eb + - "": [t: "esquerre parèntesi extensor"] # 0xf8ec + - "": [t: "esquerre parèntesi inferior"] # 0xf8ed + - "": [t: "claudàtor esquerre superior"] # 0xf8ee + - "": [t: "claudàtor esquerre extensor"] # 0xf8ef + - "": [t: "claudàtor esquerre inferior"] # 0xf8f0 + - "": [t: "clau esquerra superior"] # 0xf8f1 + - "": [t: "clau esquerra mitjà"] # 0xf8f2 + - "": [t: "clau esquerra inferior"] # 0xf8f3 + - "": [t: "clau extensor"] # 0xf8f4 + - "": [t: "integral extensor"] # 0xf8f5 + - "": [t: "dret parèntesi superior"] # 0xf8f6 + - "": [t: "dret parèntesi extensor"] # 0xf8f7 + - "": [t: "dret parèntesi inferior"] # 0xf8f8 + - "": [t: "claudàtor dret superior"] # 0xf8f9 + - "": [t: "claudàtor dret extensor"] # 0xf8fa + - "": [t: "claudàtor dret inferior"] # 0xf8fb + - "": [t: "clau dreta superior"] # 0xf8fc + - "": [t: "clau dreta mitjà"] # 0xf8fd + - "": [t: "clau dreta inferior"] # 0xf8fe + - "": [t: "logotip d'Apple"] # 0xf8ff + - "ff": [t: "ff"] # 0xfb00 + - "fi": [t: "fi"] # 0xfb01 + - "fl": [t: "fl"] # 0xfb02 + - "ffi": [t: "ffi"] # 0xfb03 + - "ffl": [t: "ffl"] # 0xfb04 + - "ſt": [t: "ft"] # 0xfb05 + - "st": [t: "st"] # 0xfb06 + - "﬩": [t: "lletra hebrea més alternativa"] # 0xfb29 + - "︠": [t: "lligadura esquerre mig ornament"] # 0xfe20 + - "︡": [t: "lligadura dret mig ornament"] # 0xfe21 + - "︢": [t: "doble titlla esquerre mig ornament"] # 0xfe22 + - "︣": [t: "doble titlla dret mig ornament"] # 0xfe23 + - "︤": [t: "màcron esquerre mig ornament"] # 0xfe24 + - "︥": [t: "màcron dret mig ornament"] # 0xfe25 + - "︦": [t: "ornament de màcron d'unió"] # 0xfe26 + - "︵": [t: "sobre parèntesi"] # 0xfe35 + - "︶": [t: "sota parèntesi"] # 0xfe36 + - "︷": [t: "sobre clau"] # 0xfe37 + - "︸": [t: "sota clau"] # 0xfe38 + - "︿": [t: "sobre angle claudàtor"] # 0xfe3f + - "﹀": [t: "sota angle claudàtor"] # 0xfe40 + - "﹡": [t: "petit asterisc"] # 0xfe61 + - "﹢": [t: "petit més"] # 0xfe62 + - "﹣": [t: "petit menys"] # 0xfe63 + - "﹤": [t: "petit menor que"] # 0xfe64 + - "﹥": [t: "petit major que"] # 0xfe65 + - "﹦": [t: "petit igual"] # 0xfe66 + - "+": [t: "signe més d'amplada completa"] # 0xff0b + - "<": [t: "menor que"] # 0xff1c + - "=": [t: "igual"] # 0xff1d + - ">": [t: "major que"] # 0xff1e + - "\": [t: "barra inversa"] # 0xff3c + - "^": [t: "circumflex"] # 0xff3e + - "|": # 0xff5c + # note: for ClearSpeak and SimpleSpeak, "|" inside of sets is handled at the mrow level, same for 'sets' + - with: + variables: [DefaultToGiven: "count(preceding-sibling::*)=1 and count(following-sibling::*)=1 and ../../../*[1][.='P']"] # P(A|B) + replace: + - test: + - if: "$SpeechStyle != 'ClearSpeak'" + then_test: + if: "$DefaultToGiven" + then: [t: "donat"] + else: [t: "línia vertical"] + - else_if: "not(preceding-sibling::*) or not(following-sibling::*)" + then: [t: "línia vertical"] + - else_if: "$ClearSpeak_VerticalLine = 'SuchThat'" + then: [t: "tal que"] + - else_if: "$ClearSpeak_VerticalLine = 'Given' or $DefaultToGiven" + then: [t: "donat"] + - else: [t: "divideix"] + - "~": [t: "titlla"] # 0xff5e + - "¬": [t: "no"] # 0xffe2 + - "←": [t: "fletxa esquerra"] # 0xffe9 + - "↑": [t: "fletxa amunt"] # 0xffea + - "→": [t: "fletxa dreta"] # 0xffeb + - "↓": [t: "fletxa avall"] # 0xffec + - "": [t: "objecte desconegut o absent"] # 0xfffc + - "�": [t: "caràcter desconegut o absent"] # 0xfffd + + - "🣑": [t: "està en equilibri amb"] # 0x1F8D1 + - "🣒": [t: "està en equilibri esbiaixat cap a la dreta amb"] # 0x1F8D2 + - "🣓": [t: "està en equilibri esbiaixat cap a l'esquerra amb"] # 0x1F8D3 + +# MathJax v4 has adopted these PUA values for some partial chem bonds that aren't in Unicode + - "\uE410": [t: "parcial enllaç "] # 0xe410 + - "\uE411": [t: "doble parcial enllaç "] # 0xe411 + - "\uE412": [t: "triple parcial enllaç "] # 0xe412 + +# MathJax v4 also adopted these PUA values for some arrows thar are in Unicode +# Hopefully these will be exported properly in future versions of MathJax + - "\uE428": [spell: "'⟵'"] # 0xe428 defer to def of arrow + - "\uE429": [spell: "'⟶'"] # 0xe429 defer to def of arrow + - "\uE42A": [spell: "'⟷'"] # 0xe42a defer to def of arrow + - "\uE408": [spell: "'🣑'"] # 0xe408 defer to def of arrow + - "\uE409": [spell: "'🣒'"] # 0xe409 defer to def of arrow + - "\uE40A": [spell: "'🣓'"] # 0xe40a defer to def of arrow + - "\uE42B": [spell: "'⇄'"] # 0xe42b defer to def of arrow + - "\uE42C": [spell: "'←'"] # 0xe42c defer to def of arrow + - "\uE42D": [spell: "'→'"] # 0xe42d defer to def of arrow + - "\uE42E": [spell: "'⇄'"] # 0xe42e defer to def of arrow diff --git a/Rules/Languages/ca/unicode.yaml b/Rules/Languages/ca/unicode.yaml new file mode 100644 index 000000000..6189dfa5a --- /dev/null +++ b/Rules/Languages/ca/unicode.yaml @@ -0,0 +1,534 @@ +--- + # Note to translators: + # most languages don't have two ways to pronounce 'a' -- if not need, remove the rules and change "B-Z" to "A-Z" + # some languages say the word for "uppercase" after the letter. Make sure to change that where appropriate by moving some code around + - "a": + - test: + if: "$TTS='none'" + then: [t: "a"] # long "a" sound in all speech engines I tested (espeak, MS SAPI, eloquence, (en: 'eigh', DeepL translation) + else: [spell: "'a'"] # AWS Polly, ReadSpeaker, NaturalReader, google cloud, nuance, ibm watson) + - "b-z": + - test: + if: "$TTS='none'" + then: [t: "."] # (en: '.', DeepL translation) + else: [spell: "'.'"] + + # Capital letters are a little tricky: users can pick their favorite word (something that was requested) and + # screen readers have options to use pitch changes or beeps instead of or in addition to say "cap" + # Also, if a user can see the screen, they probably don't need to hear "cap", but if they specified an override, they must want to hear the override. + + - "A": + - test: + if: "$CapitalLetters_Beep" + then: + - audio: + value: "beep.mp4" + replace: [] + - test: + if: "$CapitalLetters_UseWord" + then_test: + if: "$SpeechOverrides_CapitalLetters = ''" + then_test: + if: "$Impairment = 'Blindness'" + then: [t: "majúscula"] # (en: 'cap', DeepL translation) + else: [x: "$SpeechOverrides_CapitalLetters"] + - pitch: + value: "$CapitalLetters_Pitch" + replace: + - test: + if: "$TTS='none'" + then: [t: "A"] # (en: 'eigh', DeepL translation) + else: [spell: "'a'"] + + - "B-Z": + - test: + if: "$CapitalLetters_Beep" + then: + - audio: + value: "beep.mp4" + replace: [] + - test: + if: "$CapitalLetters_UseWord" + then_test: + if: "$SpeechOverrides_CapitalLetters = ''" + then_test: + if: "$Impairment = 'Blindness'" + then: [t: "majúscula"] # (en: 'cap', DeepL translation) + else: [x: "$SpeechOverrides_CapitalLetters"] + - pitch: + value: "$CapitalLetters_Pitch" + # note: processing of ranges converts '.' into the character, so it needs to be in quotes below + replace: [spell: "translate('.', 'BCDEFGHIJKLMNOPQRSTUVWXYZ', 'bcdefghijklmnopqrstuvwxyz')"] + + - "0-9": [t: "."] # (en: '.', DeepL translation) + + - " ": [t: "espai"] # 0x20 (en: ' ', DeepL: ' ') + + - "!": # 0x21 + - test: + if: "ancestor-or-self::*[contains(@data-intent-property, ':literal:')]" + then_test: + if: "$Verbosity = 'Terse'" + then: [t: "punt d'exclamació"] # 0x21 (en: 'bang', DeepL translation) + else: [t: "factorial"] # 0x21 (en: 'exclamation point', DeepL: 'punt d'exclamació') + else: [t: "factorial"] # 0x21 (DeepL: 'fatorial') + + - "\"": [t: "cometes"] # 0x22 (en: 'quotation mark', DeepL: 'cometes') + - "#": [t: "coixinet"] # 0x23 (en: 'number', DeepL: 'número') + - "$": [t: "dòlar"] # 0x24 (en: 'dollars', DeepL: 'dòlars') + - "%": [t: "per cent"] # 0x25 (en: 'percent') + - "&": [t: "ampersand"] # 0x26 + - "'": [t: "apòstrof"] # 0x27 (en: 'apostrophe', DeepL: 'apòstrof') + - "(": # 0x28 + - test: + if: $SpeechStyle = 'ClearSpeak' or $SpeechStyle = 'SimpleSpeak' + then_test: + if: "$Verbosity='Terse'" + then: [t: "obert"] # 0x28 (en: 'open', DeepL translation) + else: [t: "parèntesi esquerre"] # 0x28 (en: 'open paren', DeepL: 'parèntesi obert') + else: [t: "parèntesi esquerre"] # 0x28 (en: 'left paren') + - ")": # 0x29 + - test: + if: $SpeechStyle = 'ClearSpeak' or $SpeechStyle = 'SimpleSpeak' + then_test: + if: "$Verbosity='Terse'" + then: [t: "tancat"] # 0x29 (en: 'close', DeepL translation) + else: [t: "parèntesi dret"] # 0x29 (en: 'close paren', DeepL: 'tancar parèntesi') + else: [t: "parèntesi dret"] # 0x29 (en: 'right paren', DeepL: 'parèntesi tancat') + + - "*": # 0x2a + test: + if: "parent::*[name(.)='msup' or name(.)='msubsup' or name(.)='skip-super']" + then: [t: "estrella"] # 0x2a (en: 'star', DeepL translation) + else: [t: "per"] # 0x2a (en: 'times', DeepL: 'vegades') + - "+": [t: "més"] # 0x2b (en: 'plus') + - ",": # 0x2c + # the following deals with the interaction of "," with "…" which sometimes wants the ',' to be silent + # that this test is here and not with "…" is not ideal, but seems simplest + test: + if: + - "$SpeechStyle != 'ClearSpeak' or $ClearSpeak_Ellipses = 'Auto' or " + # must be ClearSpeak and $ClearSpeak_Ellipses = 'AndSoOn' + # speak "comma" when not adjacent to '…' + - "( following-sibling::*[1][text()!= '…'] and preceding-sibling::*[1][text()!='…'] ) or " + # except if expression starts with '…' + - "../*[1][.='…'] " + then: + - t: "coma" # (en: 'comma', google translation) + - test: + if: "$Verbosity != Terse" + then: [pause: short] + # else silent + + - "-": [t: "menys"] # 0x2d (en: 'minus') + - ".": # 0x2e + - test: + if: "parent::*[1][self::m:mn]" + then: [t: "punt"] # (en: 'point', DeepL translation) + else: [t: "punt"] # (en: 'dot') + - "/": # 0x2f + - test: + if: "ancestor-or-self::*[contains(@data-intent-property, ':literal:')]" + then: [t: "barra"] # 0x2f (en: 'slash', DeepL translation) + else: [t: "dividit per"] # 0x2f (en: 'divided by', DeepL: 'dividit per') + + - ":": [t: "dos punts"] # 0x3a (en: 'colon') + - ";": [t: "punt i coma"] # 0x3b (en: 'semicolon') + - "<": # 0x3c + - test: + if: "$Verbosity!='Terse'" + then: [t: "és"] # (en: 'is', DeepL translation) + - t: "menor que" # (en: 'less than') + - "=": # 0x3d + - test: + if: "$Verbosity!='Terse'" + then: [t: "és igual a"] # (en: 'is equal to', DeepL translation) + else: [t: "igual"] # (en: 'equals') + + - ">": # 0x3e + - test: + if: "$Verbosity!='Terse'" + then: [t: "és"] # (en: 'is', DeepL translation) + - t: "major que" # (en: 'greater than', DeepL: 'major que') + - "?": [t: "signe d'interrogació"] # 0x3f (en: 'question mark', DeepL: 'punt d'interrogació') + - "@": [t: "arrova"] # 0x40 (en: 'at sign', DeepL: 'símbol de l'at a') + - "[": # 0x5b + - test: + if: $SpeechStyle = 'ClearSpeak' or $SpeechStyle = 'SimpleSpeak' + then: [t: "claudàtor obert"] # (en: 'open bracket', DeepL translation) + else: [t: "claudàtor esquerre"] # (en: 'left bracket', DeepL: 'parèntesi esquerre') + - "\\": [t: "barra inversa"] # 0x5c (en: 'back slash', DeepL: 'barra obliqua') + - "]": # 0x5d + - test: + if: $SpeechStyle = 'ClearSpeak' or $SpeechStyle = 'SimpleSpeak' + then: [t: "claudàtor tancat"] # (en: 'close bracket', DeepL translation) + else: [t: "claudàtor dret"] # (en: 'right bracket', DeepL: 'corès dret') + - "^": # 0x5e + - test: + if: "parent::m:modified-variable or parent::m:mover" + then: [t: "barret"] # (en: 'hat', DeepL translation) + else: [t: "circumflex"] # (en: 'caret', DeepL: 'caroneta') + - "_": [t: "subratllat"] # 0x5f (en: 'under bar', DeepL: 'barra inferior') + - "`": [t: "accent greu"] # 0x60 (en: 'grave') + - "{": # 0x7b + - test: + if: $SpeechStyle = 'ClearSpeak' or $SpeechStyle = 'SimpleSpeak' + then: [t: "clau oberta"] # (en: 'open brace', DeepL translation) + else: [t: "clau esquerra"] # (en: 'left brace', DeepL: 'claus obert') + - "|": # 0x7c + # note: for ClearSpeak and SimpleSpeak, "|" inside of sets is handled at the mrow level, same for 'sets' + - with: + variables: [DefaultToGiven: "count(preceding-sibling::*)=1 and count(following-sibling::*)=1 and ../../../*[1][.='P']"] # P(A|B) + replace: + - test: + - if: "ancestor-or-self::*[contains(@data-intent-property, ':literal:')]" + then: [t: "línia vertical"] # (en: 'vertical line', DeepL translation) + - else_if: "$SpeechStyle != 'ClearSpeak'" + then_test: + - if: "$DefaultToGiven" + then: [t: "donat"] # (en: 'given', DeepL translation) + - else_if: "preceding-sibling::*[1][self::m:mn and not(contains(., $DecimalSeparators))] and + following-sibling::*[1][self::m:mn and not(contains(., $DecimalSeparators))]" + then: [t: "dividix"] # (en: 'divides', DeepL translation) + else: [t: "barra vertical"] # (en: 'vertical line', DeepL: 'línia vertical') + - else_if: "not(preceding-sibling::*) or not(following-sibling::*)" + then: [t: "línia vertical"] # (en: 'vertical line', DeepL translation) + - else_if: "$ClearSpeak_VerticalLine = 'SuchThat'" + then: [t: "tal que"] # (en: 'such that', DeepL translation) + - else_if: "$ClearSpeak_VerticalLine = 'Given' or $DefaultToGiven" + then: [t: "donat"] # (en: 'given', DeepL translation) + - else: [t: "barra vertical"] # (en: 'divides', DeepL: 'dividix') + + - "}": # 0x7d + - test: + if: $SpeechStyle = 'ClearSpeak' or $SpeechStyle = 'SimpleSpeak' + then: [t: "clau tancada"] # (en: 'close brace', DeepL translation) + else: [t: "clau dreta"] # (en: 'right brace', DeepL: 'claus tancat') + + - "~": [t: "titlla"] # 0x7e (en: 'tilde', DeepL: 'tilde') + - " ": # 0xa0 + - test: + # could be mtext in mtd or mtext in an mrow that is a concatenation of mtd's. Is there a better solution? + if: "@data-empty-in-2D and not(ancestor::*[self::m:piecewise or self::m:system-of-equations or self::m:lines])" + then: [t: "buit"] # want to say something for fraction (etc) with empty child (en: 'empty', DeepL translation) + else: [t: ""] + + - "¬": [t: "negació"] # 0xac (en: 'not', DeepL: 'no') + - "°": [t: "grau"] # 0xb0 (en: 'degrees', DeepL: 'graus') + - "±": [t: "més o menys"] # 0xb1 (en: 'plus or minus', DeepL: 'més o menys') + - "´": [t: "accent agut"] # 0xb4 (en: 'acute', DeepL: 'agut') + - "·": # 0xB7 + - test: + if: "ancestor-or-self::*[contains(@data-intent-property, ':literal:')] or not($SpeechStyle = 'ClearSpeak' and $ClearSpeak_MultSymbolDot = 'Auto')" + then: [t: "punt"] # (en: 'dot', DeepL translation) + else: [t: "punt mitjà"] # (en: 'times', DeepL: 'vegades') + - "×": # 0xd7 + - test: + if: "$SpeechStyle = 'ClearSpeak'" + then_test: + - if: "$ClearSpeak_MultSymbolX = 'Auto'" + then: [t: "per"] # (en: 'times', DeepL translation) + - else_if: "$ClearSpeak_MultSymbolX = 'By'" + then: [t: "per"] # (en: 'by', DeepL translation) + else: [t: "per"] # (en: 'cross', DeepL: 'creu') + else_test: + if: "ancestor-or-self::*[contains(@data-intent-property, ':literal:')]" + then: [t: "creu"] # (en: 'cross', DeepL translation) + else: [t: "per"] # (en: 'times', DeepL: 'vegades') + + - "÷": [t: "dividit per"] # 0xf7 (en: 'divided by', DeepL: 'dividit per') + - "̀": [t: "adorn de l'accent greu"] # 0x300 (en: 'grave accent embellishment', DeepL translation) + - "́": [t: "accent agut"] # 0x301 (en: 'acute accent embellishment', DeepL translation) + - "̂": [t: "adorn de l'accent circumflex"] # 0x302 (en: 'circumflex accent embellishment', DeepL translation) + - "̃": [t: "adorn de tilde"] # 0x303 (en: 'tilde embellishment', DeepL translation) + - "̄": [t: "adorn macrònic"] # 0x304 (en: 'macron embellishment', DeepL translation) + - "̅": [t: "ornament de barra superior"] # 0x305 (en: 'overbar embellishment', DeepL translation) + - "̆": [t: "breu"] # 0x306 (en: 'breve', DeepL translation) + - "̇": [t: "adorn de punt superior"] # 0x307 (en: 'dot above embellishment', DeepL translation) + + # Note: ClearSpeak has pref TriangleSymbol for "Δ", but that is wrong + - "Α-Ω": + - test: + if: "$CapitalLetters_Beep" + then: + - audio: + value: "beep.mp4" + replace: [] + - test: + if: "$CapitalLetters_UseWord" + then_test: + if: "$SpeechOverrides_CapitalLetters = ''" + then_test: + if: "$Impairment = 'Blindness'" + then: [t: "majúscula"] # (en: 'cap', DeepL translation) + else: [x: "$SpeechOverrides_CapitalLetters"] + - pitch: + value: "$CapitalLetters_Pitch" + # note: processing of ranges converts '.' into the character, so it needs to be in quotes below + replace: [spell: "translate('.', 'ΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡ΢ΣΤΥΦΧΨΩ', 'αβγδεζηθικλμνξοπρςστυφχψω')"] + + - "α": [t: "alfa"] # 0x3b1 (en: 'alpha', DeepL translation) + - "β": [t: "beta"] # 0x3b2 (DeepL translation) + - "γ": [t: "gamma"] # 0x3b3 (DeepL translation) + - "δ": [t: "delta"] # 0x3b4 (DeepL translation) + - "ε": [t: "epsilon"] # 0x3b5 (DeepL translation) + - "ζ": [t: "zèta"] # 0x3b6 (en: 'zeta', DeepL translation) + - "η": [t: "eta"] # 0x3b7 (DeepL translation) + - "θ": [t: "theta"] # 0x3b8 (en: 'theta', DeepL translation) + - "ι": [t: "iota"] # 0x3b9 (DeepL translation) + - "κ": [t: "kappa"] # 0x3ba (DeepL translation) + - "λ": [t: "lambda"] # 0x3bb (DeepL translation) + - "μ": [t: "mu"] # 0x3bc (DeepL translation) + - "ν": [t: "nu"] # 0x3bd (DeepL translation) + - "ξ": [t: "ksi"] # 0x3be (DeepL translation) + - "ο": [t: "òmicron"] # 0x3bf (en: 'omicron', DeepL translation) + - "π": [t: "pi"] # 0x3c0 (DeepL translation) + - "ρ": [t: "rò"] # 0x3c1 (en: 'rho', DeepL translation) + - "ς": [t: "sigma final"] # 0x3c2 (en: 'final sigma', DeepL translation) + - "σ": [t: "sigma"] # 0x3c3 (DeepL translation) + - "τ": [t: "tau"] # 0x3c4 (DeepL translation) + - "υ": [t: "upsiló"] # 0x3c5 (en: 'upsilon', DeepL translation) + - "φ": [t: "fi"] # 0x3c6 (en: 'phi', DeepL translation) + - "χ": [t: "chi"] # 0x3c7 (DeepL translation) + - "ψ": [t: "psi"] # 0x3c8 (DeepL translation) + - "ω": [t: "omega"] # 0x3c9 (DeepL translation) + - "ϕ": [t: "fi"] # 0x3d5 (en: 'phi', DeepL translation) + - "ϖ": [t: "pi"] # 0x3d6 (DeepL translation) + - "ϵ": [t: "epsilon"] # 0x3f5 (DeepL translation) + - "϶": [t: "èpsilon invertit"] # 0x3f6 (en: 'reversed epsilon', DeepL: 'epsilon invertit') + + - "⁡": # 0x2061 + - test: + # skip saying "of" when Terse and a trig function, when it is a shape (does this happen?), or we are in :literal mode + if: "not( + ( $Verbosity='Terse' or ($SpeechStyle = 'ClearSpeak' and IsNode(following-sibling::*[1],'simple')) and + preceding-sibling::*[1][IfThenElse($SpeechStyle='ClearSpeak', + IsInDefinition(., 'ClearSpeakTrigFunctionNames'), + IsInDefinition(., 'TrigFunctionNames') )] + ) or + preceding-sibling::*[1][IsInDefinition(., 'GeometryShapes')] or + (@data-changed='added' and ancestor-or-self::*[contains(@data-intent-property, ':literal:')]) + )" + then: [t: "de"] # (en: 'of', DeepL translation) + - "⁢": [t: ""] # 0x2062 + - "⁣": [t: ""] # 0x2063 + - "⁤": [t: "i"] # 0x2064 (en: 'and', DeepL: 'i') + - "ℂℕℚℝℤ": # here we rely on this running through the table again to speak "cap xxx" + - t: "doble traç" # (en: 'double-struck', DeepL: 'doble traça') + - spell: "translate('.', 'ℂℕℚℝℤ', 'CNQRZ')" + + - "℃": [t: "graus celsius"] # 0x2103 (en: 'degrees celsius', DeepL translation) + - "ℋℛℓ": # 0x210b + - t: "cal·ligràfica" # (en: 'script', DeepL translation) + - spell: "translate('.', 'ℋℛℓ', 'HRl')" + - "ℜ": # 0x211c + - t: "fraktur" # (DeepL translation) + - spell: "'R'" + + - "ⅆⅇⅈⅉ": # 0x2146-9 + - t: "cursiva de doble traç" # (en: 'double-struck italic', DeepL translation) + - spell: "translate('.', 'ⅆⅇⅈⅉ', 'deij')" + + - "←": [t: "fletxa esquerra"] # 0x2190 (en: 'left arrow') + - "↑": [t: "fletxa amunt"] # 0x2191 (en: 'up arrow') + - "→": # 0x2192 + - test: + if: "ancestor::*[2][self::m:limit]" + then: [t: "s'aproxima a"] # (en: 'approaches', DeepL translation) + else: [t: "fletxa dreta"] # (en: 'right arrow') + + - "↓": [t: "fletxa avall"] # 0x2193 (en: 'down arrow') + - "∈": # 0x2208 + - test: + if: "$SpeechStyle != 'ClearSpeak'" + then: + - test: + if: "$Verbosity!='Terse' and not(ancestor::*[self::m:set])" # "the set x is an element of ..." sounds bad" + then: [t: "és"] # (en: 'is', DeepL translation) + - t: "un element de" # (en: 'an element of', DeepL: 'un element de') + # Several options for speaking elements in ClearSpeak -- they split between being inside a set or not and then the option + else_test: + if: "../../self::m:set or ../../../self::m:set" # inside a set + then_test: + - if: $ClearSpeak_SetMemberSymbol = 'Auto' or $ClearSpeak_SetMemberSymbol = 'In' + then: [t: "en"] # (en: 'in', DeepL translation) + - else_if: $ClearSpeak_SetMemberSymbol = 'Member' + then: [t: "element de"] # (en: 'member of', DeepL translation) + - else_if: $ClearSpeak_SetMemberSymbol = 'Element' + then: [t: "element de"] # (en: 'element of', DeepL translation) + - else: [t: "pertany a"] # $ClearSpeak_SetMemberSymbol = 'Belongs' (en: 'belonging to') + else_test: + - if: $ClearSpeak_SetMemberSymbol = 'Auto' or $ClearSpeak_SetMemberSymbol = 'Member' + then: [t: "és membre de"] # (en: 'is a member of', DeepL translation) + - else_if: $ClearSpeak_SetMemberSymbol = 'Element' + then: [t: "és un element de"] # (en: 'is an element of', DeepL translation) + - else_if: $ClearSpeak_SetMemberSymbol = 'In' + then: [t: "forma part de"] # (en: 'is in', DeepL translation) + - else: [t: "pertany a"] # $ClearSpeak_SetMemberSymbol = 'Belongs' (en: 'belongs to', DeepL: 'pertany a') + - "∥": # 0x2225 + - test: + if: "ancestor-or-self::*[contains(@data-intent-property, ':literal:')]" + then: [t: "línia vertical doble"] # (en: 'double vertical line', DeepL translation) + else: + - test: + if: "$Verbosity!='Terse'" + then: [t: "és"] # (en: 'is', DeepL translation) + - t: "paral·lel a" # (en: 'parallel to', DeepL: 'paral·lel a') + - "∦": # 0x2226 + - test: + if: "$Verbosity!='Terse'" + then: [t: "és"] # (en: 'is', DeepL translation) + - t: "no paral·lel a" # (en: 'not parallel to', DeepL: 'no paral·lel a') + - "≤": # 0x2264 + - test: + if: "$Verbosity!='Terse'" + then: [t: "és"] # (en: 'is', DeepL translation) + - t: "menor o igual que" # (en: 'less than or equal to', DeepL: 'menor o igual') + - "≥": # 0x2265 + - test: + if: "$Verbosity!='Terse'" + then: [t: "és"] # (en: 'is', DeepL translation) + - t: "major o igual que" # (en: 'greater than or equal to', DeepL: 'major o igual') + + # --- restored complex short definitions (prefer over unicode-full) --- + - "…": # 0x2026 + test: + if: + - "$SpeechStyle != 'ClearSpeak' or $ClearSpeak_Ellipses = 'Auto' or" + # must be ClearSpeak and $ClearSpeak_Ellipses = 'AndSoOn' + # speak '…' as 'and so on...' unless expr starts with '…' + - "../*[1][.='…']" + then: [t: "punt punt punt"] # (en: 'dot dot dot', DeepL translation) + else_test: # must have $ClearSpeak_Ellipses = 'AndSoOn' + if: "count(following-sibling::*) = 0" + then: [t: "i així successivament"] # (en: 'and so on', DeepL translation) + else: [t: "punts suspensius"] # (en: 'and so on up to', DeepL: 'i així successivament fins a') + - "∂": # 0x2202 + - test: + if: "$Verbosity='Terse'" + then: [t: "parcial"] # (en: 'partial', DeepL translation) + else: [t: "derivada parcial"] # (en: 'partial derivative', DeepL translation) + - "∆": # 0x2206 + - test: + if: "$Verbosity!='Terse'" + then: [ot: "el"] # (en: 'the', DeepL translation) + - t: "increment" # (en: 'laplacian of', DeepL: 'laplacian de') + - "∉": # 0x2209 + # rule is identical to 0x2208 + - test: + if: "$SpeechStyle != 'ClearSpeak'" + then: + - test: + if: "$Verbosity!='Terse'" + then: [t: "és"] # (en: 'is', DeepL translation) + - t: "no és un element de" # (en: 'not an element of', DeepL: 'no és un element de') + # Several options for speaking elements in ClearSpeak -- they split between being inside a set or not and then the option + else_test: + if: "../../self::m:set or ../../../self::m:set" # inside a set + then_test: + - if: $ClearSpeak_SetMemberSymbol = 'Auto' or $ClearSpeak_SetMemberSymbol = 'In' + then: [t: "no en forma part"] # (en: 'not in', DeepL translation) + - else_if: $ClearSpeak_SetMemberSymbol = 'Member' + then: [t: "no és membre de"] # (en: 'not member of', DeepL translation) + - else_if: $ClearSpeak_SetMemberSymbol = 'Element' + then: [t: "no és element de"] # (en: 'not element of', DeepL translation) + - else: [t: "no pertany a"] # $ClearSpeak_SetMemberSymbol = 'Belongs' (en: 'not belonging to', DeepL: 'no pertany a') + else_test: + - if: $ClearSpeak_SetMemberSymbol = 'Auto' or $ClearSpeak_SetMemberSymbol = 'Member' + then: [t: "no és membre de"] # (en: 'is not a member of', DeepL translation) + - else_if: $ClearSpeak_SetMemberSymbol = 'Element' + then: [t: "no és un element de"] # (en: 'is not an element of', DeepL translation) + - else_if: $ClearSpeak_SetMemberSymbol = 'In' + then: [t: "no està en"] # (en: 'is not in', DeepL translation) + - else: [t: "no pertany a"] # $ClearSpeak_SetMemberSymbol = 'Belongs' (en: 'does not belong to', DeepL: 'no pertany a') + - "∊": # 0x220a + - test: + if: "$SpeechStyle != 'ClearSpeak'" + then: + - test: + if: "$Verbosity!='Terse' and not(ancestor::*[self::m:set])" # "the set x is an element of ..." sounds bad" + then: [t: "és"] # (en: 'is', DeepL translation) + - t: "un element de" # (en: 'an element of', DeepL: 'un element de') + # Several options for speaking elements in ClearSpeak -- they split between being inside a set or not and then the option + else_test: + if: "../../self::m:set or ../../../self::m:set" # inside a set + then_test: + - if: $ClearSpeak_SetMemberSymbol = 'Auto' or $ClearSpeak_SetMemberSymbol = 'In' + then: [t: "en"] # (en: 'in', DeepL translation) + - else_if: $ClearSpeak_SetMemberSymbol = 'Member' + then: [t: "element de"] # (en: 'member of', DeepL translation) + - else_if: $ClearSpeak_SetMemberSymbol = 'Element' + then: [t: "element de"] # (en: 'element of', DeepL translation) + - else: [t: "pertany a"] # $ClearSpeak_SetMemberSymbol = 'Belongs' (en: 'belonging to') + else_test: + - if: $ClearSpeak_SetMemberSymbol = 'Auto' or $ClearSpeak_SetMemberSymbol = 'Member' + then: [t: "és membre de"] # (en: 'is a member of', DeepL translation) + - else_if: $ClearSpeak_SetMemberSymbol = 'Element' + then: [t: "és un element de"] # (en: 'is an element of', DeepL translation) + - else_if: $ClearSpeak_SetMemberSymbol = 'In' + then: [t: "forma part de"] # (en: 'is in', DeepL translation) + - else: [t: "pertany a"] # $ClearSpeak_SetMemberSymbol = 'Belongs' (en: 'belongs to', DeepL: 'pertany a') + - "√": # 0x221a + - test: + if: "$Verbosity!='Terse'" + then: [ot: "l'"] # (en: 'the', DeepL translation) + - t: "arrel" # (en: 'square root of', DeepL: 'arrel quadrada de') + - "∝": # 0x221d + - test: + if: "$Verbosity!='Terse'" + then: [t: "és"] # (en: 'is', DeepL translation) + - t: "proporcional a" # (en: 'proportional to') + - "∶": # 0x2236 + - test: + if: "$Verbosity!='Terse'" + then: [t: "és"] # (en: 'is', DeepL translation) + - t: "a" # (en: 'to', DeepL: 'a') + - "∾": # 0x223e + - test: + if: "$Verbosity!='Terse'" + then: [t: "és"] # (en: 'is', DeepL translation) + - t: "més positiu" # (en: 'most positive', DeepL: 'més positiu') + - "≠": # 0x2260 + - test: + if: "$Verbosity!='Terse'" + then: [t: "és"] # (en: 'is', DeepL translation) + - t: "no és igual a" # (en: 'not equal to') + - "≡": # 0x2261 + - test: + if: "$Verbosity!='Terse'" + then: [t: "és"] # (en: 'is', DeepL translation) + - t: "idèntic a" # (en: 'identical to') + - "⊂": # 0x2282 + - test: + if: "$Verbosity!='Terse'" + then: [t: "és"] # (en: 'is a', DeepL translation) + - t: "subconjunt de" # (en: 'subset of', DeepL: 'subconjunt de') + - "⊃": # 0x2283 + - test: + if: "$Verbosity!='Terse'" + then: [t: "és"] # (en: 'is a', DeepL translation) + - t: "superconjunt de" # (en: 'superset of', DeepL: 'superconjunt de') + - "⊄": # 0x2284 + - test: + if: "$Verbosity!='Terse'" + then: [t: "és"] # (en: 'is', DeepL translation) + - t: "no és subconjunt de" # (en: 'not a subset of', DeepL: 'no és un subconjunt de') + - "⊅": # 0x2285 + - test: + if: "$Verbosity!='Terse'" + then: [t: "és"] # (en: 'is', DeepL translation) + - t: "no és superconjunt de" # (en: 'not a superset of', DeepL: 'no és un superconjunt de') + - "⊆": # 0x2286 + - test: + if: "$Verbosity!='Terse'" + then: [t: "és"] # (en: 'is a', DeepL translation) + - t: "subconjunt de o igual a" # (en: 'subset of or equal to', DeepL: 'subconjunt de o igual a') + - "⊇": # 0x2287 + - test: + if: "$Verbosity!='Terse'" + then: [t: "és"] # (en: 'is a', DeepL translation) + - t: "superconjunt de o igual a" # (en: 'superset of or equal to', DeepL: 'superconjunt de o igual a') + + # --- restored short definitions that differ from unicode-full --- + - "⇒": [t: "fletxa doble dreta"] # 0x21d2 (en: 'right double arrow', DeepL: 'fletxa doble dreta') + - "∐": [t: "coproducte"] # 0x2210 (en: 'co-product', DeepL: 'co-producte')