From d6c5077afb6b69586e08be049d37b7f8e0a0d052 Mon Sep 17 00:00:00 2001 From: mgros Date: Fri, 28 Aug 2026 19:12:00 +0200 Subject: [PATCH] add AI seeding for Japanese, created by gpt-5.6 sol --- Rules/Languages/ja/ClearSpeak_Rules.yaml | 763 ++++ Rules/Languages/ja/SharedRules/calculus.yaml | 56 + Rules/Languages/ja/SharedRules/default.yaml | 762 ++++ Rules/Languages/ja/SharedRules/general.yaml | 1088 +++++ Rules/Languages/ja/SharedRules/geometry.yaml | 80 + .../ja/SharedRules/linear-algebra.yaml | 36 + Rules/Languages/ja/SimpleSpeak_Rules.yaml | 350 ++ Rules/Languages/ja/definitions.yaml | 576 +++ Rules/Languages/ja/navigate.yaml | 1775 ++++++++ Rules/Languages/ja/overview.yaml | 120 + Rules/Languages/ja/unicode-full.yaml | 3802 +++++++++++++++++ Rules/Languages/ja/unicode.yaml | 534 +++ tests/Languages/ja/ja.rs | 131 + tests/languages.rs | 3 + 14 files changed, 10076 insertions(+) create mode 100644 Rules/Languages/ja/ClearSpeak_Rules.yaml create mode 100644 Rules/Languages/ja/SharedRules/calculus.yaml create mode 100644 Rules/Languages/ja/SharedRules/default.yaml create mode 100644 Rules/Languages/ja/SharedRules/general.yaml create mode 100644 Rules/Languages/ja/SharedRules/geometry.yaml create mode 100644 Rules/Languages/ja/SharedRules/linear-algebra.yaml create mode 100644 Rules/Languages/ja/SimpleSpeak_Rules.yaml create mode 100644 Rules/Languages/ja/definitions.yaml create mode 100644 Rules/Languages/ja/navigate.yaml create mode 100644 Rules/Languages/ja/overview.yaml create mode 100644 Rules/Languages/ja/unicode-full.yaml create mode 100644 Rules/Languages/ja/unicode.yaml create mode 100644 tests/Languages/ja/ja.rs diff --git a/Rules/Languages/ja/ClearSpeak_Rules.yaml b/Rules/Languages/ja/ClearSpeak_Rules.yaml new file mode 100644 index 000000000..e35ed0666 --- /dev/null +++ b/Rules/Languages/ja/ClearSpeak_Rules.yaml @@ -0,0 +1,763 @@ +--- +- 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: "マイナス" # phrase(10 'minus' 4 equals 6) + - x: "translate(text(), '-_', '')" + +- name: default + tag: square-root + match: "." + replace: + - test: + if: "$Verbosity!='Terse'" + then: [ot: ""] # phrase('the' square root of 25) + - test: + if: "$ClearSpeak_Roots = 'PosNegSqRoot' or $ClearSpeak_Roots = 'PosNegSqRootEnd'" + then: + - bookmark: "*[1]/@id" + - test: + if: "parent::*[self::m:minus and count(*)=1]" + then: [t: "負の"] # phrase(minus 4 is a 'negative' number) + else: [t: "正の"] # phrase(10 is a 'positive' number) + - t: "平方根" # phrase(8 is the 'square root' of 64) + - test: + if: "$Verbosity!='Terse'" + then: [t: "の"] # phrase(the square root 'of' 5) + else: [pause: short] + - x: "*[1]" + - test: + - if: "$ClearSpeak_Roots = 'RootEnd' or $ClearSpeak_Roots = 'PosNegSqRootEnd'" + then: + - pause: short + - t: "根号終わり" # 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: ""] # phrase(6 is 'the' square root of 36) + - 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: "負の"] # phrase(minus 6 is a 'negative' number) + else: [t: "正の"] # phrase(10 is a 'positive' number) + - test: + if: "*[2][self::m:mn and not(contains(., '.'))]" + then_test: + - if: "*[2][.='2']" + then: [t: "平方根"] # phrase(5 is the 'square root' of 25) + - else_if: "*[2][.='3']" + then: [t: "立方根"] # phrase(5 is the 'cube root' of 625) + - else: [x: "ToOrdinal(*[2])", t: "根"] # 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: "根" # phrase(the square 'root' of 36) + - test: + if: "$Verbosity!='Terse'" + then: [t: "の"] # phrase(the square root 'of' 36) + - x: "*[1]" + - test: + if: "$ClearSpeak_Roots = 'RootEnd' or $ClearSpeak_Roots = 'PosNegSqRootEnd'" + then: + - pause: short + - t: "根号終わり" # 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: "負の"] # phrase(minus 5 is a 'negative' number) + else: [t: "正の"] # 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: "パーカー" # 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: ""] + - t: "分数" # phrase(the 'fraction' with 3 over 4) + - x: "*[1]" + - t: "分の" # 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: "分数終わり" # 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: "分の" # phrase(the fraction 3 'over' 4) + - x: "*[2]" + - test: + if: "$ClearSpeak_Fractions='EndFrac' or $ClearSpeak_Fractions='OverEndFrac'" + then: + - pause: short + - t: "分数終わり" # phrase(7 over 8 'end fraction') + - pause: short + +- name: default + tag: fraction + match: "." + replace: + - ot: "" # phrase(5 is 'the' square toot of 25) + - t: "分子 との 分数" # phrase(the 'fraction with numerator' 6) + - test: + if: "not(IsNode(*[1], 'simple'))" + then: [pause: medium] + - x: "*[1]" + - pause: medium + - t: "デノミネーター" # 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: "分数終わり" # 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: "インバース"] # phrase(8 over 5 is the 'inverse' of 5 over 8) + else_test: + if: "$ClearSpeak_Trig = 'ArcTrig'" + then: [bookmark: "*[2]/@id", t: "アーク", x: "*[1]"] # phrase(the 'arc' of a circle) + else: [bookmark: "*[2]/@id", t: "インバース", 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: "スクエア"] # phrase(25 equals 5 'squared') + else: [t: "キューブド"] # 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: ""] # 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: "パワーの" # 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: "緊急事態に育つ" # phrase(5 'raised to the exponent' x plus 1) + - pause: short + - x: "*[2]" + - pause: short + - t: "エンド指数" # phrase(5 raised to the exponent x plus 1 'end exponent') + +- name: AfterPower-default + tag: power + match: "$ClearSpeak_Exponents = 'AfterPower'" + replace: + - x: "*[1]" + - t: "力に育つ" # 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: "スクエア" # 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: "キューブド" # phrase(5 'cubed' equals 125) + +- name: simple-integer + tag: power + match: "*[2][self::m:mn][not(contains(., '.'))]" + replace: + - x: "*[1]" + - t: "の" # 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: "パワー"] # 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: "の" # phrase(2 raised 'to the' power 7) + - x: "*[2]" + - test: + if: "$ClearSpeak_Exponents != 'Ordinal'" + then: [t: "パワー"] # phrase(2 raised to the 'power' 7) + +- name: simple-var + tag: power + match: "*[2][self::m:mi][string-length(.)=1]" + replace: + - x: "*[1]" + - t: "の" # phrase(3 raised 'to the' power 7) + - x: "*[2]" + - pronounce: [text: "-th", ipa: "θ", sapi5: "th", eloquence: "T"] + - test: + if: "$ClearSpeak_Exponents != 'Ordinal'" + then: [t: "パワー"] # 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: "に上げられた" # phrase(x 'raised to the' second power) + - x: "*[2]" + - t: "パワー" # 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: "に上げられた" # phrase(x 'raised to the' second power) + - x: "*[2]" + - t: "パワー" # 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: "に上げられた" # phrase(x 'raised to the' second power) + - x: "*[2]" + - t: "パワー" # 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: "に上げられた" # phrase(x 'raised to the' second power) + - x: "*[2]" + - t: "パワー" # 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: "緊急事態に育つ" # phrase(x is 'raised to the exponent') + - pause: short + - x: "*[2]" + - pause: short + - t: "エンド指数" # phrase(and now 'end exponent' has been reached) + +- name: default + tag: power + match: "." + replace: + - x: "*[1]" + - t: "に上げられた" # phrase(x 'raised to the' second power) + - x: "*[2]" + - t: "パワー" # 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', '要素数', '絶対値')"] + replace: + - test: + if: "$Verbosity!='Terse'" + then: [ot: ""] # phrase('the' absolute value of 25) + - x: "$WordToSay" + - t: "の" # phrase(the absolute value 'of' 25) + - x: "*[1]" + - test: + if: "$ClearSpeak_AbsoluteValue = 'AbsEnd'" + then: + - pause: short + - t: "リリース" # phrase('end' absolute value) + - x: "$WordToSay" + - pause: short + +- name: set + tag: set + # Empty set and braced/{set-builder} forms (typically 0–1 child). + # Multi-arg intent set($x,$y,...) and set($x) with @arg fall through to function-intent + # ("the set of …"). + match: "count(*)=0 or (count(*)=1 and not(*[1][@arg]))" + replace: + - test: + - if: "count(*)=0" + then: [t: "空のセット"] # phrase('the empty set') + - else_if: "count(*[1]/*)=3 and *[1]/*[2][self::m:mo][.=':' or .='|' or .='∣']" + then: + - test: + if: "$Verbosity!='Terse'" + then: [t: ""] # phrase('the' set of all integers) + - t: "セット" # phrase(this is a 'set of' numbers) + - test: + if: "$ClearSpeak_Sets != 'woAll'" + then: [t: "すべて"] # phrase(the set of 'all' integers) + - x: "*[1]/*[1]" + - t: "そのようなこと" # 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: ""] # phrase('the' set of integers) + - t: "セット" # 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: "間隔から" # phrase('the interval from' a to b) + - x: "*[1]" + - t: "に" # 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: "コメントはありません"] # phrase(the interval from a to b 'not' including b) + - t: "含まれるもの" # 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: "または"] # phrase(the interval including a 'or' b ) + - else_if: "name(.)='closed-interval'" + then: [t: "および"] # phrase(the interval including a 'and' b) + else: [t: "しかし、"] # 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: "コメントはありません"] # phrase(the interval 'not' including a) + - t: "含まれるもの" # 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: "選ぶ" # 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: "行" # phrase(the first 'row' of a matrix) + - x: "count(preceding-sibling::*)+1" + - test: + if: ".[self::m:mlabeledtr]" + then: + - t: "ラベルを使って" # 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: ""] # phrase('the' square root of 25) + - test: + - if: ".='log'" + then: [t: "ログ"] + - else_if: "$ClearSpeak_Log = 'LnAsNaturalLog'" + then: [t: "自然ログ"] # 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: "ケースケース"] # 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: "ライン"] # phrase(this is the first 'line' of three lines) + - else_if: "$ClearSpeak_MultiLineLabel = 'Constraint'" + then: [t: "制約条件"] # phrase(this is the first 'constraint' of three constraints) + - else_if: "$ClearSpeak_MultiLineLabel = 'Equation'" + then: [t: "設備"] # phrase(this is the first 'equation' of three equations) + - else_if: "$ClearSpeak_MultiLineLabel = 'Row'" + then: [t: "行"] # phrase(this is the first 'row' of three rows) + - else_if: "$ClearSpeak_MultiLineLabel = 'Step'" + then: [t: "ステップステップ"] # phrase(this is the first 'step' of three steps) + # else 'None -- don't say anything' + - test: + - if: "$LineCount != 1" + then: [ct: ""] # 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: "ケースケース"] # 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: "ライン"] # phrase(the straight 'line' between x and y) + - else_if: "$ClearSpeak_MultiLineLabel = 'Constraint'" + then: [t: "制約条件"] # phrase(there is a 'constraint' on possible values) + - else_if: "$ClearSpeak_MultiLineLabel = 'Equation'" + then: [t: "設備"] # phrase(the 'equation' pi r squared gives the area of a circle) + - else_if: "$ClearSpeak_MultiLineLabel = 'Row'" + then: [t: "行"] # phrase(the values on the top 'row' are relevant) + - else_if: "$ClearSpeak_MultiLineLabel = 'Step'" + then: [t: "ステップステップ"] # 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: "ラベルを使って" # 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: "掛ける"] # 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: "掛ける" # 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/ja/SharedRules/calculus.yaml b/Rules/Languages/ja/SharedRules/calculus.yaml new file mode 100644 index 000000000..b3747bc98 --- /dev/null +++ b/Rules/Languages/ja/SharedRules/calculus.yaml @@ -0,0 +1,56 @@ +--- + +- name: laplacian + tag: laplacian + match: "count(*) <= 1" # can be on ∇^2 or on enclosing mrow + replace: + - t: "ラ・プラハシアン" # phrase('laplacian' of x) -- "LahPlahsian" sounds better with speech engines tested + - test: + if: "count(*) = 1" + then: + - test: + if: "$Verbosity!='Terse'" + then: [t: "の"] # 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: "ダイバージェンス"] # phrase('div' is short for divergence) -- note OneCore voices spell out "div" + else: [t: "発散"] # 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: "回転" # phrase(the 'curl of' a field) + - test: + if: "$Verbosity!='Terse'" + then: [t: "の"] # 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: "勾配"] # phrase(the hill has a 'gradient of' five percent) + else: [t: "デル"] # phrase(the delete key is labeled 'del') + - test: + if: "not(IsNode(*[1], 'leaf'))" + then: [pause: short] + - x: "*[1]" diff --git a/Rules/Languages/ja/SharedRules/default.yaml b/Rules/Languages/ja/SharedRules/default.yaml new file mode 100644 index 000000000..6dd40c50f --- /dev/null +++ b/Rules/Languages/ja/SharedRules/default.yaml @@ -0,0 +1,762 @@ +--- +#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 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: "文字列" # 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: "分の" # phrase("the fraction x 'over' y") + - x: "*[2]" + - pause: short + +- name: literal-default + tag: mfrac + match: "." + replace: + - t: "スタート" # phrase("'start' fraction x over y end of fraction") + - pause: short + - x: "*[1]" + - test: + if: "not(IsNode(*[1],'leaf'))" + then: [pause: short] + - t: "分の" # 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: "リリース"] # 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: ""] # phrase("'the' root of x") + - t: "根" + - test: + if: "$Verbosity!='Terse'" + then: [t: "の"] # phrase("the root 'of' x") + - x: "*[1]" + - pause: short + - test: + if: "not(IsNode(*[1],'leaf')) or $Impairment = 'Blindness'" + then: [t: "根号終わり", 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: ""] # phrase("'the' root of x") + - t: "インデックスとルート" # phrase("the 'root with index' 3 of 5") + - x: "*[1]" + - pause: short + - t: "の" # phrase("the root 'of' x") + - x: "*[2]" + - pause: short + - test: + if: "not(IsNode(*[2],'leaf'))" + then: [t: "エンドルートシンボル"] # 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: "サブサブ" # phrase(x 'sub' 2) + - x: "*[2]" + - pause: short + +- name: power-indexed-by + tag: power-indexed-by + match: "." + replace: + - x: "*[1]" + - t: "サブサブ" # 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: "サブサブ"] # phrase(x 'sub' 2) + - x: "*[2]" + + +- name: literal + tag: [msup, msubsup] + match: "." + replace: + - x: "*[1]" + - test: + if: "name(.)='msubsup'" + then: + - t: "サブサブ" # 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: "スーパー" # phrase(x 'super' 2) + - x: "*[last()]" + - test: + if: "not(IsNode(*[last()], 'simple')) or $Impairment = 'Blindness'" + then: [t: "エンドスーパー"] # phrase(x super 2 'end of super') + else: + - test: + if: "$Verbosity='Verbose'" + then: [t: "上付き文字"] + else: [t: "スーパー"] + - x: "*[last()]" + - test: + if: "$Verbosity='Verbose'" + then: [t: "終了スーパースクリプト"] + else: [t: "エンドスーパー"] + +- name: default + tag: munder + match: "." + replace: + - test: + if: "not(IsNode(*[1], 'leaf'))" + then: [t: "数量"] # phrase(phrase(x 'quantity' with y above it) + - x: "*[1]" + - t: "付き" # phrase(x 'with' z below it) + - x: "*[2]" + - t: "下" # phrase(x with z 'below' it) + +- name: diacriticals + tag: mover + match: "*[1][self::m:mi] and *[2][translate(., '\u0306\u030c.\u00A8\u02D9\u20DB\u20DC`^ˇ~→¯_', '')='']" + replace: + - x: "*[1]" + - x: "*[2]" + +- name: default + tag: mover + match: "." + replace: + - test: + if: "not(IsNode(*[1], 'leaf'))" + then: [t: "数量"] # phrase(phrase(the 'quantity' x plus 1 with y above it) + - x: "*[1]" + - t: "付き" # phrase(x modified 'with' y above it) + - x: "*[2]" + - t: "詳しくはこちら" # phrase(x modified 'with' y above it) + +- name: default + tag: munderover + match: "." + replace: + - test: + if: "not(IsNode(*[1], 'leaf'))" + then: [t: "数量"] # phrase(the 'quantity' x plus 1 with y above it) + - x: "*[1]" + - t: "付き" # phrase(x modified 'with' y above it) + - x: "*[2]" + - t: "下および" # phrase(x modified with y 'below and' y above it) + - x: "*[3]" + - t: "詳しくはこちら" # 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', 'pre subscript', 'pre sub')" + - PreSuperscript: "IfThenElse($Verbosity='Verbose', 'pre superscript', 'pre super')" + replace: + - test: # only bother announcing if there is more than one prescript + if: "count($Prescripts) > 2" + then: + - t: "付き" # phrase(substitute x 'with' y) + - x: "count($Prescripts) div 2" + - t: "プレスクリプト" # 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: "および"] # 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: "および"] # 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: "プレスクリプトの改変" # phrase(in this case there are values 'and alternating prescripts') + - x: "$Prescripts[position() > 4]" + - t: "終了原稿" # phrase(This is where 'end prescripts' occurs) + - test: + if: "$Postscripts" + then: + - with: + variables: + - PostSubscript: "IfThenElse($Verbosity='Verbose', 'subscript', 'sub')" + - PostSuperscript: "IfThenElse($Verbosity='Verbose', 'superscript', 'super')" + replace: + - test: # only bother announcing if there is more than one postscript + if: "count($Postscripts) > 2" + then: + - test: + if: "$Prescripts" + then: [t: "および"] # phrase(10 is greater than 8 'and' less than 15) + - t: "付き" # phrase(substitute x 'with' y) + - x: "count($Postscripts) div 2" + - t: "投稿原稿" # 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: "および"] # 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: "および"] # 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: "および"] # 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: "および"] # 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: "スクリプトの変更と変更" # phrase(this situation involves complexities 'and alternating scripts') + - x: "$Postscripts[position() > 8]" + - t: "エンドスクリプト" # phrase(At this point 'end scripts' occurs) + +- name: default + tag: mtable + variables: + - IsColumnSilent: "false()" + - NumColumns: "count(*[1]/*) - IfThenElse(*/self::m:mlabeledtr, 1, 0)" + match: "." + replace: + - t: "テーブルと" # phrase(the 'table with' 3 rows) + - x: count(*) + - test: + if: count(*)=1 + then: [t: "行"] # phrase(the table with 1 'row') + else: [t: "行"] # phrase(the table with 3 'rows') + - t: "および" # phrase(the table with 3 rows 'and' 4 columns) + - x: "$NumColumns" + - test: + if: "NumColumns=1" + then: [t: "コラム"] # phrase(the table with 3 rows and 1 'column') + else: [t: "コラム"] # 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: "行" # phrase(the first 'row' of a matrix) + - x: "count(preceding-sibling::*)+1" + - test: + if: "self::m:mlabeledtr" + then: + - t: "ラベルを使って" # 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: "コラム" # phrase(the first 'column' of the matrix) + - x: "count(preceding-sibling::*)+IfThenElse(parent::m:mlabeledtr, 0, 1)" + - pause: medium + - x: "*" + - test: + if: "HasVisibleColumnLine(../.., count(preceding-sibling::*) + 1)" + then: + - pause: short + - t: "セパレータ" + - test: + # Announce a row separator only after the row's final cell, so it is spoken once per horizontal boundary. + if: "count(following-sibling::*) = 0 and HasVisibleRowLine(../.., count(../preceding-sibling::*) + 1)" + then: + - pause: short + - t: "行区切り" + - 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: "空の箱" # 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: "ボックス", pause: short] # phrase(the 'box' around the expression) + - test: + if: ".[contains(@notation,'roundedbox')]" + then: [t: "ラウンドボックス", pause: short] # phrase(the 'round box' around the expression) + - test: + if: ".[contains(@notation,'circle')]" + then: [t: "サークル", 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: "ライン" # phrase(draw a straight 'line' on the page) + - test: + if: ".[contains(concat(' ', normalize-space(@notation), ' '), ' left ')]" + then: [t: "左から", pause: short] # phrase(line on 'left' of the expression) + - test: + if: ".[contains(concat(' ', normalize-space(@notation), ' '), ' right ')]" + then: [t: "アクセス", pause: short] # phrase(line on 'right' of the expression) + - test: + if: ".[contains(@notation,'top')]" + then: [t: "トップトップ", pause: short] # phrase(line on 'top' of the expression) + - test: + if: ".[contains(@notation,'bottom')]" + then: [t: "ボトム", 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: "対角形", pause: short] # phrase(the line runs 'up diagonal') + - test: + if: ".[contains(@notation,'downdiagonalstrike')]" + then: [t: "ダウンの対角", pause: short] # phrase(the line runs 'down diagonal') + - test: + if: ".[contains(@notation,'verticalstrike')]" + then: [t: "垂直方向", pause: short] # phrase(the line is 'vertical') + - test: + if: ".[contains(@notation,'horizontalstrike')]" + then: [t: "水平方向", pause: short] # phrase(the line is 'horizontal') + - t: "クロスアウト" # phrase(please 'cross out' the incorrect answer) + - pause: short + - test: + if: ".[contains(@notation,'uparrow')]" + then: [t: "上下矢印", pause: short] # phrase(direction is shown by the 'up arrow') + - test: + if: ".[contains(concat(' ', normalize-space(@notation), ' '), ' downarrow ')]" + then: [t: "ダウン矢印", pause: short] # phrase(the trend is shown by the 'down arrow') + - test: + if: ".[contains(@notation,'leftarrow')]" + then: [t: "左矢印", pause: short] # phrase(the 'left arrow' indicates going back) + - test: + if: ".[contains(concat(' ', normalize-space(@notation), ' '), ' rightarrow ')]" + then: [t: "右矢印", pause: short] # phrase(the 'right arrow' indicates moving forward) + - test: + if: ".[contains(@notation,'northeastarrow')]" + then: [t: "北東矢印", pause: short] # phrase(direction is indicated by the 'northeast arrow') + - test: + if: ".[contains(concat(' ', normalize-space(@notation), ' '), ' southeastarrow ')]" + then: [t: "南東矢印", pause: short] # phrase(direction is shown by the 'southeast arrow') + - test: + if: ".[contains(concat(' ', normalize-space(@notation), ' '), ' southwestarrow ')]" + then: [t: "南西矢印", pause: short] # phrase(direction is shown by the 'southwest arrow') + - test: + if: ".[contains(@notation,'northwestarrow')]" + then: [t: "北西矢印", pause: short] # phrase(direction is shown by the 'northwest arrow') + - test: + if: ".[contains(@notation,'updownarrow')]" + then: [t: "ダブルエンド垂直矢印", pause: short] # phrase(upward movement is indicated by the 'double ended vertical arrow') + - test: + if: ".[contains(@notation,'leftrightarrow')]" + then: [t: "ダブルエンド水平矢印", pause: short] # phrase(progress is indicated by the 'double ended horizontal arrow') + - test: + if: ".[contains(@notation,'northeastsouthwestarrow')]" + then: [t: "ダブルは対角矢印を終了", pause: short] # phrase(trend is indicated by the 'double ended up diagonal arrow') + - test: + if: ".[contains(@notation,'northwestsoutheastarrow')]" + then: [t: "二重は対角矢印を終了", pause: short] # phrase(trend is indicated by the 'double ended down diagonal arrow') + - test: + if: ".[contains(@notation,'actuarial')]" + then: [t: "行動シンボル", pause: short] # phrase(the 'actuarial symbol' represents a specific quantity) + - test: + if: ".[contains(@notation,'madrub')]" + then: [t: "アラビア語の要素のシンボル", pause: short] # phrase(the 'arabic factorial symbol' represents a factorial operation) + - test: + if: ".[contains(@notation,'phasorangle')]" + then: [t: "フェーザの角度", 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: "ロングディビジョンシンボル", pause: short] # phrase(the 'long division symbol' indicates a long division calculation) + - test: + if: ".[contains(@notation,'radical')]" + then: [t: "平方根", pause: short] # phrase(5 is the 'square root' of 25) + - t: "エンクロージャー" # phrase(parentheses are 'enclosing' part of the equation) + - test: + if: "*[self::m:mtext and .=' ']" + then: [t: "スペース"] # 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: "エンドエンクロージャ"] # 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: "の" # 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 .... + # IntentMappings may add "| glue" options after the name: + # * one option without ',': binary separator after "of" (e.g. "| divided by" → "... of x divided by y") + # * multiple options / options with ',': arity templates; k glue words => k+1 args, + # spoken as name + glue1 + arg1 + ... + "of" + lastArg (e.g. "| over | from,to") + # * unmatched arity (or binary glue with ≠2 args): commas between all args + tag: "*" + match: "count(*)>0" + replace: + - x: "SpeakIntentName(name(.), $Verbosity, 'function')" + - test: + - if: "IntentFunctionUseArityPath(name(.), 'function', count(*))" + then: + - x: "IntentFunctionGlueBefore(name(.), 'function', 1, count(*))" + - pause: auto + - insert: + nodes: "*" + replace: + - x: "IntentFunctionGlueBefore(name(.), 'function', $InsertIndex, count(*))" + - pause: auto + else: + - 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: "の", pause: auto] # phrase(sine 'of' 5) + - insert: + nodes: "*" + replace: + - test: + if: "not(contains(@data-intent-property, ':literal:'))" + then: [x: "IntentFunctionArgSeparator(name(.), 'function', count(*))"] + - 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/ja/SharedRules/general.yaml b/Rules/Languages/ja/SharedRules/general.yaml new file mode 100644 index 000000000..5d632afef --- /dev/null +++ b/Rules/Languages/ja/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: "" # phrase('the' square root of 25 equals 5) + - bookmark: "*[2]/@id" + - test: + - if: "*[2][.='+']" + then: [t: "正の"] # phrase(set of all 'positive' integers less than 10) + else: [t: "負の"] # phrase(set of all 'negative' integers less than minus 10) + - bookmark: "*[1]/@id" + - test: + - if: "*[1][.='ℂ']" + then: [t: "複雑な数字"] # phrase('complex numbers' consist of two parts) + - else_if: "*[1][.='ℕ']" + then: [t: "自然な数字"] # phrase('natural numbers' are numbers from 1 to infinity) + - else_if: "*[1][.='ℚ']" + then: [t: "合理的な番号"] # phrase('rational numbers' are the fraction of 2 integers) + - else_if: "*[1][.='ℝ']" + then: [t: "実数"] # phrase('real numbers' can be both positive and negative) + - else_if: "*[1][.='ℤ']" + then: [t: "インテガーズ"] # 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: "シー"] # phrase(the letter 'C' used to represent complex number) + - else_if: "*[1][.='ℕ']" + then: [t: "ネクタイ"] # phrase(the letter 'N' may represent natural numbers) + - else_if: "*[1][.='ℚ']" + then: [t: "キュー"] # phrase(the letter 'Q' may represent rational numbers) + - else_if: "*[1][.='ℝ']" + then: [t: "アール"] # phrase(the letter 'R' may represent real numbers) + - else_if: "*[1][.='ℤ']" + then: [t: "ゼット"] # 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: "複雑な数字"] # phrase('the complex numbers' include 2 parts) + - else_if: ".='ℕ'" + then: [t: "自然な数字"] # phrase('the natural numbers' begin at 1) + - else_if: ".='ℚ'" + then: [t: "合理的な数字"] # phrase('the rational numbers' are the fraction of 2 integers) + - else_if: ".='ℝ'" + then: [t: "実数"] # phrase('the real numbers' can be both positive and negative) + - else_if: ".='ℤ'" + then: [t: "整数者"] # phrase('the integers' are natural numbers above 0) + else: [x: "text()"] # shouldn't happen + +- name: real-part + tag: real-part + match: "count(*)=0" + replace: + - bookmark: "@id" + - t: "実際の部分" # phrase('the real part' of a complex number does not include the imaginary part) + +- name: imaginary-part + tag: imaginary-part + match: "count(*)=0" + replace: + - bookmark: "@id" + - t: "想像上の部分" # 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: "評価される" # 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: "評価される" # phrase(results were 'evaluated at' this point) + - pause: auto + - x: "*[3]" + - t: "同じ式が評価されるマイナス" # 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: "パーミュテーションの" # 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: "" # phrase('the' square root of 25 equals 5) + - x: "translate(name(.),'-', ' ')" + - test: + if: "$Verbosity!='Terse'" + then: + - t: "から" # phrase(subtracting 5 'from' 10 gives 5) + - x: "*[1]" + - t: "に" # phrase(adding 6 'to' 6 equals 12) + - x: "*[2]" + else: + - x: "*[1]" + - t: "コンマ" # 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: "" # phrase('the' square root of 25 equals 5) + - t: "ポイント" # phrase(a decimal 'point' indicates the fraction component of a number) + - x: "*[1]" + - t: "コンマ" # 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: ""] # phrase('the' square root of 25 equals 5) + - x: "*[1]" + - t: "から" # phrase(subtracting 5 'from' 10 gives 5) + - x: "*[2]" + - pause: short + - t: "に" # phrase(adding 6 'to' 6 equals 12) + - x: "*[3]" + - test: + if: "following-sibling::*" + then: [t: "の"] # phrase(the square root 'of' 25 equals 5) + +- name: bigop-under + tag: large-op + match: "count(*)=2" + replace: + - test: + if: "$Verbosity!='Terse'" + then: [ot: ""] # phrase('the' square root of 25 equals 5) + - x: "*[1]" + - t: "分の" # phrase(2 'over' 3 equals two thirds) + - x: "*[2]" + - test: + if: "following-sibling::*" + then: [t: "の"] # 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: ""] # phrase('the' square root of 25 equals 5) + - x: "*[1]" + - t: "の" # phrase(the square root 'of' 25 equals 5) + - x: "*[2]" + +- name: repeating-decimal + tag: repeating-decimal + match: "." + replace: + - x: "*[1]" + - t: "数字を繰り返して" # 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: "下付き文字"] # phrase(a 'subscript' may be used to indicate an index) + else: [t: "サブサブ"] # phrase(the result is 'sub' optimal) + - x: "*[2]" + - test: + if: "not(IsNode(*[2],'leaf') and $Impairment = 'Blindness')" + then: + - test: + if: "$Verbosity='Verbose'" + then: [t: "終了サブスクリプト"] # phrase(this is the 'end subscript' position) + else: [t: "エンドサブ"] # 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: "上付き文字"] # phrase(a 'superscript' number indicates raised to a power) + else: [t: "スーパー"] # 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: ""] + 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: ""] + +# 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: ""] + +- name: sin + tag: mi + match: ".='sin'" + replace: + - bookmark: "@id" + - t: "サイン" # phrase(the 'sine' of the angle) +- name: cos + tag: mi + match: ".='cos'" + replace: + - bookmark: "@id" + - test: + if: "$Verbosity='Terse'" + then: [t: "コサイン"] # phrase('cos' is the abbreviation for cosine) + else: [t: "コサイン"] # 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: "タン"] # phrase(the 'tan' is the ratio of the opposite to the adjacent side of a right-angled triangle) + else: [t: "接線"] # 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: "探す"] # phrase(to 'seek' a solution) + else: [t: "割線"] # 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: "コセック"] # phrase(we will 'cosecant' a solution) + else: [t: "コセカント"] # phrase(the 'cosecant' is the reciprocal of the secant) +- name: cot + tag: mi + match: ".='cot'" + replace: + - bookmark: "@id" + - test: + if: "$Verbosity='Terse'" + then: [t: "コタン"] # phrase(find the 'cotangent' in a right-angle triangle) + else: [t: "余接"] # phrase(the 'cotangent' is the reciprocal of the tangent) + +- name: sinh + tag: mi + match: ".='sinh'" + replace: + - bookmark: "@id" + - test: + if: "$Verbosity='Terse'" + then: [t: "ピンチ"] # phrase(the word 'sinch' is an abbreviation for hyperbolic sine) + else: [t: "高分子正弦"] # phrase(the 'hyperbolic sine' is used in mathematics) +- name: cosh + tag: mi + match: ".='cosh'" + replace: + - bookmark: "@id" + - test: + if: "$Verbosity='Terse'" + then: [t: "コッシュ"] # phrase('cosh' is an abbreviation of hyperbolic cosine) + else: [t: "高分子コサイン"] # phrase(the 'hyperbolic cosine' is a mathematical function) +- name: tanh + tag: mi + match: ".='tanh'" + replace: + - bookmark: "@id" + - test: + if: "$Verbosity='Terse'" + then: [t: "タンチ"] # phrase('tanch' is shorthand for hyperbolic tangent) + else: [t: "双曲線の正接"] # phrase('hyperbolic tangent' is a mathematical function) +- name: sech + tag: mi + match: ".='sech'" + replace: + - bookmark: "@id" + - test: + if: "$Verbosity='Terse'" + then: [t: "シーメール"] # phrase('sheck' is shorthand for hyperbolic secant) + else: [t: "ハイパーボリック 正割"] # phrase('hyperbolic secant' is a mathematical function) +- name: csch + tag: mi + match: ".='csch'" + replace: + - bookmark: "@id" + - test: + if: "$Verbosity='Terse'" + then: [t: "コシュネック"] # phrase('cosheck' is shorthand for hyperbolic cosecant) + else: [t: "ハイパーボリック・コンセカント"] # phrase('hyperbolic cosecant' is a mathematical function) +- name: coth + tag: mi + match: ".='coth'" + replace: + - bookmark: "@id" + - test: + if: "$Verbosity='Terse'" + then: [t: "コタンチ"] # phrase('cotanch' is shorthand for hyperbolic cotangent) + else: [t: "ハイパーボリックコタント"] # phrase(the 'hyperbolic cotangent' is a mathematical function) +- name: exponential + tag: mi + match: ".='exp'" + replace: + - bookmark: "@id" + - test: + if: "$Verbosity='Terse'" + then: [t: "指数関数"] # phrase('exp' means exponential function) + else: [t: "指数関数"] # phrase('exponential' function) +- name: covariance + tag: mi + match: ".='Cov'" + replace: + - bookmark: "@id" + - test: + if: "$Verbosity='Terse'" + then: [t: "コーブ"] # phrase('Cov' is shorthand for the covariance function) + else: [t: "コバリアンス"] # 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: ""] # phrase('the' logarithm function is used in mathematics) + - test: + - if: ".= 'log'" + then: [t: "ログ"] # phrase(the 'log' function is used in mathematics) + - else_if: ".= 'Log'" + then: [t: "主値ログ"] + - else_if: "$Verbosity='Terse'" + then: [spell: "'ln'"] + else: [t: "自然ログ"] # 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: "ケースケース"] # phrase(this is the first 'case' of three cases) + - else_if: "self::m:system-of-equations" + then: [t: "設備"] # phrase(this is the first 'equation' of three equations) + else: [t: "ライン"] # phrase(this is the first 'line' of three lines) + - test: + - if: "$LineCount != 1" + then: [ct: ""] # 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: "ケースケース"] # phrase('case' 1 of 10 cases) + - else_if: "parent::m:system-of-equations" + then: [t: "設備"] # phrase('equation' 1 of 10 equations) + else: [t: "ライン"] # 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: "ラベルを使って" # 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: "" # phrase('the' 1 by 1 matrix M) + - t: "1 によって 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: "行列式"] # phrase(the 2 by 2 'determinant')) + else: [t: "マトリクス"] # phrase(the 2 by 2 'matrix') + + - t: "エントリー" # 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: "" # phrase('the' 1 by 2 matrix M) + - x: count(*) + - t: "によって" # phrase(the 1 'by' 2 matrix) + - x: count(*[self::m:mtr][1]/*) + - t: "ゼロマトリックス" # 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: "" # phrase('the' 1 by 2 matrix M) + - x: count(*) + - t: "によって" # phrase(the 1 'by' 2 matrix) + - x: count(*[self::m:mtr][1]/*) + - t: "アイデンティティ マトリックス" # 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: "" # phrase('the' 1 by 2 matrix) + - x: count(*) + - t: "によって" # phrase(the 1 'by' 2 matrix) + - x: count(*[self::m:mtr][1]/*) + - t: "対角マトリックス" # 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: "" # phrase('the' 2 by 2 matrix M) + - x: count(*) + - t: "1列ずつ" # phrase(the 2 'by 1 column' matrix) + - test: + if: "$ClearSpeak_Matrix = 'Vector' or $ClearSpeak_Matrix = 'EndVector'" + then: [t: "コンテンツ"] # phrase(the 2 by 2 'vector') + else: [t: "マトリクス"] # phrase(the 2 by 2 'matrix') + - pause: long + - x: "*/*" + - test: + if: "$ClearSpeak_Matrix = 'EndMatrix' or $ClearSpeak_Matrix = 'EndVector'" + then: + - t: "リリース" # phrase('end' of matrix) + - test: + if: $ClearSpeak_Matrix = 'EndVector' + then: [t: "コンテンツ"] # phrase(the 2 column 'vector') + else: [t: "マトリクス"] # phrase(the 2 by 2 'matrix') + +- name: default-column-matrix + tag: matrix + variables: [IsColumnSilent: true()] + match: "*[self::m:mtr][count(*) = 1]" + replace: + - t: "" # phrase('the' 2 by 2 matrix M) + - x: "count(*)" + - t: "1列ずつ" # phrase(the 2 'by 1 column' matrix) + - test: + if: "$ClearSpeak_Matrix = 'Vector' or $ClearSpeak_Matrix = 'EndVector'" + then: [t: "コンテンツ"] # phrase(the 2 column 'vector') + else: [t: "マトリクス"] # phrase(the 2 by 2 'matrix') + - pause: long + - x: "*" # select the rows (mtr) + - test: + if: "$ClearSpeak_Matrix = 'EndMatrix' or $ClearSpeak_Matrix = 'EndVector'" + then: [t: "端のマトリックス"] # 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: "1 によって" # phrase('the 1 by' 2 matrix) + - x: count(*/*) + - t: "行" # phrase(the 1 by 4 'row' matrix) + - test: + if: "$ClearSpeak_Matrix = 'Vector' or $ClearSpeak_Matrix = 'EndVector'" + then: [t: "コンテンツ"] # phrase('the 1 by' 2 row 'vector') + else: [t: "マトリクス"] # phrase('the 1 by' 2 'matrix') + - pause: long + - x: "*/*" + - test: + if: "$ClearSpeak_Matrix = 'EndMatrix' or $ClearSpeak_Matrix = 'EndVector'" + then: + - t: "リリース" # phrase(the 'end' of matrix has been reached) + - test: + if: $ClearSpeak_Matrix = 'EndMatrix' + then: [t: "マトリクス"] # phrase(the 2 by 2 'matrix') + else: [t: "コンテンツ"] # 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: "1 によって" # phrase('the 1 by' 2 matrix) + - x: "count(*/*)" + - t: "行" # phrase(the 1 by 2 'row' matrix) + - test: + if: "$ClearSpeak_Matrix = 'Vector' or $ClearSpeak_Matrix = 'EndVector'" + then: [t: "コンテンツ"] # phrase(the 2 by 1 'vector') + else: [t: "マトリクス"] # 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: "リリース" # phrase(the 'end' of matrix has been reached) + - test: + if: $ClearSpeak_Matrix = 'EndMatrix' + then: [t: "マトリクス"] # phrase(the 2 by 2 'matrix') + else: [t: "コンテンツ"] # 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: "" # phrase('the' 1 by 2 matrix M) + - x: count(*) + - t: "によって" # phrase(the 1 'by' 2 matrix) + - x: count(*[self::m:mtr][1]/*) + - test: + if: "self::m:determinant" + then: [t: "行列式"] # phrase(the 2 by 2 'determinant') + else: + - test: + if: "@columnlines and (contains(normalize-space(@columnlines), 'solid') or contains(normalize-space(@columnlines), 'dashed'))" + then: [t: "拡張されたマトリックス"] # phrase(the 2 by 2 'augmented matrix') + else: [t: "マトリクス"] # phrase(the 2 by 2 'matrix') + - pause: long + - x: "*" + - test: + if: "$ClearSpeak_Matrix = 'EndMatrix' or $ClearSpeak_Matrix = 'EndVector'" + then: + - t: "リリース" # phrase(the 'end' of matrix has been reached) + - test: + if: "self::m:determinant" + then: [t: "行列式"] # phrase(the 2 by 2 'determinant') + else: [t: "マトリクス"] # phrase(the 2 by 2 'matrix') + +- name: default-matrix + tag: [matrix, determinant] + variables: [IsColumnSilent: "$SpeechStyle = 'ClearSpeak' and $ClearSpeak_Matrix = 'SilentColNum'"] + match: "." + replace: + - t: "" # phrase('the' 1 by 2 matrix M) + - x: "count(*)" + - t: "によって" # phrase(the 1 'by' 2 matrix) + - x: "count(*[self::m:mtr][1]/*)" + - test: + if: "self::m:determinant" + then: [t: "行列式"] # phrase(the 2 by 2 'determinant') + else: + - test: + if: "@columnlines and (contains(normalize-space(@columnlines), 'solid') or contains(normalize-space(@columnlines), 'dashed'))" + then: [t: "拡張されたマトリックス"] # phrase(the 2 by 2 'augmented matrix') + else: [t: "マトリクス"] # phrase(the 2 by 2 'matrix') + - pause: long + - x: "*" + - test: + if: "$ClearSpeak_Matrix = 'EndMatrix' or $ClearSpeak_Matrix = 'EndVector'" + then: + - t: "リリース" # phrase(the 'end' of matrix has been reached) + - test: + if: "self::m:determinant" + then: [t: "行列式"] # phrase(the 2 by 2 'determinant') + else: [t: "マトリクス"] # 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: "下付き文字"] # phrase(H 'subscript' 2) + else_test: + if: "$Verbosity='Medium'" + then: [t: "サブサブ"] # phrase(H 'sub' 2) + - x: "*[3]" + +- name: dimension-by + tag: mrow + match: dimension-product + replace: + - insert: + nodes: "*" + replace: [t: "によって", 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: "上付き文字"] # phrase(H 'superscript' 2) + else_test: + if: "$Verbosity='Medium'" + then: [t: "スーパー"] # 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: "上付き文字"] # phrase(H 'superscript' 2) + else_test: + if: "$Verbosity='Medium'" + then: [t: "スーパー"] # phrase(H 'super' 2) + - x: "$Prescripts[2]" + - pause: "short" + - test: + if: "not($Prescripts[1][self::m:none])" + then: + - test: + if: "$Verbosity='Verbose'" + then: [t: "下付き文字"] # phrase(a 'subscript' may be used to indicate an index) + else_test: + if: "$Verbosity='Medium'" + then: [t: "サブサブ"] # 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: "上付き文字"] # phrase(H 'superscript' 2) + else_test: + if: "$Verbosity='Medium'" + then: [t: "スーパー"] # phrase(H 'super' 2) + - x: "$Prescripts[4]" + - pause: "short" + - test: + if: "not($Prescripts[3][self::m:none])" + then: + - test: + if: "$Verbosity='Verbose'" + then: [t: "下付き文字"] # phrase(H 'subscript' 2) + else_test: + if: "$Verbosity='Medium'" + then: [t: "サブサブ"] # 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: "下付き文字"] # phrase(phrase(H 'subscript' 2) + else_test: + if: "$Verbosity='Medium'" + then: [t: "サブサブ"] # 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: "上付き文字"] # phrase(H 'superscript' 2) + else_test: + if: "$Verbosity='Medium'" + then: [t: "スーパー"] # 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: "下付き文字"] # phrase(H 'subscript' 2) + else_test: + if: "$Verbosity='Medium'" + then: [t: "サブサブ"] # phrase(H 'sub' 2) + - x: "$Postscripts[3]" + - pause: "short" + - test: + if: "not($Postscripts[4][self::m:none])" + then: + - test: + if: "$Verbosity='Verbose'" + then: [t: "上付き文字"] # phrase(H 'superscript' 2) + else_test: + if: "$Verbosity='Medium'" + then: [t: "スーパー"] # 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: "下付き文字"] # phrase(H 'subscript' 2) + else_test: + if: "$Verbosity='Medium'" + then: [t: "サブサブ"] # phrase(H 'sub' 2) + - x: "$Postscripts[5]" + - pause: "short" + - test: + if: "not($Postscripts[6][self::m:none])" + then: + - test: + if: "$Verbosity='Verbose'" + then: [t: "上付き文字"] # phrase(H 'superscript' 2) + else_test: + if: "$Verbosity='Medium'" + then: [t: "スーパー"] # 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: "下付き文字"] # phrase(H 'subscript' 2) + else_test: + if: "$Verbosity='Medium'" + then: [t: "サブサブ"] # phrase(H 'sub' 2) + - x: "$Postscripts[7]" + - pause: "short" + - test: + if: "not($Postscripts[8][self::m:none])" + then: + - test: + if: "$Verbosity='Verbose'" + then: [t: "上付き文字"] # phrase(H 'superscript' 2) + else_test: + if: "$Verbosity='Medium'" + then: [t: "スーパー"] # 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: "固体"] # phrase(Boron is a 'solid' in its natural state) + - else_if: ".='l'" + then: [t: "液体液体"] # phrase(water is a 'liquid') + - else_if: ".='g'" + then: [t: "ガスレンジ"] # phrase(hydrogen is a 'gas' ) + else: [t: "アキュース"] # 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: "シングルボンド"] # phrase(a 'single bond' is formed when two atoms share one pair of electrons) + - else_if: ".='=' or .='∷'" + then: [t: "ダブルボンド"] # phrase(a 'double bond' may occur when two atoms share two pairs of electrons) + - else_if: ".='≡'" + then: [t: "トリプルボンド"] # phrase(a 'triple bond' occurs when two atoms share three pairs of electrons) + - else_if: ".='≣'" + then: [t: "四倍の結束"] # 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: "フォーム"] # phrase(hydrogen and oxygen 'forms' water ) + else: [t: "フォームに反応する"] # phrase(hydrogen and oxygen 'reacts to form' water) + - else_if: ".='⇌' or .='🣑'" # U+01F8D1 + then: [t: "との平衡にあります"] # phrase(a reactant 'is in equilibrium with' a product) + - else_if: ".='🣓'" # U+1F8D3 + then: [t: "平衡は左に偏ります"] # phrase(the reactant 'is in equilibrium biased to the left with' the product) + - else_if: ".='🣒'" # U+1F8D2 + then: [t: "と右に偏った平衡にある"] # 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/ja/SharedRules/geometry.yaml b/Rules/Languages/ja/SharedRules/geometry.yaml new file mode 100644 index 000000000..313ef3358 --- /dev/null +++ b/Rules/Languages/ja/SharedRules/geometry.yaml @@ -0,0 +1,80 @@ +--- + +- name: line-segment + tag: line-segment + match: "count(*)=2" + replace: + - test: + if: "$Verbosity='Verbose'" + then: + - t: "ラインセグメントから" # phrase('the line segment from' A to B) + - x: "*[1]" + - t: "に" # phrase(the line segment from A 'to' B) + - x: "*[2]" + else: + - t: "ラインセグメント" # 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: "線から" # phrase('the ray from' A to B) + - x: "*[1]" + - t: "に" # phrase(the ray from A 'to' B) + - x: "*[2]" + else: + - t: "レイ" # phrase(the 'ray'A B) + - x: "*[1]" + - x: "*[2]" + +- name: geometry-arc + tag: arc + match: "count(*)=2" + replace: + - test: + if: "$Verbosity='Verbose'" + then: [ot: ""] # phrase('the' arc A B C) + - t: "アーク" # 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: "角度の測定" # phrase('the measure of the angle' ABC) + else: + - t: "角度の測定" # phrase('measure of angle' ABC) + - x: "*[1]" + - x: "*[2]" + - x: "*[3]" + + +- name: coordinate + tag: coordinate + # Intent forms coordinate($x,...) use @arg and fall through to function-intent / IntentMappings + match: "not(*[@arg])" + replace: + - test: + if: "$Verbosity='Verbose'" + then: [ot: ""] # phrase('the' point at 1, 2) + - t: "ポイント" # phrase(the 'point' at 1, 2) + - test: + if: "$Verbosity='Verbose'" + then: [t: "で"] # phrase('the' point at 1, 2) + - pause: short + - insert: + nodes: "*" + replace: [t: "コンマ", pause: auto] # phrase(f of x 'comma' y) + - pause: short + - test: + if: "($SpeechStyle='ClearSpeak' and $Verbosity='Verbose') or not(IsNode(*[last()],'leaf'))" + then: [t: "エンドポイント"] # phrase(start point, 'end point') diff --git a/Rules/Languages/ja/SharedRules/linear-algebra.yaml b/Rules/Languages/ja/SharedRules/linear-algebra.yaml new file mode 100644 index 000000000..8c2d6feb3 --- /dev/null +++ b/Rules/Languages/ja/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: "" # phrase('the' square root of 25 equals 5) + - t: "行列式" # phrase(the 'determinant' of a matrix) + - test: + if: "$Verbosity!='Terse'" + then: + - t: "の" # phrase(systems 'of' linear equations) + - x: "*[1]" + - test: + if: "not(IsNode(*[1], 'simple')) and $Impairment = 'Blindness'" + then: [t: "末端の 行列式"] # phrase('end determinant' of a matrix) + + +- name: subscripted-norm + tag: subscripted-norm + match: "count(*)=2" + replace: + - test: + if: "$Verbosity='Verbose'" + then: + - t: "" # phrase('the' square root of 25 equals 5) + - x: "*[2]" + - t: "ノルダム" # phrase(the 'norm' can be a measure of distance) + - test: + if: "$Verbosity!='Terse'" + then: + - t: "の" # phrase(systems 'of' linear equations) + - x: "*[1]" diff --git a/Rules/Languages/ja/SimpleSpeak_Rules.yaml b/Rules/Languages/ja/SimpleSpeak_Rules.yaml new file mode 100644 index 000000000..235bc2665 --- /dev/null +++ b/Rules/Languages/ja/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: "マイナス" # phrase(x 'minus' y) + - x: "translate(text(), '-_', '')" + +- name: default + tag: square-root + match: "." + replace: + - test: + if: "$Verbosity!='Terse'" + then: [ot: ""] # phrase('the' square root of x) + - t: "平方根" # phrase(the 'square root' of x) + - test: + if: "$Verbosity!='Terse'" + then: [t: "の"] # phrase(the square root 'of' x) + else: [pause: short] + - x: "*[1]" + - pause: short + - test: + if: "not(IsNode(*[1], 'leaf')) and $Impairment = 'Blindness'" + then: [t: "根号終わり", 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: "平方根"] # phrase(the 'square root' of x) + - else_if: "*[2][.='3']" + then: [t: "立方根"] # phrase(the 'cube root' of x) + - else: [x: "ToOrdinal(*[2])", t: "根"] # 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: "根" # phrase(the square 'root' of) + - test: + if: "$Verbosity!='Terse'" + then: [t: "の"] # phrase(the square root 'of' x) + - x: "*[1]" + - pause: short + - test: + if: "not(IsNode(*[1], 'leaf')) and $Impairment = 'Blindness'" + then: [t: "根号終わり", 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: "パーカー" # 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: "分の" # phrase(the fraction 3 'over' 4) + - x: "*[2]" + - pause: short + +- name: default + tag: fraction + match: "." + replace: + - test: + if: "$Impairment = 'Blindness'" + then: [t: "分数"] # phrase(the 'fraction' 3 over 4) + - pause: short + - x: "*[1]" + - test: + if: "not(IsNode(*[1],'leaf'))" + then: [pause: short] + - t: "分の" # 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: "分数終わり"] # 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: "インバース" # 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: "スクエア"] # phrase(5 'squared' equals 25) + else: [t: "キューブド"] # 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: ""] # # 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: "パワーの" # 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: "スクエア"] # phrase(5 'squared' equals 25) + else: [t: "キューブド"] # phrase(5 'cubed' equals 125) + +- name: simple-integer + tag: power + match: "*[2][self::m:mn][not(contains(., '.'))]" + replace: + - x: "*[1]" + - t: "の" # 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: "の" # 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: "の" # 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: "の" # 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: "に上げられた" # phrase(15 'raised to the' second power equals 225) + - x: "*[2]" + - pause: short + - test: + if: "$Impairment = 'Blindness'" + then: + - t: "エンド指数" # 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: "に上げられた" # phrase(15 'raised to the' second power equals 225) + - x: "*[2]" + - t: "パワー" # 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: ""] # phrase('the' empty set) + - t: "空のセット" # 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: ""] # phrase('the' set of all integers) + - t: "すべてのセット" # phrase(the 'set of all' positive integers less than 10) + - x: "*[1]/*[1]" + - t: "そのようなこと" # phrase(x 'such that' x is less than y) + - x: "*[1]/*[3]" + else: + - test: + if: "$Verbosity!='Terse'" + then: [t: ""] # phrase('the' set of integers) + - t: "セット" # 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: "掛ける" # 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/ja/definitions.yaml b/Rules/Languages/ja/definitions.yaml new file mode 100644 index 000000000..eea642ea3 --- /dev/null +++ b/Rules/Languages/ja/definitions.yaml @@ -0,0 +1,576 @@ +--- +- include: "../../definitions.yaml" + +# IntentMappings Syntax: +# +# This section defines how each "intent" is spoken for various grammatical forms (fixities such as "prefix", "infix", "postfix", and "function"), +# along with supporting different verbosity levels. +# The syntax is a little bit complicated, but allows a declarative syntax so you don't have to write as many rules. +# +# For each intent, you specify spoken forms for one or more fixities using the syntax below. +# +# - Each mapping has the form: +# "": "= || = || ...", +# or just +# "": "", +# where is used for all forms if fixity and '=' are omitted. +# +# - If an intent has multiple fixities, separate them with "||". Spaces are allowed around delimiters for readability. +# - If only one ":" is present in **, it provides the 'terse' form, and the following string is used for both 'medium' and 'verbose'. +# - If more than one ":" is present, the string is split into 'terse', 'medium', and 'verbose' forms, in that order (each separated by ":"). +# - If no ":" is present, the same spoken form is used for all styles. +# +# - Use semicolons ";" to divide opening, main, and closing bracketing words within a speech string, where such words make sense. +# - If an intent has multiple fixities but a definition does not specify one, the first fixity listed is chosen by default. +# +# Functions and argument glue: +# - The "|" character delimits options describing how to glue arguments together when speaking function arguments. +# - Arity templates (multiple "|" options, or one option with ','-separated glue words): glue-word count +# implies arity; the final argument is preceded by "of". Example: "sum | over | from,to" +# - 1 arg: "sum of x" +# - 2 args: "sum over i of x" +# - 3 args: "sum from i to n of x" +# If no option matches the argument count, separators fall back to "comma". +# - Binary separator (exactly one "|" option, no commas in it): after "of", that word joins the two args. +# Example: "quotient": "function=integer part | divided by" → "integer part of x divided by y" +# If there are not exactly two args, separators fall back to "comma" (no real n-ary use of these words). +# +# BNF-like description: +# +# IntentMappingsEntry ::= ":" +# +# ::= ( "||" )* +# | +# +# ::= "=" +# +# ::= "prefix" | "infix" | "postfix" | "function" | "nofix" | "silent" +# +# ::= +# | "|" ( "|" )* +# +# ::= text +# # May use ":" to separate terse:medium:verbose forms. +# # May use ";" for bracketing (opening; main; closing). +# +# ::= text +# # One option, no commas: binary separator after "of" (e.g. "divided by"). +# # One option with "," or several "|" options: arity templates +# # (glue-word count = arg_count - 1; last arg preceded by "of"). +# # Unmatched arity (or binary glue with ≠2 args): fall back to "comma". +# +# ::= (applies to all fixities) +# +# Example: +# "absolute-value": "function= ; absolute value: the absolute value: the absolute value; end absolute value" +# "sum": "function=sum | over | from,to" +# "quotient": "function=integer part | divided by" +# +- IntentMappings: { + "binomial": "infix=二項係数; 選ぶ; 二項係数終わり", + + ### Functions and Inverses + # Interval intents (open-/closed-interval, etc.) are handled by rules due to special cases involving ∞. + "inverse":"function=インバース || postfix=インバース", + + "domain": "function=;ドメイン", + "codomain": "function=; 共同ドメイン", + + "image":"function=像", + #"fraction":"function=fraction; over; end fraction", # NOTE: Fails + "mixed-fraction":"infix=および", # NOTE: in website says function, but follow infix speech pattern. + "quotient":"function=整数部 | 割る", + "evaluated-at":"infix=評価される", + "remainder":"function=余り | 割る", + + "max":"function=マックス", + "min":"function=最小値", + + "power":"infix=パワーに", + "root":"function=根", + + "greatest-common-divisor": "function=ジーシーディー:ジーシーディー:最大公約数", + "least-common-multiple":"function=エルシーエム:エルシーエム:最小公倍数", # In webpage typo "lest common" + + "absolute-value": "function=;絶対値:絶対値:絶対値;絶対値", + "complex-conjugate":"function=複雑なコンジュゲート", + "complex-arg":"function=アーグ", + "real-part": "function=実際の部分", + "imaginary-part": "function=想像上の部分:想像上の部分:想像上の部分", + + "polar-coordinate":"function=極の座標", + "spherical-coordinate":"function=球面座標", + "cartesian-coordinate":"function=デカルト座標", + "coordinate":"function=座標", + "floor":"function=床関数", + "ceiling":"function=天井関数", + "round":"function=ラウンド値", + "fractional-part":"function=フラクショナルパーツ", + + + ### Calculus + # "definite-integral":"function=integral over || function=integral from; to", # Property ??? + # "derivative":"function=the derivative; with respect to", # Property ??? + # "partial-derivative":"function=partial", ## Note, included with infix, but separately under calculus tab has ??? for functionality + + "limit": "prefix=限界として:限界として", + "tends-to":"infix=傾向がある", + "tends-to-from-above":"infix=上記から", + "tends-to-from-below":"infix=以下に傾向がある", + + + ### Sets + "set": "function=; セット: セット", + "set-difference":"function=セットの違い | と || infix=マイナス", + "complement":"function=補集合", + "empty-set":"nofix=空のセット", + "cardinality":"function=濃度", # NOTE: does not have a defined speech template in website + "list":"function=リスト", + "tuple": "function=;タプル:タプル", + + + ### Sequence and Series + "sum": "function=総和 | にわたる | から,まで", + "product": "function=総積 | にわたる | から,まで", + + + ### Elementary classical functions + "sine":"function=サイン: 正弦", + "cosine":"function=コス:コサイン", + "tangent":"function=タン: タンジェント", + "secant":"function=種目: 正割", + "cosecant":"function=コセカント: 余割", + "cotangent":"function=コタン:コタント", + + "arcsine":"function=アークシネ", + "arccosine":"function=アルコシン", + "arctangent":"function=アークタンジェント", + "arcsecant":"function=アークセカント", + "arccosecant":"function=アークコンセカント", + "arccotangent":"function=アーク-コタント", + + "hyperbolic-sine":"function=ハイパーボリックサイン: 双曲線正弦", + "hyperbolic-cosine":"function=コッシュ", + "hyperbolic-tangent":"function=タンチ", + "hyperbolic-secant":"function=ハイパーボリックセカント: 双曲線正割", + "hyperbolic-cosecant":"function=ハイパーボリックコセカント: 双曲線余割", + "hyperbolic-cotangent":"function=ハイパーボリックコタンジェント: 双曲線余接", + + "arc-hyperbolic-sine":"function=アークハイパーボリックサイン", + "arc-hyperbolic-cosine":"function=アークコッシュ", + "arc-hyperbolic-tangent":"function=アークハイパーボリックタンジェント", + "arc-hyperbolic-secant":"function=アークハイパーボリックセカント", + "arc-hyperbolic-cosecant":"function=アークハイパーボリックコセカント", + "arc-hyperbolic-cotangent":"function=アークハイパーボリックコタンジェント", + + "exponential":"function=指数関数", + "natural-logarithm": "function=エル エヌ: 自然対数: 自然対数", + "logarithm":"function=対数", ##Check arity 2 + + + ### Statistics and Probability + "mean":"function=平均", + "standard-deviation":"function=標準偏差", + "variance":"function=分散", + "median":"function=中央値", + "mode":"function=モード", + + "conditional-probability":"function=確率 | 与えられた", + + + ### Linear Algebra + "vector": "function=; ベクトル || prefix=ベクトル", # prefix not tested, also prefix not on webpage + "matrix":"function=マトリクス", # NOTE: Failing test, recheck + "determinant":"function=行列式", + "adjugate":"function=アドフゲート", + "magnitude":"function=大きさ", + "norm": "function=;規範:規範:規範;エンド規範", + "span":"function=線形包", + + "unit-vector":"prefix=単位ベクトル", + + "identity-matrix":"nofix=アイデンティティ マトリックス", # NOTE: no function specified + "transpose":"postfix=トランスポーズ || function=トランスポーズ", + "dimensional-product":"infix=によって", # INFIX + + + ### Constants and Sets + "set-of-integers":"nofix=ゼット:すべての整数のセット", + "set-of-reals":"nofix=アール: すべての実数のセット", + "set-of-rationals":"nofix=キュー:すべての有理数の集合", + "set-of-natural-numbers":"nofix=エヌ:すべての自然数の集合", + "set-of-complex-numbers":"nofix=シー:すべての複素数の集合", + "set-of-primes":"nofix=ピー:すべての素数の集合", + + + ### Geometry + "line-segment":"prefix=ラインセグメント", + "directed-line-segment":"prefix=ラインセグメント", + "line":"prefix=ライン", + "ray":"prefix=レイ", + "arc":"prefix=アーク", + + "length":"function=長さ", + "area":"function=エリア", + + "point":"prefix=ポイント", ## NOTE: Has ??? for property in site. Should it be prefix? Or something else. + + ### Separators + "time-separator":"infix=", + + ### General Concepts + "fenced-group":"function=フェンスグループ", # 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=ペア |", # Needs to be tested + # Simple last arg: "x sub k". Complex: "… end sub" (terse/medium) / "end subscript" (verbose) via infix-intent. + "indexed-by": "infix=; サブ; 末尾サブ: 末尾サブスクリプト", + + "highlight":"postfix=ハイライト", + "least-common-denominator":"function=最低の共通のデノミネーター", + "rate":"infix=あたり", + "translation":"function=翻訳:", + "constraint":"infix=;制約を使って;", + + "binomial-coefficient":"infix=選ぶ", + "pochhammer":"function=パーミュテーション", + "permutation-cycle":"function=パーマテーションサイクル", + "embellished-name":"infix=アノテーション", + + ### Grouping + "annotation":"infix=; である;", # NOTE: Follows the same order as indexed-by, in site listed as function. Should it be infix? + "braced-group":"function=グループ化された; グループ化された端", # 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=回転", + "divergence": "function=ダイバージェンス:発散", + "gradient": "function=デル:勾配", + "laplacian": "function=ラプラシアン", + + ## Default fixity prefix + "angle": "prefix=アングル", + "angle-measure": "prefix=角度測定", + "change": "prefix=変更点", + "for-all": "prefix=すべての", + "measured-angle": "prefix=測定角度", + "not": "prefix=でない", + "number-of": "prefix=個数", + "partial-derivative": "prefix=偏微分", + "right-angle": "prefix=直角", + "square-root-of": "prefix=平方根の", + "there-does-not-exist": "prefix=存在しない", + "there-exists": "prefix=そこに存在する", + + + ## Default fixity infix + "and": "infix=および", + "applied-to": "infix=に適用される", + "approximately": "infix=およそ", + "congruent": "infix=合同", + "cartesian-product": "infix=デカルト積", + "composed-with": "infix=構成されると", + "cross-product": "infix=クロス:外積:外積", + "defined-as": "infix=定義する", + "divided-by": "infix=割る", + "divides": "infix=分割する", + "does-not-belong-to": "infix=所属しない", + "does-not-divide": "infix=分割しない", + "dot-product": "infix=内積", + "downwards-diagonal-ellipsis": "infix=下方対角形エリプシ", + "direct-product": "infix=直積", + "element-of": "infix=の要素", + "ellipsis": "infix=エリプシス", + "equals": "infix=イコール", + "equivalent-to": "infix=と同等の", + "evaluates-to": "infix=評価する", + "given": "infix=与えられた", + "greater-than": "infix=より大きい", + "greater-than-or-equal-to": "infix=より大きいか等しいへの", + "identically-equals": "infix=同一の等しい", + "if-and-only-if": "infix=もしもあれば", + "implies": "infix=ならば", + "inner-product": "infix=内積", + "intersection": "infix=共通部分", + "less-than": "infix=より小さい", + "less-than-or-equal-to": "infix=以下", + "list-separator": "infix=コンマ", + "maps-to": "infix=に写る", + "member-of": "infix=に属する", + "minus-or-plus": "infix=マイナスまたはプラス", + "not-subset": "infix=サブセットではなく", + "not-superset": "infix=スーパーセットではない", + "not-equal-to": "infix=等しくない", + "not-member-of": "infix=に属さない", + "not-parallel-to": "infix=並行しない", + "obtained-from": "infix=から得られる", + "or": "infix=または", + "outer-product": "infix=外積", + "parallel-to": "infix=平行へ", + "perpendicular": "infix=垂直へ", + "plus": "infix=プラス || prefix=正の", # Prefix not tested + "minus": "infix=マイナス || prefix=負の", # Prefix not tested + "plus-or-minus": "infix=プラスまたはマイナス", + "precedes": "infix=に先行する", + "proportional": "infix=比例する", + "range-separator": "infix=から", + "ratio": "infix=比率", + "similar": "infix=と同様", + "subset": "infix=サブセット", + "subset-or-equal": "infix=サブセットまたは等しい", + "succeeds": "infix=に後続する", + "such-that": "infix=そのようなこと", + "superset": "infix=スーパーセット", + "superset-or-equal": "infix=スーパーセットまたは等しく", + "tilde": "infix=チルド", + "times": "infix=掛ける", + "union": "infix=和集合", + "upwards-diagonal-ellipsis": "infix=対角のエリプシ", + "vertical-ellipsis": "infix=縦の 省略記号", + "xor": "infix=排他的または", + + ## Default fixity postfix + "factorial": "postfix=ファクシャル", + "percent": "postfix=パーセント", + + ## Default fixity nofix + "diameter":"nofix=ディー: 直径", + "distance":"nofix=ディー; ディー: 間隔", + "probability":"nofix=ピー: 確率 || function=確率", + "radius":"nofix=アール: 半径", + "volume":"nofix=ブイ: ボリューム || function=ボリューム", + "exponential-e":"nofix=イー", + "imaginary-i":"nofix=アイ", + "differential-d":"nofix=ディー", + "golden-ratio":"nofix=黄金比", + + + ## Other : Not tested, don't appear in https://w3c.github.io/mathml-docs/intent-core-concepts/ + "modified-variable": "silent=", + "say-super": "infix=スーパースクリプト:スーパースクリプト", # 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=リム サップ:上極限:上極限", + "lim-inf": "prefix=リム インフ:下極限:下極限", + "logarithm-with-base": "prefix=ログベース:ログベース:ログベース", + # "pochhammer": "infix=permutations of", # arguments are in reverse order, so can't work here + "trace": "function=; トレース:トレース:トレース;終了トレース", + "dimension": "function=;次元:次元:次元;端次元", + "homomorphism": "function=; 準同型: 準同型: 準同型; 準同型終わり", + "kernel": "function=; カーネル : カーネル: カーネル; エンドカーネル", + + "chemistry-concentration": "function=; 濃度: 濃度: 濃度; 濃度終わり", + } + + # 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": "本体; 下限; 上限", + "mfrac": "分子; 分母", + "fraction": "分子; 分母", + "msqrt": "根", + "square-root": "根", + "mroot": "根; 根指数", + "root": "根; 根指数", + "msub": "本体; 下付き文字", + "sub": "本体; 下付き文字", + "logarithm-with-base": "底", + "indexed-by": "本体; 下付き文字", + "msup": "本体; 上付き文字", + "say-super": "本体; 上付き文字", + "skip-super": "本体; 上付き文字", + "power": "底; 指数", + "msubsup": "本体; 下付き文字; 上付き文字", + "munder": "本体; 下限", + "mover": "本体; 上限", + "munderover": "本体; 下限; 上限", + + # 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": "中へ", + "out": "外へ", + } + +- KnownWords: {"Abel"} + +- SIPrefixes: { + "Q": "クエタ", "R": "ロナ", "Y": "ヨタ", "Z": "ゼタ", "E": "エクサ", "P": "ペタ", "T": "テラ", "G": "ギガ", "M": "メガ", "k": "キロ", "h": "ヘクト", "da": "デカ", + "d": "デシ", "c": "センチ", "m": "ミリ", "µ": "マイクロ", "n": "ナノ", "p": "ピコ", "f": "フェムト", "a": "アト", "z": "ゼプト", "y": "ヨクト", "r": "ロント", "q": "クエクト" + } + +# 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": "アンペア", + "cd": "カンデラ", + "K": "ケルビン", "K": "ケルビン", # U+212A + "g": "グラム", + "m": "メートル", # British spelling works for US also + "mol": "モル", + "s": "秒", "sec": "秒", # "sec" not actually legal + + # derived units + "Bq": "ベクレル", + "C": "クーロン", + "°C": "摂氏温度", "℃": "摂氏温度", # should only take negative powers + "F": "ファラド", + "Gy": "グレー", + "H": "ヘンリー", + "Hz": "ヘルツ", + "J": "ジュール", + "kat": "カタール", + "lm": "ルーメン", + "lx": "ルクス", + "N": "ニュートン", + "Ω": "オーム", "Ω": "オーム", # Greek Cap letter, U+2126 OHM SIGN + "Pa": "パスカル", + "S": "シーメンス", + "Sv": "シーベルト", + "T": "テスラ", + "V": "ボルト", + "W": "ワット", + "Wb": "ウェーバ", + + # accepted (plus a few variants) that take SI prefixes + "l": "リットル", "L": "リットル", "ℓ": "リットル", # Should only take negative powers; British spelling works for US also + "t": "トン", # should only take positive powers + "Da": "ダルトン", + "Np": "ネーパ", # should only take negative powers + "u": "原子質量単位", # 'u' is correct: https://en.wikipedia.org/wiki/Dalton_(unit) + "eV": "エレクトロンボルト", + "rad": "ラジアン", # should only take negative powers + "sr": "ステラジアン", # should only take negative powers + + # others that take a prefix + "a": "年", # should only take positive powers + "as": "秒角", # see en.wikipedia.org/wiki/Minute_and_second_of_arc + + # technically wrong, but used in practice with SI Units + "b": "ビット", # should only take positive powers + "B": "バイト", # should only take positive powers + "Bd": "ボー", # should only take positive powers + } + + +- UnitsWithoutPrefixes: { + # time + "″": "秒", "\"": "秒", + "′": "分", "'": "分","min": "分", + "h": "時間", "hr": "時間", "Hr": "時間", + "d": "日", "dy": "日", + "w": "週", "wk": "週", + "y": "年", "yr": "年", + + # angles + "°": "度", "deg": "度", # should only take negative powers + "arcmin": "分角", + "amin": "分角", + "am": "分角", + "MOA": "分角", + "arcsec": "秒角", + "asec": "秒角", + + # distance + "au": "天文単位", "AU": "天文単位", + "ltyr": "光年", "ly": "光年", + "pc": "パーセク", + "Å": "オングストローム", "Å": "オングストローム", # U+00C5 and U+212B + "fm": "フェルミ", + + # others + "ha": "ヘクタール", + # "B": "bel", # "B" more commonly means bytes + "dB": "デシベル", # already logarithmic, so not used with SI prefixes + + "amu": "原子質量単位", + "atm": "気圧", + "bar": "バール", + "cal": "カロリー", + "Ci": "キュリー", + "grad": "グラード", + "M": "モル濃度", + "R": "レントゲン", + "rpm": "1分あたりの回転数", + "℧": "モー", + "dyn": "ダイネ", + "erg": "エルグ", + + # powers of 2 used with bits and bytes + "Kib": "キビビット", "Mib": "メビビット", "Gib": "ギビビット", "Tib": "テビビット", "Pib": "ペビビット", "Eib": "エクスビビット", "Zib": "ゼビビット", "Yib": "ヨビビット", + "KiB": "キビバイト", "MiB": "メビバイト", "GiB": "ギビバイト", "TiB": "テビバイト", "PiB": "ペビバイト", "EiB": "エクスビバイト", "ZiB": "ゼビバイト", "YiB": "ヨビバイト", + } + + # this will only be used if the language is English, so it can be empty for other countries +- EnglishUnits: {"in": "インチ"} + +- CurrencySymbols: { + "$": "ドル", "¢": "セント", "€": "ユーロ", "£": "ポンド", "₡": "コロン", "₤": "リラ", "₨": "ルピー", + "₩": "ウォン", "₪": "シェケル", "₱": "ペソ", "₹": "ルピー", "₺": "リラ", "₿": "ビットコイン", + # could add more currencies... + } + +- PluralForms: {"秒": "秒"} + +# 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: [ + "ゼロ", "一", "二", "三", "四", "五", "六", "七", "八", "九", + "十", "十一", "十二", "十三", "十四", "十五", "十六", "十七", "十八", "十九" + ] + +- NumbersOrdinalOnes: [ + "第ゼロ", "第一", "第二", "第三", "第四", "第五", "第六", "第七", "第八", "第九", + "第十", "第十一", "第十二", "第十三", "第十四", "第十五", "第十六", "第十七", "第十八", "第十九" + ] + +- NumbersOrdinalPluralOnes: [ + "第ゼロ", "第一", "第二", "第三", "第四", "第五", "第六", "第七", "第八", "第九", + "第十", "第十一", "第十二", "第十三", "第十四", "第十五", "第十六", "第十七", "第十八", "第十九" + ] + +- NumbersOrdinalFractionalOnes: ["ゼロ", "一", "二分の一"] +- NumbersOrdinalFractionalPluralOnes: ["ゼロ", "一", "二分の一"] + +- NumbersTens: ["", "十", "二十", "三十", "四十", "五十", "六十", "七十", "八十", "九十"] +- NumbersOrdinalTens: ["", "第十", "第二十", "第三十", "第四十", "第五十", "第六十", "第七十", "第八十", "第九十"] +- NumbersOrdinalPluralTens: ["", "第十", "第二十", "第三十", "第四十", "第五十", "第六十", "第七十", "第八十", "第九十"] + +- NumbersHundreds: ["", "百", "二百", "三百", "四百", "五百", "六百", "七百", "八百", "九百"] +- NumbersOrdinalHundreds: ["", "第百", "第二百", "第三百", "第四百", "第五百", "第六百", "第七百", "第八百", "第九百"] +- NumbersOrdinalPluralHundreds: ["", "第百", "第二百", "第三百", "第四百", "第五百", "第六百", "第七百", "第八百", "第九百"] + +- NumbersLarge: ["", "千", "百万", "十億", "一兆", "千兆", "百京", "十垓", "一秭", "千秭", "百穣"] +- NumbersOrdinalLarge: ["", "第千", "第百万", "第十億", "第一兆", "第千兆", "第百京", "第十垓", "第一秭", "第千秭", "第百穣"] +- NumbersOrdinalPluralLarge: ["", "第千", "第百万", "第十億", "第一兆", "第千兆", "第百京", "第十垓", "第一秭", "第千秭", "第百穣"] diff --git a/Rules/Languages/ja/navigate.yaml b/Rules/Languages/ja/navigate.yaml new file mode 100644 index 000000000..a889a0109 --- /dev/null +++ b/Rules/Languages/ja/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: "すべての方法でズームアウト", pause: "medium"] + - else_if: "IsNode(., 'leaf') and starts-with($NavCommand, 'ZoomIn')" + then: + - test: + - if: "string-length(.) = 1" + then: [t: "すべての方法でズーム"] # phrase('zoomed in all of the way') + - else_if: "$NavNodeOffset = 0" + then: [t: "最初の文字にズームイン"] # phrase('zoomed in to first character') + else: [t: "キャラクターにズーム"] # 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: "'move'", CommandOffset: "5"]] # phrase('move' to next entry in table) + - else_if: "starts-with($NavCommand, 'Read')" + then: [set_variables: [Prefix: "'read'", CommandOffset: "5"]] # phrase('read' to next entry in table) + - else_if: "starts-with($NavCommand, 'Describe')" + then: [set_variables: [Prefix: "'describe'", CommandOffset: "9"]] # phrase('describe' to next entry in table) + - test: + if: "$Prefix != ''" + then: + - x: "$Prefix" + - test: + - if: "substring($NavCommand, $CommandOffset) = 'In'" + then: [t: "中へ"] # 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インを最大にしました"] # phrase(zoom 'out all of the way' to see more details) + - else_if: "substring($NavCommand, $CommandOffset) = 'Out'" + then: [t: "インフォメーション"] # 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アウトを最大にしました"] # phrase(zoom 'out all of the way' to see more details) + - else_if: "substring($NavCommand, $CommandOffset) = 'Next'" + then: [t: "アクセス"] # phrase(move to the 'right') + - else_if: "substring($NavCommand, $CommandOffset) = 'Previous'" + then: [t: "左から"] # phrase(move to the 'left') + - else_if: "substring($NavCommand, $CommandOffset) = 'Current'" + then: [t: "最近の投稿"] # phrase(who is the 'current' president) + - else_if: "substring($NavCommand, $CommandOffset) = 'LineStart'" + then: [t: "ラインの先頭へ"] # phrase(move 'to start of line') + - else_if: "substring($NavCommand, $CommandOffset) = 'LineEnd'" + then: [t: "行末まで"] # 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: "コラム" + - 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: "底"] # 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: "プレサブスクリプト"] # phrase(x with 'subscript' 2) + else: [t: "事前原稿"] # phrase(x with 'superscript' 2) + else: + - test: + if: "$NumPrecedingSiblings mod 2 = 0" + then: [t: "上付き文字"] # phrase(x with 'pre-superscript' 2) + else: [t: "下付き文字"] # 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: "パーツ" # 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: "元に戻す ズームイン"] # phrase('undo zoom in') + - else_if: "$PreviousNavCommand = 'ZoomOut'" + then: [t: "元に戻す ズームアウト"] # phrase('undo zoom out') + - else_if: "$PreviousNavCommand = 'ZoomInAll'" + then: [t: "元に戻す すべての方法でズーム"] # phrase('undo zooming in all of the way') + - else_if: "$PreviousNavCommand = 'ZoomOutAll'" + then: [t: "元に戻す ズーム アウト すべて の 方法"] # phrase('undo zooming out all of the way') + - else_if: "$PreviousNavCommand = 'MovePrevious' or $PreviousNavCommand = 'MovePreviousZoom'" + then: [t: "元に戻す 左に移動"] # phrase('undo move left') + - else_if: "$PreviousNavCommand = 'MoveNext' or $PreviousNavCommand = 'MoveNextZoom'" + then: [t: "元に戻す 右に移動"] # phrase('undo move right') + - else_if: "$PreviousNavCommand = 'None'" + then: [t: "前のコマンドはなし"] # 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: "行" # 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: "数学の開始に進む"] # phrase('move to start of math') + - else_if: "$NavCommand = 'MoveLineStart'" + then: [t: "行の先頭に移動"] # phrase('move to start of line') + - else_if: "$NavCommand = 'MoveEnd'" + then: [t: "数学の末尾に移動"] # phrase('move to end of math') + else: [t: "行末まで移動"] # "$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: "行の先頭に移動"] # phrase('move to start of line') + else: [t: "行末まで移動"] # "$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: "テーブルにない" # 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: "左に移動" # phrase('move left') + - pause: short + - test: + if: "$NavVerbosity != 'Terse'" + then: + - t: "コラム" # 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: "前の列がない" # 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: "右に移動" # phrase('move right') + - pause: short + - test: + if: "$NavVerbosity != 'Terse'" + then: + - t: "コラム" # 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: "次の列はありません" # 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: "サインアップ" # phrase('move up' to previous row in the table) + - pause: short + - test: + if: "$NavVerbosity != 'Terse'" + then: + - t: "行" # phrase(the previous 'row' in the table) + - x: "count(../preceding-sibling::*)" + - pause: short + - t: "コラム" # 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: "前の行" # 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: "シフトダウン" # phrase('move down' to the next row in the table) + - pause: short + - test: + if: "$NavVerbosity != 'Terse'" + then: + - t: "行" # phrase(the next 'row' in the table) + - x: "count(../preceding-sibling::*)+2" + - pause: short + - t: "コラム" # 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: "次の行" # 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: "前の行に移動" # 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: "前の行" # 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: "次の行に移動" # 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: "次の行" # 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: "前の列に移動" # phrase('move to previous column' in the table) + - pause: medium + - t: "前の列がない" # 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: "次の列に移動" # phrase('move to next column' in the table) + - pause: medium + - t: "次の列はありません" # 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: "現在のエントリを読む" # phrase('read current entry' in the table) + - pause: medium + - test: + if: "$NavVerbosity != 'Terse'" + then: + - t: "行" # phrase(the previous 'row' in the table) + - x: "count($MTD[1]/../preceding-sibling::*)+1" + - pause: short + - t: "コラム" # 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: "テーブルにない" # 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: "テーブルにない" # 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: "右に移動できません" # 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: "できません。" # phrase('cannot' move right in expression) + - test: + - if: "$NavCommand = 'MoveNext'" + then: [t: "移動"] # phrase('move' to next entry in table) + - else_if: "$NavCommand = 'ReadNext'" + then: [t: "フィードバック"] # phrase('read' next entry in table) + else: [t: "コンテンツ"] # phrase('describe' next entry in table) + - t: "アクセス" # phrase(move 'right') + - pause: short + - t: "数学の終わり" # 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: "コラム" # 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: "左に移動できません" # 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: "数学の始まり" # 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: "左に移動できません" # 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: "コラム" # 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: "キャラクター" # phrase(a mathematical 'character') + - set_variables: [NavMode: "'Character'", ReadZoomLevel: "1"] + - else_if: "$NavMode = 'Character'" + then: + - t: "シンプル" # phrase(a 'simple' way to do something) + - set_variables: [NavMode: "'Simple'", ReadZoomLevel: "1"] + - else: + - t: "強化強化" # phrase(an 'enhanced' way to do something) + - set_variables: [NavMode: "'Enhanced'", ReadZoomLevel: "-1"] + - t: "モード" # 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: "シンプル" # phrase(a 'simple' way to do something) + - set_variables: [NavMode: "'Simple'", ReadZoomLevel: "1"] + - else_if: "$NavMode = 'Character'" + then: + - t: "強化強化" # phrase(an 'enhanced' way to do something) + - set_variables: [NavMode: "'Enhanced'", ReadZoomLevel: "-1"] + - else: + - t: "キャラクター" # phrase(a mathematical 'character') + - set_variables: [NavMode: "'Character'", ReadZoomLevel: "1"] + - t: "モード" # 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: "移動後の表現" # phrase('speak expression after move') + - pause: long + - set_variables: [Overview: "'false'"] + else: + - t: "移動後の式の概要" # 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: "フィードバック"] # phrase('read' next entry in table) + else: [t: "コンテンツ"] # phrase('describe' next entry in table) + - t: "最近の投稿" # 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: "フィードバック"] # phrase('read' next entry in table) + - else_if: "starts-with($NavCommand, 'Describe')" + then: [t: "コンテンツ"] # phrase('describe' next entry in table) + - else_if: "starts-with($NavCommand, 'MoveTo')" + then: [t: "移動する"] # phrase('move to' the next entry in table) + else: [t: "セット"] # phrase('set' the value of the next entry in table) + - t: "プレースホルダー" # 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: "セットプレースホルダー" # 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: "何もない内部" # phrase('inside of nothing more') + - pause: long + - set_variables: [SpeakExpression: "'false'"] + else: + - t: "インスタグラム" # 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: "インスタグラム" # 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/ja/overview.yaml b/Rules/Languages/ja/overview.yaml new file mode 100644 index 000000000..5af73ce21 --- /dev/null +++ b/Rules/Languages/ja/overview.yaml @@ -0,0 +1,120 @@ +--- +# 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: "分の" + - x: "*[2]" + else: + - t: "分数" + +- name: overview-default + tag: [msqrt, "square-root"] + match: "." + replace: + - t: "平方根" + - test: + if: "IsNode(*[1], 'simple')" + then: + - test: + if: "$Verbosity!='Terse'" + then: [t: "の"] + - x: "*[1]" + +- name: overview-default + tag: [mroot, root] + match: "." + replace: + - test: + if: "*[2][self::m:mn]" + then_test: + - if: "*[2][.='2']" + then: [t: "平方根"] + - else_if: "*[2][.='3']" + then: [t: "立方根"] + - else_if: "*[2][not(contains(., '.'))]" + then: [x: "ToOrdinal(*[2])", t: "根"] + 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: "根" + - test: + if: "IsNode(*[1], 'simple')" + then: + - test: + if: "$Verbosity!='Terse'" + then: [t: "の"] + - x: "*[1]" + +- name: matrix-override + tag: mrow + match: + - "*[2][self::m:mtable] and" + - "(IsBracketed(., '(', ')') or IsBracketed(., '[', ']') or IsBracketed(., '|', '|'))" + replace: + - t: "" + - x: count(*[2]/*) + - t: "によって" + - 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: "行列式"] + else: [t: "マトリクス"] + +- name: overview-default + tag: mtable + match: "." + replace: + - t: "" + - x: count(*[2]/*) + - t: "によって" + - x: count(*[2]/*[self::m:mtr][1]/*) + - t: "テーブル" + +- 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: "以下同様" + +- include: "SimpleSpeak_Rules.yaml" diff --git a/Rules/Languages/ja/unicode-full.yaml b/Rules/Languages/ja/unicode-full.yaml new file mode 100644 index 000000000..e2e236b9a --- /dev/null +++ b/Rules/Languages/ja/unicode-full.yaml @@ -0,0 +1,3802 @@ +--- + + + - "¢": [t: "セント"] # 0xa2 + - "£": [t: "ポンド"] # 0xa3 + - "¤": [t: "通貨記号"] # 0xa4 + - "¥": [t: "入会金"] # 0xa5 + - "¦": [t: "壊れたバー"] # 0xa6 + - "§": [t: "セクション"] # 0xa7 + - "¨": [t: "ダブルドット"] # 0xa8 + - "©": [t: "著作権"] # 0xa9 + - "ª": [t: "フェミニン経口インジケータ"] # 0xaa + - "¬": [t: "コメントはありません"] # 0xac + - "«": [t: "左向きのダブルアングルクォートマーク"] # 0xab + - "¯": # 0xaf + - test: + if: "ancestor::m:modified-variable and preceding-sibling::*[1][self::m:mi]" + then: [t: "横線"] + else: [t: "ライン"] + - "²": [t: "2"] # 0xb2 + - "³": [t: "3"] # 0xb3 + - "´": [t: "アキュート"] # 0xb4 + - "µ": [t: "マイクロ"] # 0xb5 + - "¹": [t: "1"] # 0xb9 + - "º": [t: "マスキュリンの口頭表示器"] # 0xb9 + - "·": + - test: + if: "$SpeechStyle != 'ClearSpeak' or $ClearSpeak_MultSymbolDot = 'Auto'" + then: [t: "掛ける"] + else: [t: "ドット"] + - "×": # 0xd7 + - test: + if: "$SpeechStyle != 'ClearSpeak' or $ClearSpeak_MultSymbolX = 'Auto'" + then: [t: "掛ける"] + else_test: + if: $ClearSpeak_MultSymbolX = 'By' + then: [t: "によって"] + else: [t: "クロス"] + - "÷": [t: "割る"] # 0xf7 + - "¡": [t: "無効な除外マーク"] # 0xa1 + - "¶": [t: "段落マーク"] # 0xb6 + - "¿": [t: "逆にされた質問の印"] # 0xbf + + - "ʰ": [t: "修飾子の小さいエイチ"] # 0x2b0 + - "ʱ": [t: "修飾子のホックが付いている小さいエイチ"] # 0x2b1 + - "ʲ": [t: "修飾子の小さいジェー"] # 0x2b2 + - "ʳ": [t: "修飾子の小さいアール"] # 0x2b3 + - "ʴ": [t: "修飾子の小さい回されたアール"] # 0x2b4 + - "ʵ": [t: "修飾子のホックが付いている小さい回されたアール"] # 0x2b5 + - "ʶ": # 0x2b6 + - t: "修飾子の小さいインバーター" + - spell: "translate('R', 'R', 'R')" + + - "ʷ": [t: "修飾子の小さいダブリュー"] # 0x2b7 + - "ʸ": [t: "修飾子の小さいワイ"] # 0x2b8 + - "ʹ": [t: "修飾子のプライム"] # 0x2b9 + - "ʺ": [t: "修飾子の倍のプライム"] # 0x2ba + - "ʻ": [t: "修飾子はコンマを回しました"] # 0x2bb + - "ʼ": [t: "修飾子のアポストロフィ"] # 0x2bc + - "ʽ": [t: "修飾子はコンマを逆転させました"] # 0x2bd + - "ʾ": [t: "修飾子の右の半分リング"] # 0x2be + - "ʿ": [t: "修飾子の左半分リング"] # 0x2bf + - "ˀ": [t: "修飾子の声門停止"] # 0x2c0 + - "ˁ": [t: "修飾子の逆にされた声門停止"] # 0x2c1 + - "˂": [t: "修飾 左矢印ヘッド"] # 0x2c2 + - "˃": [t: "修飾子の右矢印ヘッド"] # 0x2c3 + - "˄": [t: "修飾 上矢印ヘッド"] # 0x2c4 + - "˅": [t: "修飾 ダウンローヘッド"] # 0x2c5 + - "ˆ": [t: "修飾子の円滑なアクセント"] # 0x2c6 + - "ˇ": [t: "チェックイン"] # 0x2c7 + - "ˈ": [t: "修飾子の縦ライン"] # 0x2c8 + - "ˉ": [t: "修飾子マクロン"] # 0x2c9 + - "ˊ": [t: "修飾子のカットのアクセント"] # 0x2ca + - "ˋ": [t: "修飾子の砂利のアクセント"] # 0x2cb + - "ˌ": [t: "修飾子の低い縦ライン"] # 0x2cc + - "ˍ": [t: "修飾子の低いマクロン"] # 0x2cd + - "ˎ": [t: "修飾子の低い砂のアクセント"] # 0x2ce + - "ˏ": [t: "修飾 低カットアクセント"] # 0x2cf + - "ː": [t: "修飾子の三角形のコロン"] # 0x2d0 + - "ˑ": [t: "修飾子の半分の三角形のコロン"] # 0x2d1 + - "˒": [t: "修飾子は右の半分リングを集中しました"] # 0x2d2 + - "˓": [t: "修飾子は左半分リングを集中しました"] # 0x2d3 + - "˔": [t: "修飾 アップ 鋲"] # 0x2d4 + - "˕": [t: "修飾ダウンタック"] # 0x2d5 + - "˖": [t: "修飾子と印"] # 0x2d6 + - "˗": [t: "修飾子マイナスサイン"] # 0x2d7 + - "˘": [t: "ブリーブ"] # 0x2d8 + - "˙": [t: "ドット"] # 0x2d9 + - "˚": [t: "上記リング"] # 0x2da + - "˛": [t: "オガネク"] # 0x2db + - "˜": [t: "小さなチルド"] # 0x2dc + - "˝": [t: "ダブルカットアクセント"] # 0x2dd + - "˞": [t: "修飾子 アール音性 ホック"] # 0x2de + - "˟": [t: "修飾子十字のアクセント"] # 0x2df + - "ˠ": [t: "修飾子の小さいガンマ"] # 0x2e0 + - "ˡ": [t: "修飾子の小さいエル"] # 0x2e1 + - "ˢ": [t: "修飾子の小さいエス"] # 0x2e2 + - "ˣ": [t: "修飾子の小さいエックス"] # 0x2e3 + - "ˤ": [t: "修飾子の小さい逆の声門停止"] # 0x2e4 + - "˥": [t: "修飾子の余分の高さの調子棒"] # 0x2e5 + - "˦": [t: "修飾子の高い調子棒"] # 0x2e6 + - "˧": [t: "修飾子の中間の調子棒"] # 0x2e7 + - "˨": [t: "修飾子の低い調子棒"] # 0x2e8 + - "˩": [t: "修飾子の余分低い調子棒"] # 0x2e9 + - "˪": [t: "トーンマークを出発する修飾子ジン"] # 0x2ea + - "˫": [t: "トーンマークを出発する修飾子陽"] # 0x2eb + - "ˬ": [t: "修飾子の有声化"] # 0x2ec + - "˭": [t: "修飾子の 無気"] # 0x2ed + - "ˮ": [t: "修飾子の倍のアポストロフィ"] # 0x2ee + - "˯": [t: "修飾子の低い下矢印ヘッド"] # 0x2ef + - "˰": [t: "修飾子の低い上矢印ヘッド"] # 0x2f0 + - "˱": [t: "修飾 低い左の 矢じり"] # 0x2f1 + - "˲": [t: "修飾子の低い右矢印ヘッド"] # 0x2f2 + - "˳": [t: "修飾子の低いリング"] # 0x2f3 + - "˴": [t: "修飾子の中間の砂利のアクセント"] # 0x2f4 + - "˵": [t: "修飾子の中間の倍の砂のアクセント"] # 0x2f5 + - "˶": [t: "修飾子の中間の二重アキュートのアクセント"] # 0x2f6 + - "˷": [t: "修飾子の低いチルダ"] # 0x2f7 + - "˸": [t: "修飾子はコロンを上げました"] # 0x2f8 + - "˹": [t: "修飾子は高い調子を始めます"] # 0x2f9 + - "˺": [t: "修飾子の端の高い調子"] # 0x2fa + - "˻": [t: "修飾子は低い調子を始めます"] # 0x2fb + - "˼": [t: "修飾子の端の低い調子"] # 0x2fc + - "˽": [t: "修飾子の棚"] # 0x2fd + - "˾": [t: "修飾子の開いた棚"] # 0x2fe + - "˿": [t: "修飾子の低い左の矢"] # 0x2ff + - "̀": [t: "砂利アクセント装飾"] # 0x300 + - "́": [t: "アキュート アクセントの装飾"] # 0x301 + - "̂": [t: "円滑なアクセントの装飾"] # 0x302 + - "̃": [t: "チルド装飾"] # 0x303 + - "̄": [t: "マクロン装飾"] # 0x304 + - "̅": [t: "オーバーバー装飾"] # 0x305 + - "̆": [t: "ブリーブ装飾"] # 0x306 + - "̇": [t: "装飾上の点"] # 0x307 + - "̈": [t: "ディアレシス装飾"] # 0x308 + - "̉": [t: "上記装飾上のホック"] # 0x309 + - "̊": [t: "装飾上のリング"] # 0x30a + - "̋": [t: "ダブルカットのアクセント装飾"] # 0x30b + - "̌": [t: "チェックイン"] # 0x30c + - "̍": [t: "装飾上の縦ライン"] # 0x30d + - "̎": [t: "装飾上の二重縦ライン"] # 0x30e + - "̏": [t: "二重砂利のアクセントの装飾"] # 0x30f + - "̐": [t: "カンドラバインド装飾"] # 0x310 + - "̑": [t: "逆にされた勇敢な装飾"] # 0x311 + - "̒": [t: "装飾の上にコンマを回しました"] # 0x312 + - "̓": [t: "装飾上のコンマ"] # 0x313 + - "̔": [t: "逆のコンマよりも装飾"] # 0x314 + - "̕": [t: "右上のコンマ装飾"] # 0x315 + - "̖": [t: "刺繍の下の砂利アクセント"] # 0x316 + - "̗": [t: "アキュート アクセント 下の 装飾"] # 0x317 + - "̘": [t: "刺繍の下左タック"] # 0x318 + - "̙": [t: "刺繍の下に右タック"] # 0x319 + - "̚": [t: "刺繍の上左の角度"] # 0x31a + - "̛": [t: "ホーン装飾"] # 0x31b + - "̜": [t: "左半分のリング下の装飾"] # 0x31c + - "̝": [t: "刺繍の下のタックアップ"] # 0x31d + - "̞": [t: "刺繍下でのタックダウン"] # 0x31e + - "̟": [t: "以下に示す"] # 0x31f + - "̠": [t: "刺繍の下のマイナスの印"] # 0x320 + - "̡": [t: "装飾の下の口蓋化のホック"] # 0x321 + - "̢": [t: "装飾の下レトロフレックスホック"] # 0x322 + - "̣": [t: "刺繍の下の点"] # 0x323 + - "̤": [t: "装飾の下分音記号"] # 0x324 + - "̥": [t: "刺繍の下のリング"] # 0x325 + - "̦": [t: "刺繍の下のコンマ"] # 0x326 + - "̧": [t: "セディーユ 装飾"] # 0x327 + - "̨": [t: "オゴネクの装飾"] # 0x328 + - "̩": [t: "装飾の下の縦ライン"] # 0x329 + - "̪": [t: "刺繍の下橋"] # 0x32a + - "̫": [t: "装飾の下倒された二重アーチ"] # 0x32b + - "̬": [t: "装飾の下カーン"] # 0x32c + - "̭": [t: "装飾の下の円滑なアクセント"] # 0x32d + - "̮": [t: "刺繍の下に収まる"] # 0x32e + - "̯": [t: "装飾の下で反転された勇敢な"] # 0x32f + - "̰": [t: "装飾の下チルデ"] # 0x330 + - "̱": [t: "装飾の下でマクロン"] # 0x331 + - "̲": [t: "低いライン装飾"] # 0x332 + - "̳": [t: "二重低いライン装飾"] # 0x333 + - "̴": [t: "チルドオーバーレイ装飾"] # 0x334 + - "̵": [t: "ショートストロークオーバーレイ装飾"] # 0x335 + - "̶": [t: "ロングストロークオーバーレイ装飾"] # 0x336 + - "̷": [t: "ショートソリッドオーバーレイ装飾"] # 0x337 + - "̸": [t: "長い固体オーバーレイ装飾"] # 0x338 + - "̹": [t: "刺繍の下の右半分のリング"] # 0x339 + - "̺": [t: "装飾の下倒された橋"] # 0x33a + - "̻": [t: "刺繍の下の正方形"] # 0x33b + - "̼": [t: "刺繍の下海峡"] # 0x33c + - "̽": [t: "以上の装飾"] # 0x33d + - "̾": [t: "垂直チルド装飾"] # 0x33e + - "̿": [t: "ダブルオーバーライン装飾"] # 0x33f + - "̀": [t: "墓のトーンマーク装飾"] # 0x340 + - "́": [t: "アキュートトーンマーク装飾"] # 0x341 + - "͆": [t: "橋の上"] # 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: "大文字"] + else: [x: "$SpeechOverrides_CapitalLetters"] + - pitch: + value: "$CapitalLetters_Pitch" + replace: [spell: "translate('.', 'ΪΫϏ', 'ιυϗ')"] + - t: "ダイヤルイン" + - "ϊ": [t: "イオタ と ダイヤル"] # 0x3ca + - "ϋ": [t: "ダイヤルイン(ダイヤルイン)"] # 0x3cb + - "ό": [t: "トノスとオミクロン"] # 0x3cc + - "ύ": [t: "トノスとアップサイロン"] # 0x3cd + - "ώ": [t: "トノとオメガ"] # 0x3ce + - "ϐ": [t: "ベータ"] # 0x3d0 + - "ϑ": [t: "シータ"] # 0x3d1 + - "ϒ": [t: "ホックとアップサイロン"] # 0x3d2 + - "ϓ": [t: "アキュートとホックのアップサイロン"] # 0x3d3 + - "ϔ": [t: "透析とホックのアップサイロン"] # 0x3d4 + - "ϕ": [t: "ファイ"] # 0x3d5 + - "ϖ": [t: "パイ"] # 0x3d6 + - "ϗ": [t: "カイ"] # 0x3d7 + - "Ϙ": [t: "帽子の古代の コッパ"] # 0x3d8 + - "ϙ": [t: "アーキシー・コッパ"] # 0x3d9 + - "ϵ": [t: "エプシロン"] # 0x3f5 + - "϶": [t: "逆エプシロン"] # 0x3f6 + - "А-Я": # 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: "大文字"] + else: [x: "$SpeechOverrides_CapitalLetters"] + - pitch: + value: "$CapitalLetters_Pitch" + replace: [spell: "translate('.', 'АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯ', 'абвгдежзийклмнопрстуфхцчшщъыьэюя')"] + - "а": [t: "は、"] # 0x430 + - "б": [t: "ベー"] # 0x431 + - "в": [t: "ヴェー"] # 0x432 + - "г": [t: "ゲー"] # 0x433 + - "д": [t: "デー"] # 0x434 + - "е": [t: "イェー"] # 0x435 + - "ж": [t: "ジェー"] # 0x436 + - "з": [t: "ゼー"] # 0x437 + - "и": [t: "アイ"] # 0x438 + - "й": [t: "ショート アイ"] # 0x439 + - "к": [t: "カー"] # 0x43a + - "л": [t: "エル"] # 0x43b + - "м": [t: "エム"] # 0x43c + - "н": [t: "エヌ"] # 0x43d + - "о": [t: "オー"] # 0x43e + - "п": [t: "ペー"] # 0x43f + - "р": [t: "エル"] # 0x440 + - "с": [t: "エス"] # 0x441 + - "т": [t: "テー"] # 0x442 + - "у": [t: "ウー"] # 0x443 + - "ф": [t: "インフォメーション"] # 0x444 + - "х": [t: "ハー"] # 0x445 + - "ц": [t: "ツェー"] # 0x446 + - "ч": [t: "チェー"] # 0x447 + - "ш": [t: "シャー"] # 0x448 + - "щ": [t: "シュチャ"] # 0x449 + - "ъ": [t: "堅い印"] # 0x44a + - "ы": [t: "イェル"] # 0x44b + - "ь": [t: "ソフトサイン"] # 0x44c + - "э": [t: "イーメール"] # 0x44d + - "ю": [t: "ユー"] # 0x44e + - "я": [t: "ヤシヤ"] # 0x44f + - "؆": [t: "アラビア語インデックスキューブルート"] # 0x606 + - "؇": [t: "アラビア語インデックス4番目のルート"] # 0x607 + - "؈": [t: "アラビアの線"] # 0x608 + - "‐": [t: "ハイフン"] # 0x2010 + - "‑": [t: "ハイフン"] # 0x2011 + - "‒": [t: "フィギュアダッシュ"] # 0x2012 + - "–": [t: "和文 ダッシュ"] # 0x2013 + - "—": [t: "エム ダッシュ"] # 0x2014 + - "―": [t: "水平バー"] # 0x2015 + - "‖": [t: "二重縦ライン"] # 0x2016 + - "†": [t: "ダッガ"] # 0x2020 + - "‡": [t: "ダブルダガー"] # 0x2021 + + - " - ": [t: " "] # 0x2000 - 0x2007 + + - "•": # 0x2022 + - test: + if: "@data-chem-formula-op" + then: [t: "ドット"] + else: [t: "中黒"] + + - "…": # 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: "ドットドットドットドット"] + else_test: # must have $ClearSpeak_Ellipses = 'AndSoOn' + if: "count(following-sibling::*) = 0" + then: [t: "以下同様"] + else: [t: "まで"] + + - "‰": [t: "ミルキー"] # 0x2030 + - "‱": [t: "1 万あたり"] # 0x2031 + - "′": [t: "プライム"] # 0x2032 + - "″": [t: "ダブルプライム"] # 0x2033 + - "‴": [t: "トリプルプライム"] # 0x2034 + - "‵": [t: "リバースプライム"] # 0x2035 + - "‶": [t: "リバースダブルプライム"] # 0x2036 + - "‷": [t: "逆にされた三重のプライム"] # 0x2037 + - "‸": [t: "の"] # 0x2038 + - "‹": [t: "単一の左の指摘の角度の引用の印"] # 0x2039 + - "›": [t: "単一の右のポイント角の引用の印"] # 0x203a + - "‼": # 0x203c + - test: + if: "ancestor-or-self::*[contains(@data-intent-property, ':literal:')]" + then: [t: "二重排他的なポイント"] # 0x203c + else: [t: "二重要因"] # 0x203c + - "⁄": # 0x2044 + - test: + if: "ancestor-or-self::*[contains(@data-intent-property, ':literal:')]" + then: [t: "大きいスラッシュ"] # 0x203c + else: [t: "割る"] # 0x203c + - "⁅": [t: "キルが付いている左の正方形ブラケット"] # 0x2045 + - "⁆": [t: "キルが付いている右の正方形ブラケット"] # 0x2046 + - "※": [t: "参考マーク"] # 0x203b + - "‿": [t: "ネクタイ"] # 0x203F + - "⁀": [t: "タイ"] # 0x2040 + - "⁎": [t: "低アスタリスク"] # 0x204e + - "⁏": [t: "逆にされたセミコロン"] # 0x204f + - "⁐": [t: "クローズアップ"] # 0x2050 + - "⁑": [t: "2つの垂直アスタリスク"] # 0x2051 + - "⁒": [t: "商用マイナスサイン"] # 0x2052 + - "⁗": [t: "四四四倍のプライム"] # 0x2057 + - "⁠": [t: ""] # 0x2060 + - "⁰": [t: "第ゼロ電力へ"] # 0x2070 + - "ⁱ": [t: "アイ番目のパワーに"] # 0x2071 + - "⁴": [t: "4つの力に"] # 0x2074 + - "⁵": [t: "第5力へ"] # 0x2075 + - "⁶": [t: "第6次電力へ"] # 0x2076 + - "⁷": [t: "第七力に"] # 0x2077 + - "⁸": [t: "8エイチ 力への"] # 0x2078 + - "⁹": [t: "第九の力に"] # 0x2079 + - "⁺": [t: "スーパースクリプトとサイン"] # 0x207a + - "⁻": [t: "スーパースクリプトマイナス"] # 0x207b + - "⁼": [t: "上付き文字 の等しい印"] # 0x207c + - "⁽": [t: "スーパースクリプト左括弧"] # 0x207d + - "⁾": [t: "スーパースクリプト右括弧"] # 0x207e + - "ⁿ": [t: "神秘的な力に"] # 0x207f + - "₀": [t: "サブゼロ"] # 0x2080 + - "₁": [t: "サブ 1"] # 0x2081 + - "₂": [t: "サブ2"] # 0x2082 + - "₃": [t: "サブ3"] # 0x2083 + - "₄": [t: "サブ4"] # 0x2084 + - "₅": [t: "サブ5"] # 0x2085 + - "₆": [t: "サブ 6"] # 0x2086 + - "₇": [t: "サブ 7"] # 0x2087 + - "₈": [t: "サブ 8"] # 0x2088 + - "₉": [t: "サブナイン"] # 0x2089 + - "₊": [t: "サブスクリプトとサイン"] # 0x208a + - "₋": [t: "サブスクリプトマイナス記号"] # 0x208b + - "₌": [t: "サブスクリプト 等しい記号"] # 0x208c + - "₍": [t: "サブスクリプト左括弧"] # 0x208d + - "₎": [t: "サブスクリプト右括弧"] # 0x208e + - "ₐ": [t: "サブ エー"] # 0x2090 + - "ₑ": [t: "サブ イー"] # 0x2091 + - "ₒ": [t: "サブ オー"] # 0x2092 + - "ₓ": [t: "サブエックス"] # 0x2093 + - "ₕ": [t: "サブエイチ"] # 0x2095 + - "ₖ": [t: "サブ ケー"] # 0x2096 + - "ₗ": [t: "サブエル"] # 0x2097 + - "ₘ": [t: "サブ エム"] # 0x2098 + - "ₙ": [t: "サブ エヌ"] # 0x2099 + - "ₚ": [t: "サブ ピー"] # 0x209a + - "ₛ": [t: "サブエス"] # 0x209b + - "ₜ": [t: "サブ ティー"] # 0x209c + - "₠": [t: "欧州の現在の単位"] # 0x20a0 + - "₡": [t: "コロン"] # 0x20a1 + - "₢": [t: "クルゼイロ"] # 0x20a2 + - "₣": [t: "フラン"] # 0x20a3 + - "₤": [t: "リラ"] # 0x20a4 + - "₥": [t: "ミルズ"] # 0x20a5 + - "₦": [t: "ナイラ"] # 0x20a6 + - "₧": [t: "ペセタ"] # 0x20a7 + - "₨": [t: "ルピー"] # 0x20a8 + - "₩": [t: "ウォン"] # 0x20a9 + - "₪": [t: "新しいシーケル"] # 0x20aa + - "₫": [t: "トントン"] # 0x20ab + - "€": [t: "ユーロ"] # 0x20ac + - "₭": [t: "キープ"] # 0x20ad + - "₮": [t: "タグリック"] # 0x20ae + - "₯": [t: "ドラフマ"] # 0x20af + - "₰": [t: "ドイツのペニー"] # 0x20b0 + - "₱": [t: "ピーソス"] # 0x20b1 + - "₲": [t: "グアラニス"] # 0x20b2 + - "₳": [t: "アストラルズ"] # 0x20b3 + - "₴": [t: "クリフニア"] # 0x20b4 + - "₵": [t: "セディ"] # 0x20b5 + - "₶": [t: "リヴェルツアーノワ"] # 0x20b6 + - "₷": [t: "スプエミロス"] # 0x20b7 + - "₸": [t: "テンゲ"] # 0x20b8 + - "₹": [t: "インドルピー"] # 0x20b9 + - "₺": [t: "トルコリラス"] # 0x20ba + - "⃐": [t: "装飾の上に左ハーポオン"] # 0x20d0 + - "⃑": [t: "装飾の上に右ハーポオン"] # 0x20d1 + - "⃒": [t: "長い縦ラインオーバーレイ装飾"] # 0x20d2 + - "⃓": [t: "ショート垂直線オーバーレイ装飾"] # 0x20d3 + - "⃔": [t: "反時計回りの矢印よりも装飾"] # 0x20d4 + - "⃕": [t: "時計回りの矢印よりも装飾"] # 0x20d5 + - "⃖": [t: "刺繍の上に左矢印"] # 0x20d6 + - "⃗": [t: "装飾の上に右矢印"] # 0x20d7 + - "⃘": [t: "リングオーバーレイ装飾"] # 0x20d8 + - "⃙": [t: "時計回りリングオーバーレイ装飾"] # 0x20d9 + - "⃚": [t: "反時計回りリングオーバーレイ装飾"] # 0x20da + - "⃛": [t: "トリプルドット"] # 0x20db + - "⃜": [t: "四重ドット"] # 0x20dc + - "⃝": [t: "円の装飾を囲む"] # 0x20dd + - "⃞": [t: "正方形の装飾を囲む"] # 0x20de + - "⃟": [t: "ダイヤモンドの装飾を囲むこと"] # 0x20df + - "⃠": [t: "円のバックスラッシュ装飾を囲む"] # 0x20e0 + - "⃡": [t: "左矢印の上の装飾"] # 0x20e1 + - "⃢": [t: "スクリーンの装飾を囲むこと"] # 0x20e2 + - "⃣": [t: "キーキャップ装飾を囲む"] # 0x20e3 + - "⃤": [t: "三角形の飾り付けを上向きに囲む"] # 0x20e4 + - "⃥": [t: "リバース固形オーバーレイ装飾"] # 0x20e5 + - "⃦": [t: "ダブルバーチクルストローク装飾"] # 0x20e6 + - "⃧": [t: "アンヌイのシンボル装飾"] # 0x20e7 + - "⃨": [t: "トリプルアンダードット"] # 0x20e8 + - "⃩": [t: "装飾上の広い橋"] # 0x20e9 + - "⃪": [t: "左矢印オーバーレイ装飾"] # 0x20ea + - "⃫": [t: "長い二重固体オーバーレイ装飾"] # 0x20eb + - "⃬": [t: "右 ハーポオン と かぎ ダウン 装飾"] # 0x20ec + - "⃭": [t: "左ハーポオンとバーブダウン装飾"] # 0x20ed + - "⃮": [t: "左矢印下の装飾"] # 0x20ee + - "⃯": [t: "装飾の下の右矢印"] # 0x20ef + - "⃰": [t: "装飾上のアスタリスク"] # 0x20f0 + - "℄": [t: "センターラインシンボル"] # 0x2104 + - "℅": [t: "採用情報"] # 0x2105 + - "℆": [t: "カダナ"] # 0x2106 + - "ℇ": [t: "ユーラーの定数"] # 0x2107 + - "℈": [t: "スクラッチ"] # 0x2108 + - "℉": [t: "度 華氏"] # 0x2109 + - "ℊ": [t: "スクリプト ジー"] # 0x210a + - "ℌℑℨℭ": # 0x210c, 0x2111, 0x2128, 0x212d + - t: "フラクトゥール" + - spell: "translate('.', 'ℌℑℨℭ', 'HIZC')" + + - "ℍℙℾℿ": # 0x210d, 0x2119, 0x213e, 0x213f + - t: "ダブルタック" + - spell: "translate('.', 'ℍℙℾℿ', 'HPΓΠ')" + + - "ℎ": [t: "プランク定数"] # 0x210e + - "ℏ": [t: "エイチバー"] # 0x210f + + - "ℐℒ℘ℬℰℱℳ": # 0x2110, 0x2112, 0x2118, 0x2130, 0x2131, 0x2133 + - t: "スクリプト" + - spell: "translate('.', 'ℐℒ℘ℬℰℱℳ', 'ILPBEFM')" + + - "ℓ": [t: "スクリプト エル"] # 0x2113 + - "℔": [t: "ポンド"] # 0x2114 + - "№": [t: "電話番号"] # 0x2116 + - "℥": [t: "オンス"] # 0x2125 + - "Ω": [t: "オウム"] # 0x2126 + - "℧": [t: "マホス"] # 0x2127 + - "℩": [t: "イオタ を回しました"] # 0x2129 + - "K": [t: "ケビン"] # 0x212a + - "Å": [t: "アンストローム"] # 0x212b + - "ℯ": [t: "スクリプト イー"] # 0x212f + + # coalesced some chars that use cap letters + - "Ⅎ℺⅁⅂⅃⅄": # 0x2132, 0x213a, 0x2141, 0x2142, 0x2143, 0x2144 + - test: + - if: "'.' = '℺'" + then: [t: "回転"] + - else_if: "'.' = 'Ⅎ'" + then: [t: "反転"] + - else_if: "'.' = '⅃'" + then: [t: "逆にされたサンセリフ"] + else: [t: "サンセリフ を回しました"] + - spell: "translate('.', 'Ⅎ℺⅁⅂⅃⅄', 'FQGLLY')" + + - "ℴ": [t: "スクリプト オー"] # 0x2134 + - "ℵ": [t: "最初の半径カード"] # 0x2135 + - "ℶ": [t: "第二のトランフィナイトカード"] # 0x2136 + - "ℷ": [t: "第三のトランフィナイトの枢機卿"] # 0x2137 + - "ℸ": [t: "4つの半径カード"] # 0x2138 + - "ℼ": [t: "ダブルタックパイ"] # 0x213c + - "ℽ": [t: "ダブルタックガンマ"] # 0x213d + - "⅀": [t: "ダブルタックエヌ項召喚"] # 0x2140 + - "⅋": [t: "オンパーサンド"] # 0x214b + - "⅌": [t: "パーカー"] # 0x214c + - "ⅎ": [t: "回されたエフ"] # 0x214e + - "¼": [t: "1 四半期"] # 0x00bc + - "½": [t: "ハーフ"] # 0x00bd + - "¾": [t: "3つの四半期"] # 0x00be + - "⅐": [t: "1 7位"] # 0x2150 + - "⅑": [t: "1 ニンス"] # 0x2151 + - "⅒": [t: "1 10代目"] # 0x2152 + - "⅓": [t: "1 番目の"] # 0x2153 + - "⅔": [t: "2 番目の"] # 0x2154 + - "⅕": [t: "1 位 5 位"] # 0x2155 + - "⅖": [t: "2 番目"] # 0x2156 + - "⅗": [t: "3 番目"] # 0x2157 + - "⅘": [t: "4 番目"] # 0x2158 + - "⅙": [t: "第6回"] # 0x2159 + - "⅚": [t: "5つの6番目の"] # 0x215a + - "⅛": [t: "1つの8時間"] # 0x215b + - "⅜": [t: "3つの8時間"] # 0x215c + - "⅝": [t: "5つの8時間"] # 0x215d + - "⅞": [t: "7 8時間"] # 0x215e + - "⅟": [t: "ワンオーバー"] # 0x215f + - "Ⅰ": [t: "アイ"] # 0x2160 + - "Ⅱ": [t: "アイ アイ"] # 0x2161 + - "Ⅲ": [t: "アイ アイ アイ アイ"] # 0x2162 + - "Ⅳ": [t: "アイ ブイ"] # 0x2163 + - "Ⅴ": [t: "ブイ"] # 0x2164 + - "Ⅵ": [t: "ブイ アイ"] # 0x2165 + - "Ⅶ": [t: "ブイ アイ アイ"] # 0x2166 + - "Ⅷ": [t: "ブイ アイ アイ アイ"] # 0x2167 + - "Ⅸ": [t: "アイ エックス"] # 0x2168 + - "Ⅹ": [t: "エックス"] # 0x2169 + - "Ⅺ": [t: "エックス アイ"] # 0x216a + - "Ⅻ": [t: "エックス アイ アイ"] # 0x216b + - "Ⅼ": [t: "エル"] # 0x216c + - "Ⅽ": [t: "シー"] # 0x216d + - "Ⅾ": [t: "ダイバーシティ"] # 0x216e + - "Ⅿ": [t: "エム"] # 0x216f + - "ⅰ": [t: "アイ"] # 0x2170 + - "ⅱ": [t: "アイ アイ"] # 0x2171 + - "ⅲ": [t: "アイ アイ アイ アイ"] # 0x2172 + - "ⅳ": [t: "アイ ブイ"] # 0x2173 + - "ⅴ": [t: "ブイ"] # 0x2174 + - "ⅵ": [t: "ブイ アイ"] # 0x2175 + - "ⅶ": [t: "ブイ アイ アイ"] # 0x2176 + - "ⅷ": [t: "ブイ アイ アイ アイ"] # 0x2177 + - "ⅸ": [t: "アイ エックス"] # 0x2178 + - "ⅹ": [t: "エックス"] # 0x2179 + - "ⅺ": [t: "エックス アイ"] # 0x217a + - "ⅻ": [t: "エックス アイ アイ"] # 0x217b + - "ⅼ": [t: "エル"] # 0x217c + - "ⅽ": [t: "シー"] # 0x217d + - "ⅾ": [t: "ダイバーシティ"] # 0x217e + - "ⅿ": [t: "エム"] # 0x217f + - "↉": [t: "ゼロ3分の1"] # 0x2189 + - "↔": [t: "左右矢印"] # 0x2194 + - "↕": [t: "上下矢印"] # 0x2195 + - "↖": [t: "北西矢印"] # 0x2196 + - "↗": # 0x2197 + - test: + if: "ancestor::*[2][self::m:limit]" + then: [t: "以下からのアプローチ"] + else: [t: "北東矢印"] + + - "↘": # 0x2198 + - test: + if: "ancestor::*[2][self::m:limit]" + then: [t: "上記からのアプローチ"] + else: [t: "南東矢印"] + + - "↙": [t: "南西矢印"] # 0x2199 + - "↚": [t: "ストロークで左矢印"] # 0x219a + - "↛": [t: "ストロークで右矢印"] # 0x219b + - "↜": [t: "左波矢印"] # 0x219c + - "↝": [t: "右波矢印"] # 0x219d + - "↞": [t: "左2つの見出し矢印"] # 0x219e + - "↟": [t: "2つの見出し矢印"] # 0x219f + - "↠": [t: "右2つの見出し矢印"] # 0x21a0 + - "↡": [t: "2つの見出し矢印を下げる"] # 0x21a1 + - "↢": [t: "尾が付いている左矢印"] # 0x21a2 + - "↣": [t: "尾で右矢印"] # 0x21a3 + - "↤": [t: "バーから左矢印"] # 0x21a4 + - "↥": [t: "バーから矢印を上げる"] # 0x21a5 + - "↦": [t: "バーから右矢印"] # 0x21a6 + - "↧": [t: "棒から下矢印"] # 0x21a7 + - "↨": [t: "ベースで上下矢印"] # 0x21a8 + - "↩": [t: "ホックで左矢印"] # 0x21a9 + - "↪": [t: "ホックで右矢印"] # 0x21aa + - "↫": [t: "ループで左矢印"] # 0x21ab + - "↬": [t: "右矢印とループ"] # 0x21ac + - "↭": [t: "左右波矢印"] # 0x21ad + - "↮": [t: "左右矢印とストローク"] # 0x21ae + - "↯": [t: "ダウン ジグザグ 矢印"] # 0x21af + - "↰": [t: "先端が左に矢印を上げます"] # 0x21b0 + - "↱": [t: "先端の矢印を右にアップ"] # 0x21b1 + - "↲": [t: "先端を左に下矢印"] # 0x21b2 + - "↳": [t: "先端の矢印を右下に"] # 0x21b3 + - "↴": [t: "コーナーダウンで右矢印"] # 0x21b4 + - "↵": [t: "左角で矢印を下ろす"] # 0x21b5 + - "↶": [t: "反時計回りの上半円の矢"] # 0x21b6 + - "↷": [t: "時計回りトップ半円矢印"] # 0x21b7 + - "↸": [t: "北西矢印からロングバーまで"] # 0x21b8 + - "↹": [t: "左矢印 右矢印のバーにバー"] # 0x21b9 + - "↺": [t: "反時計回りの開いた円の矢"] # 0x21ba + - "↻": [t: "時計回りの開いた円の矢"] # 0x21bb + - "↼": [t: "左ハーポオンアップ"] # 0x21bc + - "↽": [t: "左ハーポオンダウン"] # 0x21bd + - "↾": [t: "ハーポオンを右上"] # 0x21be + - "↿": [t: "ハーポオン左上"] # 0x21bf + - "⇀": [t: "右ハーポオンアップ"] # 0x21c0 + - "⇁": [t: "右ハーポオンダウン"] # 0x21c1 + - "⇂": [t: "ダウン ハープーン 右"] # 0x21c2 + - "⇃": [t: "左ハーポオンダウン"] # 0x21c3 + - "⇄": [t: "左矢印の上で右矢印"] # 0x21c4 + - "⇅": [t: "ダウン矢印の左上矢印"] # 0x21c5 + - "⇆": [t: "左矢印を右矢印上に移動"] # 0x21c6 + - "⇇": [t: "左のペア矢印"] # 0x21c7 + - "⇈": [t: "ペアリングされた矢印"] # 0x21c8 + - "⇉": [t: "適切なペアリング矢印"] # 0x21c9 + - "⇊": [t: "ダウンペアリング矢印"] # 0x21ca + - "⇋": [t: "左ハーポオン 右上のハーポオン"] # 0x21cb + - "⇌": [t: "左のハーポオンの上に右ハーポオン"] # 0x21cc + - "⇍": [t: "ストロークで左のダブル矢印"] # 0x21cd + - "⇎": [t: "左右ダブル矢印とストローク"] # 0x21ce + - "⇏": [t: "ストロークで右ダブル矢印"] # 0x21cf + - "⇐": [t: "左ダブル矢印"] # 0x21d0 + - "⇑": [t: "ダブル矢印"] # 0x21d1 + - "⇒": [t: "インパルス"] # 0x21d2 + - "⇓": [t: "ダウンダブル矢印"] # 0x21d3 + - "⇔": [t: "もしもあれば"] # 0x21d4 + - "⇕": [t: "ダウンダブル矢印"] # 0x21d5 + - "⇖": [t: "北西ダブル矢印"] # 0x21d6 + - "⇗": [t: "北東ダブル矢印"] # 0x21d7 + - "⇘": [t: "南東ダブル矢印"] # 0x21d8 + - "⇙": [t: "南西ダブル矢印"] # 0x21d9 + - "⇚": [t: "左トリプル矢印"] # 0x21da + - "⇛": [t: "右トリプル矢印"] # 0x21db + - "⇜": [t: "左スイグル矢印"] # 0x21dc + - "⇝": [t: "右 波形 矢印"] # 0x21dd + - "⇞": [t: "ダブルストロークで矢印を上げる"] # 0x21de + - "⇟": [t: "ダブルストロークで矢印を下げる"] # 0x21df + - "⇠": [t: "左矢印"] # 0x21e0 + - "⇡": [t: "ダッシュ矢印"] # 0x21e1 + - "⇢": [t: "右は矢印をダッシュ"] # 0x21e2 + - "⇣": [t: "ダッシュ矢印ダウン"] # 0x21e3 + - "⇤": [t: "左矢印からバーへ"] # 0x21e4 + - "⇥": [t: "右矢印バーへ"] # 0x21e5 + - "⇦": [t: "左の白い矢印"] # 0x21e6 + - "⇧": [t: "アップホワイト矢印"] # 0x21e7 + - "⇨": [t: "右側の白い矢印"] # 0x21e8 + - "⇩": [t: "ダウンホワイト矢印"] # 0x21e9 + - "⇪": [t: "棒から白い矢印を上げる"] # 0x21ea + - "⇫": [t: "台座の白い矢印"] # 0x21eb + - "⇬": [t: "水平バー付きの台座の白い矢印"] # 0x21ec + - "⇭": [t: "垂直バー付きの台座の白い矢印を上回る"] # 0x21ed + - "⇮": [t: "アップホワイトダブル矢印"] # 0x21ee + - "⇯": [t: "台座の白いダブル矢印"] # 0x21ef + - "⇰": [t: "壁から右白い矢印"] # 0x21f0 + - "⇱": [t: "北西矢印から角へ"] # 0x21f1 + - "⇲": [t: "南東矢印から角へ"] # 0x21f2 + - "⇳": [t: "ダウンホワイト矢印"] # 0x21f3 + - "⇴": [t: "小さな円で右矢印"] # 0x21f4 + - "⇵": [t: "上下矢印左上矢印"] # 0x21f5 + - "⇶": [t: "3つの右矢印"] # 0x21f6 + - "⇷": [t: "垂直ストロークで左矢印"] # 0x21f7 + - "⇸": [t: "垂直ストロークで右矢印"] # 0x21f8 + - "⇹": [t: "左右矢印と垂直ストローク"] # 0x21f9 + - "⇺": [t: "左矢印と2つの垂直ストローク"] # 0x21fa + - "⇻": [t: "二重縦の打撃が付いている右の矢"] # 0x21fb + - "⇼": [t: "左右矢印と2つの垂直ストローク"] # 0x21fc + - "⇽": [t: "左の開いた頭部の矢"] # 0x21fd + - "⇾": [t: "右開いたヘッド矢印"] # 0x21fe + - "⇿": [t: "左右開いたヘッド矢印"] # 0x21ff + - "∀": [t: "すべての"] # 0x2200 + - "∁": # 0x2201 + - test: + if: "$Verbosity!='Terse'" + then: [ot: ""] + - t: "補完" + - "∂": # 0x2202 + - test: + if: "$Verbosity='Terse'" + then: [t: "部分的な"] + else: [t: "部分的な派生物"] + - "∃": [t: "そこに存在する"] # 0x2203 + - "∄": [t: "存在しない"] # 0x2204 + - "∅": [t: "空のセット"] # 0x2205 + - "∆": # 0x2206 + - test: + if: "following-sibling::*" + then_test: + if: "$Verbosity!='Terse'" + then: [t: "ラプラシアン の"] # "LahPlahsian" sounds better than "laplacian" in speech engines tested + else: [t: "ラ・プラハシアン"] + else: [t: "ラ・プラハシアン"] + + - "∇": [t: "ナブラ"] # 0x2207 + - "∉": # 0x2209 + # rule is identical to 0x2208 + - test: + if: "$SpeechStyle != 'ClearSpeak'" + then: [t: "要素ではない"] + # 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: "に含まれない"] + - else_if: $ClearSpeak_SetMemberSymbol = 'Member' + then: [t: "会員でない"] + - else_if: $ClearSpeak_SetMemberSymbol = 'Element' + then: [t: "要素ではない"] + - else: [t: "お持ちでない"] # $ClearSpeak_SetMemberSymbol = 'Belongs' + else_test: + - if: $ClearSpeak_SetMemberSymbol = 'Auto' or $ClearSpeak_SetMemberSymbol = 'Member' + then: [t: "会員でない"] + - else_if: $ClearSpeak_SetMemberSymbol = 'Element' + then: [t: "要素ではない"] + - else_if: $ClearSpeak_SetMemberSymbol = 'In' + then: [t: "ない"] + - else: [t: "所属しない"] # $ClearSpeak_SetMemberSymbol = 'Belongs' + - "∊": # 0x220a + - test: + if: "$SpeechStyle != 'ClearSpeak'" + then: + - test: + if: "$Verbosity!='Terse' and not(parent::m:set)" # "the set x is an element of ..." sounds bad + then: [t: "は"] + - t: "要素の" + # 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: "中へ"] + - else_if: $ClearSpeak_SetMemberSymbol = 'Member' + then: [t: "メンバー"] + - else_if: $ClearSpeak_SetMemberSymbol = 'Element' + then: [t: "要素の"] + - else: [t: "に属する"] # $ClearSpeak_SetMemberSymbol = 'Belongs' + else_test: + - if: $ClearSpeak_SetMemberSymbol = 'Auto' or $ClearSpeak_SetMemberSymbol = 'Member' + then: [t: "メンバー"] + - else_if: $ClearSpeak_SetMemberSymbol = 'Element' + then: [t: "の要素は"] + - else_if: $ClearSpeak_SetMemberSymbol = 'In' + then: [t: "に含まれる"] + - else: [t: "所属団体"] # $ClearSpeak_SetMemberSymbol = 'Belongs' + - "∋": [t: "会員を含む"] # 0x220b + - "∌": [t: "会員は含まない"] # 0x220c + - "∍": [t: "会員を含む"] # 0x220d + - "∎": [t: "証拠の端"] # 0x220e + - "∏": [t: "プロダクト"] # 0x220f + - "∐": [t: "コプロダクト"] # 0x2210 + - "∑": [t: "総和"] # 0x2211 + - "−": [t: "マイナス"] # 0x2212 + - "∓": [t: "マイナスまたはプラス"] # 0x2213 + - "∔": [t: "ドットプラス"] # 0x2214 + - "∕": [t: "割る"] # 0x2215 + - "∖": [t: "セットマイナス"] # 0x2216 + - "∗": [t: "掛ける"] # 0x2217 + - "∘": [t: "構成されると"] # 0x2218 + - "∙": # 0x2219 + - test: + if: "@data-chem-formula-op" + then: [t: "ドット"] + else: [t: "掛ける"] + + - "√": # 0x221a + - test: + if: "$Verbosity!='Terse'" + then: [ot: ""] + - t: "平方根の" + - "∛": # 0x221b + - test: + if: "$Verbosity!='Terse'" + then: [ot: ""] + - t: "キューブの根" + - "∜": # 0x221c + - test: + if: "$Verbosity!='Terse'" + then: [ot: ""] + - t: "第4ルート" + - "∝": # 0x221d + - test: + if: "$Verbosity!='Terse'" + then: [t: "は"] + - t: "比例する" + - "∞": [t: "無限大"] # 0x221e + - "∟": [t: "正しい角度"] # 0x221f + - "∠": [t: "アングル"] # 0x2220 + - "∡": [t: "測定角度"] # 0x2221 + - "∢": [t: "球形の角度"] # 0x2222 + - "∣": [t: "分割する"] # 0x2223 + - "∤": [t: "分割しない"] # 0x2224 + - "∧": [t: "および"] # 0x2227 + - "∨": [t: "または"] # 0x2228 + - "∩": [t: "共通部分"] # 0x2229 + - "∪": [t: "ユニオン"] # 0x222a + - "∫": [t: "積分"] # 0x222b + - "∬": [t: "二重積分"] # 0x222c + - "∭": [t: "トリプルインテグラル"] # 0x222d + - "∮": [t: "輪郭の積分"] # 0x222e + - "∯": [t: "表面の必要な"] # 0x222f + - "∰": [t: "容積の必要な"] # 0x2230 + - "∱": [t: "時計回りの積分"] # 0x2231 + - "∲": [t: "時計回りの輪郭の必要な"] # 0x2232 + - "∳": [t: "反時計回りの輪郭の必要な"] # 0x2233 + - "∴": [t: "ですから"] # 0x2234 + - "∵": [t: "なので"] # 0x2235 + - "∶": # 0x2236 + - test: + if: "$Verbosity!='Terse'" + then: [t: "は"] + - t: "に" + - "∷": [t: "として"] # 0x2237 + - "∸": [t: "ドットマイナス"] # 0x2238 + - "∹": [t: "比較する超過物"] # 0x2239 + - "∺": # 0x223a + - test: + if: "$Verbosity!='Terse'" + then: [t: "は"] + - t: "幾何学的に比例する" + - "∻": # 0x223b + - test: + if: "$Verbosity!='Terse'" + then: [t: "は"] + - t: "均質に" + - "∼": [t: "異なる"] # 0x223c + - "∽": [t: "逆のチルド"] # 0x223d + - "∾": # 0x223e + - test: + if: "$Verbosity!='Terse'" + then: [t: "は"] + - t: "最も肯定的な" + - "∿": [t: "正弦波"] # 0x223f + - "≀": [t: "リース製品"] # 0x2240 + - "≁": [t: "チルデしない"] # 0x2241 + - "≂": [t: "マイナスチルド"] # 0x2242 + - "≃": # 0x2243 + - test: + if: "$Verbosity!='Terse'" + then: [t: "は"] + - t: "漸近的に 等しい へ" + - "≄": # 0x2244 + - test: + if: "$Verbosity!='Terse'" + then: [t: "は"] + - t: "特に等しくない" + - "≅": # 0x2245 + - test: + if: "$Verbosity!='Terse'" + then: [t: "は"] + - t: "合同" + - "≆": # 0x2246 + - test: + if: "$Verbosity!='Terse'" + then: [t: "は"] + - t: "実際には等しくない" + - "≇": # 0x2247 + - test: + if: "$Verbosity!='Terse'" + then: [t: "は"] + - t: "従わない" + - "≈": # 0x2248 + - test: + if: "$Verbosity!='Terse'" + then: [t: "は"] + - t: "およそ等しいへの" + - "≉": # 0x2249 + - test: + if: "$Verbosity!='Terse'" + then: [t: "は"] + - t: "等しくない" + - "≊": # 0x224a + - test: + if: "$Verbosity!='Terse'" + then: [t: "は"] + - t: "およそ等しいですか等しいへの" + - "≋": [t: "トリプルチルド"] # 0x224b + - "≌": [t: "すべて等しい"] # 0x224c + - "≍": # 0x224d + - test: + if: "$Verbosity!='Terse'" + then: [t: "は"] + - t: "と同等の" + - "≎": # 0x224e + - test: + if: "$Verbosity!='Terse'" + then: [t: "は"] + - t: "幾何学的に等しいへの" + - "≏": # 0x224f + - test: + if: "$Verbosity!='Terse'" + then: [ot: ""] + - t: "の違い" + - "≐": [t: "限界に近づく"] # 0x2250 + - "≑": # 0x2251 + - test: + if: "$Verbosity!='Terse'" + then: [t: "は"] + - t: "幾何学的に等しいへの" + - "≒": # 0x2252 + - test: + if: "$Verbosity!='Terse'" + then: [t: "は"] + - t: "またはイメージに等しい" + - "≓": # 0x2253 + - test: + if: "$Verbosity!='Terse'" + then: [t: "です。"] + - t: "または約等しいイメージ" + - "≔": [t: "コロンイコール"] # 0x2254 + - "≕": [t: "等しいコロン"] # 0x2255 + - "≖": [t: "等しいリング"] # 0x2256 + - "≗": # 0x2257 + - test: + if: "$Verbosity!='Terse'" + then: [t: "は"] + - t: "およそ等しいへの" + - "≘": [t: "対応する"] # 0x2258 + - "≙": [t: "見積り"] # 0x2259 + - "≚": # 0x225a + - test: + if: "$Verbosity!='Terse'" + then: [t: "は"] + - t: "等角への" + - "≛": [t: "星の等しい"] # 0x225b + - "≜": [t: "デルタ同等物"] # 0x225c + - "≝": [t: "定義される"] # 0x225d + - "≞": # 0x225e + - test: + if: "$Verbosity!='Terse'" + then: [t: "は"] + - t: "によって測定される" + - "≟": [t: "未知の関係を持つ"] # 0x225f + - "≠": # 0x2260 + - test: + if: "$Verbosity!='Terse'" + then: [t: "は"] + - t: "等しくない" + - "≡": # 0x2261 + - test: + if: "$Verbosity!='Terse'" + then: [t: "は"] + - t: "同じ" + - "≢": # 0x2262 + - test: + if: "$Verbosity!='Terse'" + then: [t: "は"] + - t: "同一ではない" + - "≣": # 0x2263 + - test: + if: "$Verbosity!='Terse'" + then: [t: "は"] + - t: "厳密に等価" + - "≦": [t: "等しいへのより少し"] # 0x2266 + - "≧": [t: "等しいよりも大きい"] # 0x2267 + - "≨": # 0x2268 + - test: + if: "$Verbosity!='Terse'" + then: [t: "は"] + - t: "より少しが等しくない" + - "≩": # 0x2269 + - test: + if: "$Verbosity!='Terse'" + then: [t: "は"] + - t: "より大きいが等しくない" + - "≪": # 0x226a + - test: + if: "$Verbosity!='Terse'" + then: [t: "は"] + - t: "より少しより" + - "≫": # 0x226b + - test: + if: "$Verbosity!='Terse'" + then: [t: "は"] + - t: "より大きい" + - "≬": # 0x226c + - test: + if: "$Verbosity!='Terse'" + then: [t: "は"] + - t: "間の距離" + - "≭": # 0x226d + - test: + if: "$Verbosity!='Terse'" + then: [t: "は"] + - t: "等価ではない" + - "≮": # 0x226e + - test: + if: "$Verbosity!='Terse'" + then: [t: "は"] + - t: "以下" + - "≯": # 0x226f + - test: + if: "$Verbosity!='Terse'" + then: [t: "は"] + - t: "より大きい" + - "≰": # 0x2270 + - test: + if: "$Verbosity!='Terse'" + then: [t: "は"] + - t: "以下に等しくない" + - "≱": # 0x2271 + - test: + if: "$Verbosity!='Terse'" + then: [t: "は"] + - t: "大きくても等しくない" + - "≲": # 0x2272 + - test: + if: "$Verbosity!='Terse'" + then: [t: "は"] + - t: "以下と同等の" + - "≳": # 0x2273 + - test: + if: "$Verbosity!='Terse'" + then: [t: "は"] + - t: "以上のものまたは同等のもの" + - "≴": # 0x2274 + - test: + if: "$Verbosity!='Terse'" + then: [t: "は"] + - t: "以下と同等のもの" + - "≵": # 0x2275 + - test: + if: "$Verbosity!='Terse'" + then: [t: "は"] + - t: "上記と同等のもの" + - "≶": # 0x2276 + - test: + if: "$Verbosity!='Terse'" + then: [t: "は"] + - t: "以下よりも大きい" + - "≷": # 0x2277 + - test: + if: "$Verbosity!='Terse'" + then: [t: "は"] + - t: "以下よりも大きい" + - "≸": # 0x2278 + - test: + if: "$Verbosity!='Terse'" + then: [t: "は"] + - t: "より少なくない" + - "≹": # 0x2279 + - test: + if: "$Verbosity!='Terse'" + then: [t: "は"] + - t: "以下よりも大きい" + - "≺": [t: "プリセット"] # 0x227a + - "≻": [t: "成功事例"] # 0x227b + - "≼": [t: "優先または等しい"] # 0x227c + - "≽": [t: "成功するか、または等しいです"] # 0x227d + - "≾": [t: "優先または同等の"] # 0x227e + - "≿": [t: "成功するか、またはそれに等しいです"] # 0x227f + - "⊀": [t: "予測しない"] # 0x2280 + - "⊁": [t: "成功しない"] # 0x2281 + - "⊂": # 0x2282 + - test: + if: "$Verbosity!='Terse'" + then: [t: "は"] + - t: "サブセット" + - "⊃": # 0x2283 + - test: + if: "$Verbosity!='Terse'" + then: [t: "は"] + - t: "スーパーセット" + - "⊄": # 0x2284 + - test: + if: "$Verbosity!='Terse'" + then: [t: "は"] + - t: "サブセットではなく" + - "⊅": # 0x2285 + - test: + if: "$Verbosity!='Terse'" + then: [t: "は"] + - t: "スーパーセットではない" + - "⊆": # 0x2286 + - test: + if: "$Verbosity!='Terse'" + then: [t: "は"] + - t: "または等しいのサブセット" + - "⊇": # 0x2287 + - test: + if: "$Verbosity!='Terse'" + then: [t: "は"] + - t: "スーパーセットまたは等しく" + - "⊈": # 0x2288 + - test: + if: "$Verbosity!='Terse'" + then: [t: "は"] + - t: "サブセットも等しくない" + - "⊉": # 0x2289 + - test: + if: "$Verbosity!='Terse'" + then: [t: "は"] + - t: "スーパーセットも等しくない" + - "⊊": [t: "等しくないのサブセット"] # 0x228a + - "⊋": [t: "等しくないのスーパーセット"] # 0x228b + - "⊌": [t: "マルチセット"] # 0x228c + - "⊍": [t: "マルチセットの乗算"] # 0x228d + - "⊎": [t: "マルチセットユニオン"] # 0x228e + - "⊏": [t: "正方形のイメージ"] # 0x228f + - "⊐": [t: "スクエアオリジナル"] # 0x2290 + - "⊑": [t: "または等しい正方形のイメージ"] # 0x2291 + - "⊒": [t: "正方形の原物か等しい"] # 0x2292 + - "⊓": [t: "正方形の帽子"] # 0x2293 + - "⊔": [t: "スクエアカップ"] # 0x2294 + - "⊕": [t: "サークルプラス"] # 0x2295 + - "⊖": [t: "サークルマイナス"] # 0x2296 + - "⊗": [t: "サークルタイム"] # 0x2297 + - "⊘": [t: "丸いスラッシュ"] # 0x2298 + - "⊙": [t: "円ドット演算子"] # 0x2299 + - "⊚": [t: "円環リング"] # 0x229a + - "⊛": [t: "サークルアスタリスク"] # 0x229b + - "⊜": [t: "円状の等しい"] # 0x229c + - "⊝": [t: "サークルダッシュ"] # 0x229d + - "⊞": [t: "正方形のプラス"] # 0x229e + - "⊟": [t: "四角形のマイナス"] # 0x229f + - "⊠": [t: "スクエアタイム"] # 0x22a0 + - "⊡": [t: "正方形の点オペレータ"] # 0x22a1 + - "⊢": [t: "証明する"] # 0x22a2 + - "⊣": [t: "収率しない"] # 0x22a3 + - "⊤": [t: "トップトップ"] # 0x22a4 + - "⊦": [t: "削減する"] # 0x22a6 + - "⊧": [t: "モデル"] # 0x22a7 + - "⊨": # 0x22a8 + - test: + if: "$Verbosity!='Terse'" + then: [t: "は"] + - t: "真" + - "⊩": [t: "ミッション"] # 0x22a9 + - "⊪": [t: "トリプル垂直バー右回転木戸"] # 0x22aa + - "⊫": [t: "二重縦棒二重右の回転木戸"] # 0x22ab + - "⊬": [t: "証明しない"] # 0x22ac + - "⊭": # 0x22ad + - test: + if: "$Verbosity!='Terse'" + then: [t: "は"] + - t: "真実ではない" + - "⊮": [t: "強制しない"] # 0x22ae + - "⊯": [t: "無視された二重縦棒の二重右の回転木戸"] # 0x22af + - "⊰": [t: "関係に基づく優先順位"] # 0x22b0 + - "⊱": [t: "関係で成功"] # 0x22b1 + - "⊲": # 0x22b2 + - test: + if: "$Verbosity!='Terse'" + then: [t: "は"] + - t: "通常のサブグループ" + - "⊳": [t: "通常のサブグループとして含まれている"] # 0x22b3 + - "⊴": # 0x22b4 + - test: + if: "$Verbosity!='Terse'" + then: [t: "は"] + - t: "通常のサブグループまたは等しく" + - "⊵": [t: "普通のサブグループとしてまたは等しいとして含んでいます"] # 0x22b5 + - "⊶": # 0x22b6 + - test: + if: "$Verbosity!='Terse'" + then: [t: "は"] + - t: "オリジナル" + - "⊷": # 0x22b7 + - test: + if: "$Verbosity!='Terse'" + then: [t: "は"] + - t: "のイメージ" + - "⊸": [t: "マルチマップ"] # 0x22b8 + - "⊹": [t: "エルミート 共役のマトリックス"] # 0x22b9 + - "⊺": [t: "インターカルト"] # 0x22ba + - "⊻": [t: "排他的論理和"] # 0x22bb + - "⊼": [t: "否定論理積"] # 0x22bc + - "⊽": [t: "ノーザン"] # 0x22bd + - "⊾": [t: "アークとの直角"] # 0x22be + - "⊿": [t: "右三角形"] # 0x22bf + - "⋀": [t: "論理および"] # 0x22c0 + - "⋁": [t: "論理か"] # 0x22c1 + - "⋂": [t: "共通部分"] # 0x22c2 + - "⋃": [t: "ユニオン"] # 0x22c3 + - "⋄": [t: "ダイヤモンドのオペレータ"] # 0x22c4 + - "⋅": # 0x22c5 + - test: + if: "@data-chem-formula-op" + then: [t: "ドット"] + else: [t: "掛ける"] + + - "⋆": [t: "掛ける"] # 0x22c6 + - "⋇": [t: "分裂時間"] # 0x22c7 + - "⋈": [t: "ボウタイ"] # 0x22c8 + - "⋉": # 0x22c9 + - test: + if: "$Verbosity!='Terse'" + then: [t: "は"] + - t: "左の正常な要因半方向プロダクトの" + - "⋊": # 0x22ca + - test: + if: "$Verbosity!='Terse'" + then: [t: "は"] + - t: "右の正常な要因半方向プロダクトの" + - "⋋": # 0x22cb + - test: + if: "$Verbosity!='Terse'" + then: [t: "は"] + - t: "左半方向プロダクトの" + - "⋌": # 0x22cc + - test: + if: "$Verbosity!='Terse'" + then: [t: "は"] + - t: "右半製品" + - "⋍": [t: "逆のチルド等しい"] # 0x22cd + - "⋎": [t: "論理的または"] # 0x22ce + - "⋏": [t: "論理的および"] # 0x22cf + - "⋐": # 0x22d0 + - test: + if: "$Verbosity!='Terse'" + then: [t: "は"] + - t: "二重サブセット" + - "⋑": # 0x22d1 + - test: + if: "$Verbosity!='Terse'" + then: [t: "は"] + - t: "二重スーパーセット" + - "⋒": # 0x22d2 + - test: + if: "$Verbosity!='Terse'" + then: [ot: ""] + - t: "二重交差点" + - "⋓": # 0x22d3 + - test: + if: "$Verbosity!='Terse'" + then: [ot: ""] + - t: "二重連合の" + - "⋔": # 0x22d4 + - test: + if: "$Verbosity!='Terse'" + then: [ot: ""] + - t: "適切な交差点" + - "⋕": # 0x22d5 + - test: + if: "$Verbosity!='Terse'" + then: [t: "は"] + - t: "と並行して" + - "⋖": [t: "点とのより少し"] # 0x22d6 + - "⋗": [t: "点数よりも大きい"] # 0x22d7 + - "⋘": # 0x22d8 + - test: + if: "$Verbosity!='Terse'" + then: [t: "は"] + - t: "非常により少しより" + - "⋙": # 0x22d9 + - test: + if: "$Verbosity!='Terse'" + then: [t: "は"] + - t: "非常に大きいより" + - "⋚": # 0x22da + - test: + if: "$Verbosity!='Terse'" + then: [t: "は"] + - t: "等しくないよりも大きい" + - "⋛": # 0x22db + - test: + if: "$Verbosity!='Terse'" + then: [t: "は"] + - t: "等しいかより少しよりより大きい" + - "⋜": # 0x22dc + - test: + if: "$Verbosity!='Terse'" + then: [t: "は"] + - t: "以下に等しい" + - "⋝": # 0x22dd + - test: + if: "$Verbosity!='Terse'" + then: [t: "は"] + - t: "またはより大きいに等しい" + - "⋞": # 0x22de + - test: + if: "$Verbosity!='Terse'" + then: [t: "は"] + - t: "またはプロシージャに等しい" + - "⋟": # 0x22df + - test: + if: "$Verbosity!='Terse'" + then: [t: "は"] + - t: "等しく、または成功する" + - "⋠": [t: "偽りも同様にない"] # 0x22e0 + - "⋡": [t: "成功しない、等しくない"] # 0x22e1 + - "⋢": [t: "または等しくない正方形のイメージ"] # 0x22e2 + - "⋣": [t: "正方形の原物か等しくない"] # 0x22e3 + - "⋤": [t: "または等しくない正方形のイメージ"] # 0x22e4 + - "⋥": [t: "正方形の原物か等しくない"] # 0x22e5 + - "⋦": # 0x22e6 + - test: + if: "$Verbosity!='Terse'" + then: [t: "は"] + - t: "以下に等しくない" + - "⋧": # 0x22e7 + - test: + if: "$Verbosity!='Terse'" + then: [t: "は"] + - t: "より大きいが等しくない" + - "⋨": [t: "優先するが、等価ではない"] # 0x22e8 + - "⋩": [t: "成功するが、等価ではない"] # 0x22e9 + - "⋪": # 0x22ea + - test: + if: "$Verbosity!='Terse'" + then: [t: "は"] + - t: "通常のサブグループではない" + - "⋫": [t: "通常のサブグループとして含まない"] # 0x22eb + - "⋬": # 0x22ec + - test: + if: "$Verbosity!='Terse'" + then: [t: "は"] + - t: "通常のサブグループではなく、等しい" + - "⋭": [t: "通常のサブグループとして含まないし、等しくない"] # 0x22ed + - "⋮": [t: "縦の 省略記号"] # 0x22ee + - "⋯": [t: "ドットドットドットドット"] # 0x22ef + - "⋰": [t: "対角性エリプシプス"] # 0x22f0 + - "⋱": [t: "対角リプサイ"] # 0x22f1 + - "⋲": [t: "長い水平ストロークの要素"] # 0x22f2 + - "⋳": [t: "横の打撃の端の縦棒が付いている要素"] # 0x22f3 + - "⋴": [t: "横の打撃の端の縦棒が付いている要素"] # 0x22f4 + - "⋵": [t: "点の上の要素"] # 0x22f5 + - "⋶": [t: "オーバーバーの要素"] # 0x22f6 + - "⋷": [t: "オーバーバーの要素"] # 0x22f7 + - "⋸": [t: "アンダーバーの要素"] # 0x22f8 + - "⋹": [t: "2つの水平ストロークの要素"] # 0x22f9 + - "⋺": [t: "長い横の打撃と含んでいます"] # 0x22fa + - "⋻": [t: "横の打撃の端の縦棒と含んでいます"] # 0x22fb + - "⋼": [t: "横の打撃の端の縦棒と含んでいます"] # 0x22fc + - "⋽": [t: "オーバーバーに含まれている"] # 0x22fd + - "⋾": [t: "オーバーバーに含まれている"] # 0x22fe + - "⋿": [t: "ゼットの表記袋の会員"] # 0x22ff + - "⌀": [t: "直径"] # 0x2300 + - "⌁": [t: "電気矢"] # 0x2301 + - "⌂": [t: "ホーム"] # 0x2302 + - "⌃": [t: "アップアローヘッド"] # 0x2303 + - "⌄": [t: "ダウン矢印ヘッド"] # 0x2304 + - "⌅": [t: "プロジェクト"] # 0x2305 + - "⌆": [t: "ビジョン"] # 0x2306 + - "⌇": [t: "波状ライン"] # 0x2307 + - "⌈": [t: "左の天井"] # 0x2308 + - "⌉": [t: "右の天井"] # 0x2309 + - "⌊": [t: "左階フロア"] # 0x230a + - "⌋": [t: "フロアマップ"] # 0x230b + - "⌌": [t: "右下クロップ"] # 0x230c + - "⌍": [t: "一番左のクロップ"] # 0x230d + - "⌎": [t: "右上のクロップ"] # 0x230e + - "⌏": [t: "左上のクロップ"] # 0x230f + - "⌐": [t: "逆に署名しない"] # 0x2310 + - "⌑": [t: "四角ローゼンジ"] # 0x2311 + - "⌒": [t: "アーク"] # 0x2312 + - "⌓": [t: "セグメント"] # 0x2313 + - "⌔": [t: "セクター"] # 0x2314 + - "⌕": [t: "電話レコーダー"] # 0x2315 + - "⌖": [t: "位置インジケータクロスヘア"] # 0x2316 + - "⌗": [t: "ビューデータスクエア"] # 0x2317 + - "⌘": [t: "興味の印の場所"] # 0x2318 + - "⌙": [t: "サインアップしない"] # 0x2319 + - "⌚": [t: "ウォッチ"] # 0x231a + - "⌛": [t: "タイムグラス"] # 0x231b + - "⌜": [t: "トップ左角"] # 0x231c + - "⌝": [t: "右上の角"] # 0x231d + - "⌞": [t: "左下隅"] # 0x231e + - "⌟": [t: "右下角"] # 0x231f + - "⌠": [t: "トップ半積分"] # 0x2320 + - "⌡": [t: "底半分の必要な"] # 0x2321 + - "⌢": [t: "フォーク"] # 0x2322 + - "⌣": [t: "スマイル"] # 0x2323 + - "⌤": [t: "2つの水平バー間の矢印"] # 0x2324 + - "⌥": [t: "オプションキー"] # 0x2325 + - "⌦": [t: "右に消去"] # 0x2326 + - "⌧": [t: "長方形箱のエックス"] # 0x2327 + - "⌨": [t: "キーボード"] # 0x2328 + - "〈": [t: "左ポイント角度ブラケット"] # 0x2329 + - "〉": [t: "右のポイント角ブラケット"] # 0x232a + - "⌫": [t: "左に消去"] # 0x232b + - "⌬": [t: "ベンゼンリング"] # 0x232c + - "⌭": [t: "シリンドリティー"] # 0x232d + - "⌮": [t: "すべてのプロフィール"] # 0x232e + - "⌯": [t: "シンポジウム"] # 0x232f + - "⌰": [t: "総実行"] # 0x2330 + - "⌱": [t: "次元の起源"] # 0x2331 + - "⌲": [t: "円錐タッパー"] # 0x2332 + - "⌳": [t: "スロープ"] # 0x2333 + - "⌴": [t: "カウンターボア"] # 0x2334 + - "⌵": [t: "カウンターシンク"] # 0x2335 + - "⌶": [t: "エーピーエル アイビーム"] # 0x2336 + - "⌽": [t: "エーピーエル サークル タイル"] # 0x233d + - "⌿": [t: "エーピーエル スラッシュバー"] # 0x233f + - "⍰": [t: "未知の箱"] # 0x2370 + - "⍼": [t: "ダウンジグザグ矢印で直角"] # 0x237c + - "⎔": [t: "六角形"] # 0x2394 + - "⎕": [t: "ボックス"] # 0x2395 + - "⎶": [t: "トップスクエアブラケット上のボトムスクエアブラケット"] # 0x23b6 + - "⏜": [t: "トップパーレン"] # 0x23dc + - "⏝": [t: "ボトムパーン"] # 0x23dd + - "⏞": [t: "トップブレイス"] # 0x23de + - "⏟": [t: "底支柱"] # 0x23df + - "⏠": [t: "トップ亀甲シェルブラケット"] # 0x23e0 + - "⏡": [t: "ボトムトータスシェルブラケット"] # 0x23e1 + - "⏢": [t: "白い台形"] # 0x23e2 + - "⏣": [t: "円で右ベンゼン"] # 0x23e3 + - "⏤": [t: "ストレート"] # 0x23e4 + - "⏥": [t: "フラットネス"] # 0x23e5 + - "⏦": # 0x23e6 + - spell: "ac" + - t: "最近の投稿" + - "⏧": [t: "電気交差点"] # 0x23e7 + - "①-⑨": # 0x2460 - 0x2469 + - t: "サークル" + - spell: "translate('.', '①②③④⑤⑥⑦⑧⑨', '123456789')" + - "⑩": [t: "サークル 10"] # 0x2469 + - "⑪": [t: "円 十一"] # 0x246a + - "⑫": [t: "サークル12"] # 0x246b + - "⑬": [t: "円 十三"] # 0x246c + - "⑭": [t: "サークル14"] # 0x246d + - "⑮": [t: "サークル15"] # 0x246e + - "⑯": [t: "サークル16"] # 0x246f + - "⑰": [t: "ラウンド 十七"] # 0x2470 + - "⑱": [t: "サークル18"] # 0x2471 + - "⑳": [t: "サークル20"] # 0x2473 + - "⑴-⑼": # 0x2474 - 0x247d + - t: "チャイルドサイズ" + - spell: "translate('.', '⑴⑵⑶⑷⑸⑹⑺⑻⑼', '123456789')" + - "⑽": [t: "チャイルド10"] # 0x247d + - "⑾": [t: "チャイルドサイズ11"] # 0x247e + - "⑿": [t: "チャイルド12"] # 0x247f + - "⒀": [t: "チャイルドサイズ13"] # 0x2480 + - "⒁": [t: "チャイルドサイズ 16"] # 0x2481 + - "⒂": [t: "チャイルドサイズ 15"] # 0x2482 + - "⒃": [t: "チャイルド16"] # 0x2483 + - "⒄": [t: "チャイルド17"] # 0x2484 + - "⒅": [t: "幼虫18"] # 0x2485 + - "⒆": [t: "チャイルド・ナインティーン"] # 0x2486 + - "⒇": [t: "チャイルド 20"] # 0x2487 + - "⒈-⒐": # 0x2488 - 0x2491 + - spell: "translate('.', '⒈⒉⒊⒋⒌⒍⒎⒏⒐', '123456789')" + - t: "期間" + - "⒑": [t: "期間の10"] # 0x2491 + - "⒒": [t: "期間の11"] # 0x2492 + - "⒓": [t: "期間の12"] # 0x2493 + - "⒔": [t: "期間の13"] # 0x2494 + - "⒕": [t: "期間の14"] # 0x2495 + - "⒖": [t: "期間の15日"] # 0x2496 + - "⒗": [t: "期間の16"] # 0x2497 + - "⒘": [t: "十代の期間"] # 0x2498 + - "⒙": [t: "期間の18"] # 0x2499 + - "⒚": [t: "期間の十九"] # 0x249a + - "⒛": [t: "期間の20"] # 0x249b + - "⒜-⒵": # 0x249c - 0x24b5 + - t: "チャイルドサイズ" + - spell: "translate('.', '⒜⒝⒞⒟⒠⒡⒢⒣⒤⒥⒦⒧⒨⒩⒪⒫⒬⒭⒮⒯⒰⒱⒲⒳⒴⒵', 'abcdefghijklmnopqrstuvwxyz')" + + - "Ⓐ-ⓩ": # 0x24b6 - 0x24cf + - t: "サークル" + - spell: "translate('.', 'ⒶⒷⒸⒹⒺⒻⒼⒽⒾⒿⓀⓁⓂⓃⓄⓅⓆⓇⓈⓉⓊⓋⓌⓍⓎⓏ', 'ABCDEFGHIJKLMNOPQRSTUVWXYZ')" + + - "🅐-🅩": # 0x1f150 - 0x1f169 + - t: "黒丸" + - spell: "translate('.', '🅐🅑🅒🅓🅔🅕🅖🅗🅘🅙🅚🅛🅜🅝🅞🅟🅠🅡🅢🅣🅤🅥🅦🅧🅨🅩', 'ABCDEFGHIJKLMNOPQRSTUVWXYZ')" + + - "ⓐ-ⓩ": # 0x24d0 - 0x24e9 + - t: "サークル" + - spell: "translate('.', 'ⓐⓑⓒⓓⓔⓕⓖⓗⓘⓙⓚⓛⓜⓝⓞⓟⓠⓡⓢⓣⓤⓥⓦⓧⓨⓩ', 'abcdefghijklmnopqrstuvwxyz')" + - "⓪": [t: "円ゼロ"] # 0x24ea + - "⓫": [t: "黒 円 十一"] # 0x24eb + - "⓬": [t: "黒い円 12"] # 0x24ec + - "⓭": [t: "黒 丸 十代"] # 0x24ed + - "⓮": [t: "黒い円の四十四"] # 0x24ee + - "⓯": [t: "黒 丸い 15"] # 0x24ef + - "⓰": [t: "黒い円の十六"] # 0x24f0 + - "⓱": [t: "黒 円 七十七"] # 0x24f1 + - "⓲": [t: "黒い円 18"] # 0x24f2 + - "⓳": [t: "黒い円十九"] # 0x24f3 + - "⓴": [t: "黒の円 20"] # 0x24f4 + - "⓵-⓽": # 0x24f5 - 0x24fe + - t: "ダブルサークル" + - spell: "translate('.', '⓵⓶⓷⓸⓹⓺⓻⓼⓽', '123456789')" + - "⓾": [t: "ダブルサークル10"] # 0x24fe + - "⓿": [t: "黒い円ゼロ"] # 0x24ff + - "■": [t: "ブラックスクエア"] # 0x25a0 + - "□": [t: "白い正方形"] # 0x25a1 + - "▢": [t: "丸みのある角の白い正方形"] # 0x25a2 + - "▣": [t: "小さな黒い正方形を含む白い正方形"] # 0x25a3 + - "▤": [t: "横の盛り土が付いている正方形"] # 0x25a4 + - "▥": [t: "縦の盛り土が付いている正方形"] # 0x25a5 + - "▦": [t: "四角形の十字の盛り土が付いている正方形"] # 0x25a6 + - "▧": [t: "左上の正方形と右下塗り"] # 0x25a7 + - "▨": [t: "左の記入項目を下げる右上の正方形"] # 0x25a8 + - "▩": [t: "斜めの十字の盛り土が付いている正方形"] # 0x25a9 + - "▪": [t: "黒い小さい正方形"] # 0x25aa + - "▫": [t: "白い小さい正方形"] # 0x25ab + - "▬": [t: "黒い長方形"] # 0x25ac + - "▭": [t: "白い長方形"] # 0x25ad + - "▮": [t: "黒い縦の長方形"] # 0x25ae + - "▯": [t: "白い縦の長方形"] # 0x25af + - "▰": [t: "ブラックパラレルグラム"] # 0x25b0 + - "▱": [t: "ホワイトパラレルグラム"] # 0x25b1 + - "▲": [t: "ブラックアップポイント三角形"] # 0x25b2 + - "△": [t: "トライアングル"] # 0x25b3 + - "▴": [t: "小さな三角形を指す黒いアップ"] # 0x25b4 + - "▵": [t: "小さな三角形を指す白い上"] # 0x25b5 + - "▶": [t: "三角形を指す黒い右"] # 0x25b6 + - "▷": [t: "三角形を指す白い右"] # 0x25b7 + - "▸": [t: "小さな三角形を指す黒い右"] # 0x25b8 + - "▹": [t: "小さな三角形を指す白い右"] # 0x25b9 + - "►": [t: "黒い右のポインターを指す"] # 0x25ba + - "▻": [t: "白い右のポインターを指す"] # 0x25bb + - "▼": [t: "ブラックダウンポイント三角形"] # 0x25bc + - "▽": [t: "三角形を指す白いダウン"] # 0x25bd + - "▾": [t: "小さな三角形を指す黒いダウン"] # 0x25be + - "▿": [t: "小さな三角形を指す白いダウン"] # 0x25bf + - "◀": [t: "左黒の三角形"] # 0x25c0 + - "◁": [t: "三角形を指す白い左"] # 0x25c1 + - "◂": [t: "小さな三角形を指す黒い左"] # 0x25c2 + - "◃": [t: "小さな三角形を指す白い左"] # 0x25c3 + - "◄": [t: "黒い左のポインター"] # 0x25c4 + - "◅": [t: "白い左のポインター"] # 0x25c5 + - "◆": [t: "ブラックダイヤモンド"] # 0x25c6 + - "◇": [t: "ホワイトダイヤモンド"] # 0x25c7 + - "◈": [t: "黒い小さいダイヤモンドを含んでいる白いダイヤモンド"] # 0x25c8 + - "◉": [t: "フィッシュアイ"] # 0x25c9 + - "◊": [t: "ロゼンジ"] # 0x25ca + - "○": [t: "白い円"] # 0x25cb + - "◌": [t: "ドットサークル"] # 0x25cc + - "◍": [t: "縦の盛り土が付いている円"] # 0x25cd + - "◎": [t: "ブルズアイ"] # 0x25ce + - "●": [t: "黒い円"] # 0x25cf + - "◐": [t: "左半分の黒い円"] # 0x25d0 + - "◑": [t: "右半分の黒い円"] # 0x25d1 + - "◒": [t: "円の下半分の黒"] # 0x25d2 + - "◓": [t: "上部の半分の黒が付いている円"] # 0x25d3 + - "◔": [t: "右上の象限黒の円"] # 0x25d4 + - "◕": [t: "丸く、左上の象限黒"] # 0x25d5 + - "◖": [t: "左半分黒い円"] # 0x25d6 + - "◗": [t: "右半分黒円"] # 0x25d7 + - "◘": [t: "逆の弾丸"] # 0x25d8 + - "◙": [t: "逆の白い円"] # 0x25d9 + - "◚": [t: "上部の半分の逆の白い円"] # 0x25da + - "◛": [t: "下の半分の逆の白い円"] # 0x25db + - "◜": [t: "左上の象牙円弧"] # 0x25dc + - "◝": [t: "右上のクワラント円形アーク"] # 0x25dd + - "◞": [t: "右下隔離円弧"] # 0x25de + - "◟": [t: "左下隔離円弧"] # 0x25df + - "◠": [t: "上部の半分の円"] # 0x25e0 + - "◡": [t: "下半円"] # 0x25e1 + - "◢": [t: "黒い低い右三角形"] # 0x25e2 + - "◣": [t: "黒下左三角形"] # 0x25e3 + - "◤": [t: "ブラックアッパー左三角形"] # 0x25e4 + - "◥": [t: "黒い上部の右三角形"] # 0x25e5 + - "◦": [t: "コンテンツ"] # 0x25e6 + - "◧": [t: "左半分の黒い正方形"] # 0x25e7 + - "◨": [t: "右の半分の黒が付いている正方形"] # 0x25e8 + - "◩": [t: "左上半分黒の正方形"] # 0x25e9 + - "◪": [t: "右の半分の黒が付いている正方形"] # 0x25ea + - "◫": [t: "分岐ラインが付いている白い正方形"] # 0x25eb + - "◬": [t: "点の三角形をポイントする白"] # 0x25ec + - "◭": [t: "左半分の黒い三角形を指す"] # 0x25ed + - "◮": [t: "右半分の黒で三角形を指す"] # 0x25ee + - "◯": [t: "大きい円"] # 0x25ef + - "◰": [t: "上左の象限物が付いている白い正方形"] # 0x25f0 + - "◱": [t: "左下象限の白い正方形"] # 0x25f1 + - "◲": [t: "右の象限儀が付いている白い正方形"] # 0x25f2 + - "◳": [t: "右上象限の白い正方形"] # 0x25f3 + - "◴": [t: "左上象限の白い円"] # 0x25f4 + - "◵": [t: "左下象限の白い円"] # 0x25f5 + - "◶": [t: "右下検疫で白い円"] # 0x25f6 + - "◷": [t: "右上の象限の白い円"] # 0x25f7 + - "◸": [t: "左上の三角形"] # 0x25f8 + - "◹": [t: "右上の三角形"] # 0x25f9 + - "◺": [t: "左の三角形を下げて下さい"] # 0x25fa + - "◻": [t: "白い中型の正方形"] # 0x25fb + - "◼": [t: "黒い中型の正方形"] # 0x25fc + - "◽": [t: "白い中型の小さい正方形"] # 0x25fd + - "◾": [t: "黒い中型の小さい正方形"] # 0x25fe + - "◿": [t: "右下三角形"] # 0x25ff + - "★": [t: "ブラックスター"] # 0x2605 + - "☆": [t: "ホワイトスター"] # 0x2606 + - "☉": [t: "太陽"] # 0x2609 + - "☌": [t: "組み合わせる"] # 0x260c + - "☒": [t: "エックスの投票箱"] # 0x2612 + - "☽": [t: "ワックス月"] # 0x263d + - "☾": [t: "月を選択"] # 0x263e + - "☿": [t: "水銀"] # 0x263f + - "♀": [t: "女性女性"] # 0x2640 + - "♁": [t: "アース"] # 0x2641 + - "♂": [t: "男性"] # 0x2642 + - "♃": [t: "ジュピター"] # 0x2643 + - "♄": [t: "サターン"] # 0x2644 + - "♅": [t: "ラヌス"] # 0x2645 + - "♆": [t: "ネプチューン"] # 0x2646 + - "♇": [t: "プルート"] # 0x2647 + - "♈": [t: "インフォメーション"] # 0x2648 + - "♉": [t: "タウルス"] # 0x2649 + - "♩": [t: "四半期ノート"] # 0x2669 + - "♭": [t: "フラット"] # 0x266d + - "♮": [t: "ナチュラル"] # 0x266e + - "♯": [t: "シャープ"] # 0x266f + - "♠": [t: "黒い鉱泉のスーツ"] # 0x2660 + - "♡": [t: "ホワイトハートスーツ"] # 0x2661 + - "♢": [t: "白いダイヤモンドのスーツ"] # 0x2662 + - "♣": [t: "ブラッククラブスーツ"] # 0x2663 + - "♤": [t: "白い踏鋤スーツ"] # 0x2664 + - "♥": [t: "ブラックハートスーツ"] # 0x2665 + - "♦": [t: "黒いダイヤモンドのスーツ"] # 0x2666 + - "♧": [t: "ホワイトクラブスーツ"] # 0x2667 + - "⚀": [t: "ダイス 1"] # 0x2680 + - "⚁": [t: "表面を死にます 2"] # 0x2681 + - "⚂": [t: "顔 3"] # 0x2682 + - "⚃": [t: "ダイス 4"] # 0x2683 + - "⚄": [t: "ダイス 5"] # 0x2684 + - "⚅": [t: "顔 6"] # 0x2685 + - "⚆": [t: "点の右側の白い円"] # 0x2686 + - "⚇": [t: "白い円は2つの点を付き"] # 0x2687 + - "⚈": [t: "点と黒の円"] # 0x2688 + - "⚉": [t: "黒い円は2つの点を付き"] # 0x2689 + - "⚪": [t: "中白い円"] # 0x26aa + - "⚫": [t: "中黒い円"] # 0x26ab + - "⚬": [t: "中小白い円"] # 0x26ac + - "⚲": [t: "中性"] # 0x26b2 + - "✓": [t: "チェックマーク"] # 0x2713 + - "✠": [t: "マルタ クロス"] # 0x2720 + - "✪": [t: "サークルホワイトスター"] # 0x272a + - "✶": [t: "6つの尖った黒い星"] # 0x2736 + - "❨": [t: "媒体左の括弧の装飾"] # 0x2768 + - "❩": [t: "中右の括弧の装飾"] # 0x2769 + - "❪": [t: "中平らに左括弧飾り"] # 0x276a + - "❫": [t: "中平らにされた右の括弧の装飾"] # 0x276b + - "❬": [t: "媒体の左ポイント角ブラケットの装飾"] # 0x276c + - "❭": [t: "媒体の直観的な角度ブラケットの装飾"] # 0x276d + - "❮": [t: "重い左ポイント角の引用符の飾り"] # 0x276e + - "❯": [t: "重い直観的な角度の引用の印の装飾"] # 0x276f + - "❰": [t: "重い左向きの角度ブラケットの装飾"] # 0x2770 + - "❱": [t: "重い直面角度ブラケットの装飾"] # 0x2771 + - "❲": [t: "ライト左の亀甲の貝ブラケットの装飾"] # 0x2772 + - "❳": [t: "ライト右の亀甲の貝ブラケットの装飾"] # 0x2773 + - "❴": [t: "媒体の左の支柱の装飾"] # 0x2774 + - "❵": [t: "中右の支柱の装飾"] # 0x2775 + - "❶": [t: "黒丸 1"] # 0x2776 + - "❷": [t: "黒丸2"] # 0x2777 + - "❸": [t: "黒い円 3"] # 0x2778 + - "❹": [t: "黒丸4"] # 0x2779 + - "❺": [t: "黒丸5"] # 0x277a + - "❻": [t: "黒い円6"] # 0x277b + - "❼": [t: "黒丸7"] # 0x277c + - "❽": [t: "黒い円8"] # 0x277d + - "❾": [t: "黒い円9"] # 0x277e + - "❿": [t: "黒丸10"] # 0x277f + - "➀": [t: "丸い サン セリフ 1"] # 0x2780 + - "➁": [t: "丸い サン セリフ 2"] # 0x2781 + - "➂": [t: "丸い サン セリフ 3"] # 0x2782 + - "➃": [t: "丸い サン セリフ 4"] # 0x2783 + - "➄": [t: "丸い サン セリフ 5"] # 0x2784 + - "➅": [t: "丸い サン セリフ 6"] # 0x2785 + - "➆": [t: "丸い サン セリフ 7"] # 0x2786 + - "➇": [t: "丸い サン セリフ 8"] # 0x2787 + - "➈": [t: "丸い サン セリフ 九"] # 0x2788 + - "➉": [t: "丸い サン セリフ 10"] # 0x2789 + - "➊": [t: "黒 丸 サン セリフ 1"] # 0x278a + - "➋": [t: "黒 丸 サン セリフ 2"] # 0x278b + - "➌": [t: "黒 丸 サン セリフ 3"] # 0x278c + - "➍": [t: "黒 丸 サン セリフ 4"] # 0x278d + - "➎": [t: "黒い円のサン セリフ 5"] # 0x278e + - "➏": [t: "黒 丸 サン セリフ 6"] # 0x278f + - "➐": [t: "黒 丸 サン セリフ 7"] # 0x2790 + - "➑": [t: "黒 丸 サン セリフ 8"] # 0x2791 + - "➒": [t: "黒 丸 サン セリフ 九"] # 0x2792 + - "➓": [t: "黒 丸 サン セリフ 10"] # 0x2793 + - "➔": [t: "ヘビーワイドヘッド右矢印"] # 0x2794 + - "➕": [t: "ヘビープラスサイン"] # 0x2795 + - "➖": [t: "重いマイナスの印"] # 0x2796 + - "➗": [t: "重分サイン"] # 0x2797 + - "➘": [t: "重い南東矢印"] # 0x2798 + - "➙": [t: "重い右矢印"] # 0x2799 + - "➚": [t: "重い北東矢印"] # 0x279a + - "➛": [t: "ドラフトポイント右矢印"] # 0x279b + - "➜": [t: "重い丸太右矢印"] # 0x279c + - "➝": [t: "三角形の右矢印"] # 0x279d + - "➞": [t: "重い三角形の右矢印"] # 0x279e + - "➟": [t: "破線 三角形 右矢印"] # 0x279f + - "➠": [t: "重いダッシュ 三角形 - 右矢印"] # 0x27a0 + - "➡": [t: "黒の右矢印"] # 0x27a1 + - "➢": [t: "3 ディー トップ ライト右矢印"] # 0x27a2 + - "➣": [t: "3ディーボトムライト右矢印"] # 0x27a3 + - "➤": [t: "黒右矢印ヘッド"] # 0x27a4 + - "➥": [t: "重黒いカーブダウンと右矢印"] # 0x27a5 + - "➦": [t: "重黒いカーブアップと右矢印"] # 0x27a6 + - "➧": [t: "スクワットブラック右矢印"] # 0x27a7 + - "➨": [t: "重なる凹面の黒の右矢印"] # 0x27a8 + - "➩": [t: "右影白右矢印"] # 0x27a9 + - "➪": [t: "左影右矢印"] # 0x27aa + - "➫": [t: "バックチルトされた影の白い右矢印"] # 0x27ab + - "➬": [t: "フロントタイルのシャドウホワイト右矢印"] # 0x27ac + - "➭": [t: "重い右影白右矢印"] # 0x27ad + - "➮": [t: "ヘビーアッパー右影白右矢印"] # 0x27ae + - "➯": [t: "ノッチダウン右影白右矢印"] # 0x27af + - "➱": [t: "ノッチアッパー右影白右矢印"] # 0x27b1 + - "➲": [t: "円の重い白い右矢印"] # 0x27b2 + - "➳": [t: "白 - 右矢印"] # 0x27b3 + - "➴": [t: "黒と南東の矢印"] # 0x27b4 + - "➵": [t: "黒い羽根付き 右矢印"] # 0x27b5 + - "➶": [t: "黒と北東の矢印"] # 0x27b6 + - "➷": [t: "重い黒 - 吹かれた南東矢印"] # 0x27b7 + - "➸": [t: "重い黒 - 右矢印"] # 0x27b8 + - "➹": [t: "重い黒 - 北東矢印"] # 0x27b9 + - "➺": [t: "涙滴かぎ付き 右矢印"] # 0x27ba + - "➻": [t: "重い涙-シャンク右矢印"] # 0x27bb + - "➼": [t: "くさび尾 右矢印"] # 0x27bc + - "➽": [t: "重いウエッジテール右矢印"] # 0x27bd + - "➾": [t: "オープンアウトライン右矢印"] # 0x27be + - "⟀": [t: "三次元角度"] # 0x27c0 + - "⟁": [t: "小さな白い三角形を含む白い三角形"] # 0x27c1 + - "⟂⊥": # 0x27c2, 22A5 (22A5 wrongly used for perpendicular by most editors) + - test: + - if: "$SpeechStyle = 'LiteralSpeak' and text()='⊥'" # 22A5 (up tack/bottom) + then: [t: "タックアップ"] + - else: + - test: + if: "$Verbosity!='Terse'" + then: [t: "は"] + - t: "垂直へ" + - "⟃": # 0x27c3 + - test: + if: "$Verbosity!='Terse'" + then: [t: "は"] + - t: "開いたサブセット" + - "⟄": # 0x27c4 + - test: + if: "$Verbosity!='Terse'" + then: [t: "は"] + - t: "開いたスーパーセットの" + - "⟅": [t: "左のエス字型バッグの区切り文字"] # 0x27c5 + - "⟆": [t: "右のエス字型バッグの区切り文字"] # 0x27c6 + - "⟇": [t: "または内部の点と"] # 0x27c7 + - "⟈": [t: "サブセット前の逆ソリッド"] # 0x27c8 + - "⟉": [t: "ソリッド前のスーパーセット"] # 0x27c9 + - "⟊": [t: "横の打撃が付いている縦棒"] # 0x27ca + - "⟋": [t: "数学的な上昇の対角"] # 0x27cb + - "⟌": [t: "長い分割"] # 0x27cc + - "⟍": [t: "数学的落下対角"] # 0x27cd + - "⟎": [t: "正方形の論理および"] # 0x27ce + - "⟏": [t: "正方形の論理か"] # 0x27cf + - "⟐": [t: "中心の点が付いている白いダイヤモンド"] # 0x27d0 + - "⟑": [t: "そして点と"] # 0x27d1 + - "⟒": [t: "オープニングの要素"] # 0x27d2 + - "⟓": [t: "点の右下隅"] # 0x27d3 + - "⟔": [t: "点が付いている上の左のコーナー"] # 0x27d4 + - "⟕": [t: "左外側の参加"] # 0x27d5 + - "⟖": [t: "右外側の参加"] # 0x27d6 + - "⟗": [t: "完全な外への参加"] # 0x27d7 + - "⟘": [t: "大きいタック"] # 0x27d8 + - "⟙": [t: "大きいダウン タック"] # 0x27d9 + - "⟚": [t: "左右の二重回転木戸"] # 0x27da + - "⟛": [t: "左右のタック"] # 0x27db + - "⟜": [t: "左マルチマップ"] # 0x27dc + - "⟝": [t: "長い右タック"] # 0x27dd + - "⟞": [t: "長い左のタック"] # 0x27de + - "⟟": [t: "上記の円でタックアップ"] # 0x27df + - "⟠": [t: "横の規則によって分かれるひし形"] # 0x27e0 + - "⟡": [t: "白い凹面の味方されたダイヤモンド"] # 0x27e1 + - "⟢": [t: "左のダニが付いている白い凹面の味方されたダイヤモンド"] # 0x27e2 + - "⟣": [t: "右のダニが付いている白い凹面の味方されたダイヤモンド"] # 0x27e3 + - "⟤": [t: "左のダニが付いている白い正方形"] # 0x27e4 + - "⟥": [t: "右のダニと白い正方形"] # 0x27e5 + - "⟦": [t: "左の白い正方形ブラケット"] # 0x27e6 + - "⟧": [t: "右の白い正方形ブラケット"] # 0x27e7 + - "⟨": [t: "左角ブラケット"] # 0x27e8 + - "⟩": [t: "直角ブラケット"] # 0x27e9 + - "⟪": [t: "左の二重角度ブラケット"] # 0x27ea + - "⟫": [t: "右の二重角度ブラケット"] # 0x27eb + - "⟬": [t: "左の白の亀甲シェルブラケット"] # 0x27ec + - "⟭": [t: "右の白い亀甲の貝ブラケット"] # 0x27ed + - "⟮": [t: "左平坦化括弧"] # 0x27ee + - "⟯": [t: "右フラット 括弧"] # 0x27ef + - "⟰": [t: "最大4倍の矢印"] # 0x27f0 + - "⟱": [t: "ダウン四倍矢印"] # 0x27f1 + - "⟲": [t: "反時計回りは円の矢をギャップさせました"] # 0x27f2 + - "⟳": [t: "時計回りのギャップサークル矢印"] # 0x27f3 + - "⟴": [t: "丸みのある右矢印プラス"] # 0x27f4 + - "⟵": [t: "長い左矢印"] # 0x27f5 + - "⟶": [t: "長い右矢印"] # 0x27f6 + - "⟷": [t: "長い左矢印"] # 0x27f7 + - "⟸": [t: "長い左の二重矢"] # 0x27f8 + - "⟹": [t: "インパルス"] # 0x27f9 + - "⟺": [t: "もしもあれば"] # 0x27fa + - "⟻": [t: "棒から長い左矢印"] # 0x27fb + - "⟼": [t: "棒からの長い右矢印"] # 0x27fc + - "⟽": [t: "棒からの長い左の二重矢"] # 0x27fd + - "⟾": [t: "棒からの長い右二重矢"] # 0x27fe + - "⟿": [t: "長い右スクイズ矢印"] # 0x27ff + - "⤀": [t: "垂直ストロークで右2つの見出し矢印"] # 0x2900 + - "⤁": [t: "右の2は二重縦の打撃が付いている矢印を見出しました"] # 0x2901 + - "⤂": [t: "縦の打撃が付いている左の二重矢"] # 0x2902 + - "⤃": [t: "縦の打撃が付いている右の二重矢"] # 0x2903 + - "⤄": [t: "左右ダブル矢印と垂直ストローク"] # 0x2904 + - "⤅": [t: "棒から右2つの見出し矢印"] # 0x2905 + - "⤆": [t: "バーから左のダブル矢印"] # 0x2906 + - "⤇": [t: "棒から右ダブル矢印"] # 0x2907 + - "⤈": [t: "水平ストロークで矢印を下げる"] # 0x2908 + - "⤉": [t: "水平ストロークで矢印を上げます"] # 0x2909 + - "⤊": [t: "トリプル矢印"] # 0x290a + - "⤋": [t: "トリプル矢印ダウン"] # 0x290b + - "⤌": [t: "左ダブルダッシュ矢印"] # 0x290c + - "⤍": [t: "右ダブルダッシュ矢印"] # 0x290d + - "⤎": [t: "左トリプルダッシュ矢印"] # 0x290e + - "⤏": [t: "右トリプルダッシュ矢印"] # 0x290f + - "⤐": [t: "右2はトリプルダッシュ矢印を見出し"] # 0x2910 + - "⤑": [t: "ドットステムで右矢印"] # 0x2911 + - "⤒": [t: "棒への矢印"] # 0x2912 + - "⤓": [t: "バーに矢印を下げる"] # 0x2913 + - "⤔": [t: "尾および縦の打撃が付いている右の矢"] # 0x2914 + - "⤕": [t: "尾および二重縦の打撃が付いている右の矢"] # 0x2915 + - "⤖": [t: "右の2は尾が付いている矢印を見出しました"] # 0x2916 + - "⤗": [t: "右の2は縦の打撃が付いている尾が付いている矢印を押しました"] # 0x2917 + - "⤘": [t: "右の2は二重縦の打撃が付いている尾が付いている矢印を押しました"] # 0x2918 + - "⤙": [t: "左矢印テール"] # 0x2919 + - "⤚": [t: "右矢印テール"] # 0x291a + - "⤛": [t: "左の二重矢の尾"] # 0x291b + - "⤜": [t: "右ダブル矢印テール"] # 0x291c + - "⤝": [t: "ダイヤモンドを埋めるために左矢印"] # 0x291d + - "⤞": [t: "ダイヤモンドを充填する右矢印"] # 0x291e + - "⤟": [t: "棒から満たされたダイヤモンドへの左矢印"] # 0x291f + - "⤠": [t: "棒から満たされたダイヤモンドへの右矢印"] # 0x2920 + - "⤡": [t: "北西・南東矢印"] # 0x2921 + - "⤢": [t: "北東・南西矢印"] # 0x2922 + - "⤣": [t: "ホックが付いている北西の矢"] # 0x2923 + - "⤤": [t: "ホックが付いている北東の矢"] # 0x2924 + - "⤥": [t: "ホックが付いている南東の矢"] # 0x2925 + - "⤦": [t: "ホックが付いている南西の矢"] # 0x2926 + - "⤧": [t: "北西矢印と北東矢印"] # 0x2927 + - "⤨": [t: "北東矢印と南東矢印"] # 0x2928 + - "⤩": [t: "南東矢印と南西矢印"] # 0x2929 + - "⤪": [t: "南西矢印と北西矢印"] # 0x292a + - "⤫": [t: "上昇の対角交差落下対角"] # 0x292b + - "⤬": [t: "落下対角交差上昇の対角"] # 0x292c + - "⤭": [t: "南東矢印交差北東矢印"] # 0x292d + - "⤮": [t: "南東矢印を渡る北東矢印"] # 0x292e + - "⤯": [t: "北東矢印を渡る斜めの落下"] # 0x292f + - "⤰": [t: "上昇の対角交差南東の矢"] # 0x2930 + - "⤱": [t: "北西矢印を渡る北東矢印"] # 0x2931 + - "⤲": [t: "北東矢印を渡る北西矢印"] # 0x2932 + - "⤳": [t: "波の矢は直接右の指摘します"] # 0x2933 + - "⤴": [t: "矢印は右を指すと、カールアップ"] # 0x2934 + - "⤵": [t: "矢印は右を指し、下に曲がる"] # 0x2935 + - "⤶": [t: "矢印は、左に曲がる"] # 0x2936 + - "⤷": [t: "矢印は、右に曲がる"] # 0x2937 + - "⤸": [t: "右サイドアーク時計回り矢印"] # 0x2938 + - "⤹": [t: "左サイドアーク反時計回り矢印"] # 0x2939 + - "⤺": [t: "トップアーク反時計回り矢印"] # 0x293a + - "⤻": [t: "底アーク反時計回りの矢"] # 0x293b + - "⤼": [t: "トップアーク時計回りの矢印マイナス"] # 0x293c + - "⤽": [t: "トップアーク 反時計回りの矢印とプラス"] # 0x293d + - "⤾": [t: "右下半円時計回り矢印"] # 0x293e + - "⤿": [t: "左の半円の反時計回りの矢を下げて下さい"] # 0x293f + - "⥀": [t: "反時計回り閉鎖した円の矢"] # 0x2940 + - "⥁": [t: "時計回り閉鎖した円矢印"] # 0x2941 + - "⥂": [t: "左矢印の上の右矢印"] # 0x2942 + - "⥃": [t: "右矢印の上の左矢印"] # 0x2943 + - "⥄": [t: "左矢印の上の右矢印"] # 0x2944 + - "⥅": [t: "右矢印と下にプラス"] # 0x2945 + - "⥆": [t: "左矢印と下"] # 0x2946 + - "⥇": [t: "エックスで右矢印"] # 0x2947 + - "⥈": [t: "左右矢印を円で囲む"] # 0x2948 + - "⥉": [t: "円から2つの見出し矢印を上げます"] # 0x2949 + - "⥊": [t: "左バーブアップ右バーブダウンハーポオン"] # 0x294a + - "⥋": [t: "左バーブダウン右バーブアップハーポオン"] # 0x294b + - "⥌": [t: "かぎ を右下へ 左 ハープーン"] # 0x294c + - "⥍": [t: "左バーブバーブの右ハーポオン"] # 0x294d + - "⥎": [t: "左バーブアップ右バーブアップハーポオン"] # 0x294e + - "⥏": [t: "右バーブダウンバーブ右ハーポオン"] # 0x294f + - "⥐": [t: "左バーブダウン右バーブダウンハーポオン"] # 0x2950 + - "⥑": [t: "左バーブバーブバーブ左ハーポオン"] # 0x2951 + - "⥒": [t: "左ハーポオンバーブでバーブアップ"] # 0x2952 + - "⥓": [t: "右 ハーポオン と かぎ まで バーブ"] # 0x2953 + - "⥔": [t: "バーブで港を上る"] # 0x2954 + - "⥕": [t: "ダウン ハープーン と かぎ 右 へ かぎ"] # 0x2955 + - "⥖": [t: "バーブダウンで左のハーポオンをバーブダウン"] # 0x2956 + - "⥗": [t: "右 ハープーン と かぎ ダウン へ かぎ"] # 0x2957 + - "⥘": [t: "左バーブとバーブでハーポオンをアップ"] # 0x2958 + - "⥙": [t: "左バーブとバーブでダウンハーポオン"] # 0x2959 + - "⥚": [t: "左のハーポオンとバーブからバーブアップ"] # 0x295a + - "⥛": [t: "右 ハープーン と かぎ アップ から かぎ"] # 0x295b + - "⥜": [t: "バーからバーブで港を上る"] # 0x295c + - "⥝": [t: "ダウン ハープーン と かぎ 右 から かぎ"] # 0x295d + - "⥞": [t: "バーからバーブダウンで左の港"] # 0x295e + - "⥟": [t: "右 ハープーン と かぎ ダウン から かぎ"] # 0x295f + - "⥠": [t: "バーブを左から左にバーブで港を上る"] # 0x2960 + - "⥡": [t: "左バーブとバーブでダウンハーポオン"] # 0x2961 + - "⥢": [t: "左ハーポオンとバーブの上左ハーポオンとバーブダウン"] # 0x2962 + - "⥣": [t: "右バーブとバーブで左のバーブでハーポオンを上る"] # 0x2963 + - "⥤": [t: "右 ハーポオン と かぎ の上 右 ハープーン と かぎ ダウン"] # 0x2964 + - "⥥": [t: "右バーブとバーブの左下にあるバーブとダウンハーポオン"] # 0x2965 + - "⥦": [t: "左のハーポオンとバーブの上右上のハーポオンとバーブアップ"] # 0x2966 + - "⥧": [t: "左 ハーポオン と かぎ を下 右 ハープーン と かぎ ダウン"] # 0x2967 + - "⥨": [t: "右ハーポオンバーブの上左ハーポオンとバーブアップ"] # 0x2968 + - "⥩": [t: "右 ハーポオン と かぎ ダウン 左 ハープーン と かぎ ダウン"] # 0x2969 + - "⥪": [t: "左のハーポオンとバーブの上長いダッシュ"] # 0x296a + - "⥫": [t: "左 ハーポオン と かぎ 下 長い ダッシュ"] # 0x296b + - "⥬": [t: "長いダッシュの上にバーブと右ハーポオン"] # 0x296c + - "⥭": [t: "長いダッシュの下のバーブが付いている右のハープーン"] # 0x296d + - "⥮": [t: "右バーブとバーブで左のバーブでハーポオンを上る"] # 0x296e + - "⥯": [t: "右バーブとバーブの外側に左バーブとダウンハーポオン"] # 0x296f + - "⥰": [t: "丸みを付けられた頭部が付いている右の二重矢"] # 0x2970 + - "⥱": [t: "右矢印上の等しい"] # 0x2971 + - "⥲": [t: "右矢印上のチルド演算子"] # 0x2972 + - "⥳": [t: "チルド演算子の上の左矢印"] # 0x2973 + - "⥴": [t: "チルド演算子の上の右矢印"] # 0x2974 + - "⥵": [t: "ほぼ同じの上の右矢印"] # 0x2975 + - "⥶": [t: "左矢印よりも少ない"] # 0x2976 + - "⥷": [t: "左矢印を下回る"] # 0x2977 + - "⥸": [t: "右上の矢印よりも大きい"] # 0x2978 + - "⥹": [t: "右上のサブセット"] # 0x2979 + - "⥺": [t: "サブセットで左矢印"] # 0x297a + - "⥻": [t: "左矢印の上のスーパーセット"] # 0x297b + - "⥼": [t: "左の魚の尾"] # 0x297c + - "⥽": [t: "右魚の尾"] # 0x297d + - "⥾": [t: "魚の尾の上"] # 0x297e + - "⥿": [t: "ダウンフィッシュテール"] # 0x297f + - "⦀": [t: "トリプル垂直バー区画"] # 0x2980 + - "⦁": [t: "ゼットの表記の点"] # 0x2981 + - "⦂": [t: "ゼットの表記のタイプ コロン"] # 0x2982 + - "⦃": [t: "左の白い支柱"] # 0x2983 + - "⦄": [t: "右の白い支柱"] # 0x2984 + - "⦅": [t: "左白い括弧"] # 0x2985 + - "⦆": [t: "右白括弧"] # 0x2986 + - "⦇": [t: "ゼット の表記はイメージ ブラケットを残しました"] # 0x2987 + - "⦈": [t: "ゼットの表記の右のイメージ ブラケット"] # 0x2988 + - "⦉": [t: "ゼット の表記の左の結合ブラケット"] # 0x2989 + - "⦊": [t: "ゼットの表記の右の結合ブラケット"] # 0x298a + - "⦋": [t: "アンダーバー付きの左角ブラケット"] # 0x298b + - "⦌": [t: "アンダーバー付きの右角ブラケット"] # 0x298c + - "⦍": [t: "左角ブラケットトップコーナーでティック"] # 0x298d + - "⦎": [t: "右下の角のダニが付いている正方形ブラケット"] # 0x298e + - "⦏": [t: "底角のダニが付いている左の正方形ブラケット"] # 0x298f + - "⦐": [t: "右上の角のダニが付いている正方形ブラケット"] # 0x2990 + - "⦑": [t: "点が付いている左の角度ブラケット"] # 0x2991 + - "⦒": [t: "ドットが付いている直角ブラケット"] # 0x2992 + - "⦓": [t: "左アークブラケットより少し"] # 0x2993 + - "⦔": [t: "ブラケットよりも大きい右アーク"] # 0x2994 + - "⦕": [t: "ブラケットより大きい二重左アーク"] # 0x2995 + - "⦖": [t: "ブラケットより少し二重右アーク"] # 0x2996 + - "⦗": [t: "左黒の亀甲シェルブラケット"] # 0x2997 + - "⦘": [t: "右の黒い亀甲の貝ブラケット"] # 0x2998 + - "⦙": [t: "ドットフェンス"] # 0x2999 + - "⦚": [t: "縦 ジグザグ ライン"] # 0x299a + - "⦛": [t: "測定された角度の入り口の左"] # 0x299b + - "⦜": [t: "正方形が付いている直角の変形"] # 0x299c + - "⦝": [t: "点との測定された直角"] # 0x299d + - "⦞": [t: "中エスの角度"] # 0x299e + - "⦟": [t: "急な角度"] # 0x299f + - "⦠": [t: "球形の角度の入り口左"] # 0x29a0 + - "⦡": [t: "球形の角度の入り口"] # 0x29a1 + - "⦢": [t: "回された角度"] # 0x29a2 + - "⦣": [t: "逆方向角度"] # 0x29a3 + - "⦤": [t: "アンダーバーの角度"] # 0x29a4 + - "⦥": [t: "アンダーバーの逆転角度"] # 0x29a5 + - "⦦": [t: "斜めの角度の入り口"] # 0x29a6 + - "⦧": [t: "斜めの角度の入り口ダウン"] # 0x29a7 + - "⦨": [t: "矢印で終わる開いた腕が付いている測定された角度はおよび右に指摘します"] # 0x29a8 + - "⦩": [t: "矢印で終わる開いた腕が付いている測定された角度は左右に置きます"] # 0x29a9 + - "⦪": [t: "矢印で終わる開いた腕が付いている測定された角度はおよび右側に指摘します"] # 0x29aa + - "⦫": [t: "矢印で終わる開いた腕が付いている測定された角度は左右に置きます"] # 0x29ab + - "⦬": [t: "右および上を指す矢印で終わる開いた腕が付いている測定された角度"] # 0x29ac + - "⦭": [t: "左および上を指す矢で終わる開いた腕が付いている測定された角度"] # 0x29ad + - "⦮": [t: "右および下を指す矢印で終わる開いた腕が付いている測定された角度"] # 0x29ae + - "⦯": [t: "左と下を指す矢印で終わる開いた腕が付いている測定された角度"] # 0x29af + - "⦰": [t: "逆に空のセット"] # 0x29b0 + - "⦱": [t: "オーバーバー付きの空のセット"] # 0x29b1 + - "⦲": [t: "上記の小さな円で空のセット"] # 0x29b2 + - "⦳": [t: "右上の矢印で空のセット"] # 0x29b3 + - "⦴": [t: "左矢印で空のセット"] # 0x29b4 + - "⦵": [t: "横棒が付いている円"] # 0x29b5 + - "⦶": [t: "円筒バー"] # 0x29b6 + - "⦷": [t: "円平行"] # 0x29b7 + - "⦸": [t: "円の逆の固体"] # 0x29b8 + - "⦹": [t: "円パーペディキュラー"] # 0x29b9 + - "⦺": [t: "縦棒によって分かれ、縦棒によって分かれる上半分"] # 0x29ba + - "⦻": [t: "重ねられたエックスの円"] # 0x29bb + - "⦼": [t: "円の反時計回りに回された分岐の印"] # 0x29bc + - "⦽": [t: "円で矢印を上げます"] # 0x29bd + - "⦾": [t: "丸い白弾丸"] # 0x29be + - "⦿": [t: "円の弾丸"] # 0x29bf + - "⧀": [t: "円未満"] # 0x29c0 + - "⧁": [t: "より大きい円"] # 0x29c1 + - "⧂": [t: "右に小さな円で円"] # 0x29c2 + - "⧃": [t: "右に2つの水平ストロークを持つ円"] # 0x29c3 + - "⧄": [t: "四角形の上昇の対角形のスラッシュ"] # 0x29c4 + - "⧅": [t: "正方形の落下対角のスラッシュ"] # 0x29c5 + - "⧆": [t: "スクエアドアスタリスク"] # 0x29c6 + - "⧇": [t: "正方形の小さな円"] # 0x29c7 + - "⧈": [t: "正方形の正方形"] # 0x29c8 + - "⧉": [t: "2 つは正方形に加わりました"] # 0x29c9 + - "⧊": [t: "点の上の三角形"] # 0x29ca + - "⧋": [t: "アンダーバー付きの三角形"] # 0x29cb + - "⧌": [t: "三角形のエス"] # 0x29cc + - "⧍": [t: "底のセリフが付いている三角形"] # 0x29cd + - "⧎": [t: "左の三角形の上の右三角形"] # 0x29ce + - "⧏": [t: "左の三角形の横の縦棒"] # 0x29cf + - "⧐": [t: "右三角形の横の縦棒"] # 0x29d0 + - "⧑": [t: "左半分黒のボウタイ"] # 0x29d1 + - "⧒": [t: "右半分黒の弓道"] # 0x29d2 + - "⧓": [t: "ブラックボウタイ"] # 0x29d3 + - "⧔": [t: "左半分の黒い時間"] # 0x29d4 + - "⧕": [t: "右の半分の黒と時"] # 0x29d5 + - "⧖": [t: "白いアワーグラス"] # 0x29d6 + - "⧗": [t: "ブラックタイムグラス"] # 0x29d7 + - "⧘": [t: "左ウィッグリーフェンス"] # 0x29d8 + - "⧙": [t: "右ウィッグリーフェンス"] # 0x29d9 + - "⧚": [t: "左の二重波形塀"] # 0x29da + - "⧛": [t: "右の二重波形塀"] # 0x29db + - "⧜": [t: "不完全な無限"] # 0x29dc + - "⧝": [t: "無限のタイ"] # 0x29dd + - "⧞": [t: "垂直バーにネゲートされた無限"] # 0x29de + - "⧟": [t: "ダブルエンドマルチマップ"] # 0x29df + - "⧠": [t: "輪郭を付けられた輪郭が付いている正方形"] # 0x29e0 + - "⧡": [t: "増加として"] # 0x29e1 + - "⧢": [t: "シャッフル製品"] # 0x29e2 + - "⧣": [t: "等しい印および斜め平行"] # 0x29e3 + - "⧤": [t: "上記のチルドと同等サインとスラント並列"] # 0x29e4 + - "⧥": [t: "並行してスラントされた"] # 0x29e5 + - "⧦": [t: "リッチスターク"] # 0x29e6 + - "⧧": [t: "熱力学"] # 0x29e7 + - "⧨": [t: "左半分の黒で三角形を指下"] # 0x29e8 + - "⧩": [t: "右半分の黒で三角形を指下"] # 0x29e9 + - "⧪": [t: "ダウン矢印付きブラックダイヤモンド"] # 0x29ea + - "⧫": [t: "ブラックロゼンジ"] # 0x29eb + - "⧬": [t: "下矢印で白い円"] # 0x29ec + - "⧭": [t: "下矢印で黒い円"] # 0x29ed + - "⧮": [t: "エラー線付き 白い正方形"] # 0x29ee + - "⧯": [t: "エラー線付きブラックスクエア"] # 0x29ef + - "⧰": [t: "エラー線付きホワイトダイヤモンド"] # 0x29f0 + - "⧱": [t: "エラー線付きブラックダイヤモンド"] # 0x29f1 + - "⧲": [t: "エラー線付き 白い円"] # 0x29f2 + - "⧳": [t: "エラー線付きブラックサークル"] # 0x29f3 + - "⧴": [t: "ルール遅延"] # 0x29f4 + - "⧵": [t: "逆の固体オペレータ"] # 0x29f5 + - "⧶": [t: "オーバーバーとソリッド"] # 0x29f6 + - "⧷": [t: "横の打撃が付いている逆の固体"] # 0x29f7 + - "⧸": [t: "大きい固体"] # 0x29f8 + - "⧹": [t: "大きい逆の固体"] # 0x29f9 + - "⧺": [t: "ダブルプラス"] # 0x29fa + - "⧻": [t: "トリプルプラス"] # 0x29fb + - "⧼": [t: "左の尖った角度ブラケット"] # 0x29fc + - "⧽": [t: "曲げられた角度ブラケットを指す権利"] # 0x29fd + - "⧾": [t: "小さな"] # 0x29fe + - "⧿": [t: "ミニー"] # 0x29ff + - "⨀": [t: "円ドット演算子"] # 0x2a00 + - "⨁": [t: "円 + 演算子"] # 0x2a01 + - "⨂": [t: "サークルタイム演算子"] # 0x2a02 + - "⨃": [t: "点のユニオン オペレータ"] # 0x2a03 + - "⨄": [t: "プラスとユニオン演算子"] # 0x2a04 + - "⨅": [t: "正方形の交差オペレータ"] # 0x2a05 + - "⨆": [t: "正方形の連合オペレータ"] # 0x2a06 + - "⨇": [t: "2つの論理およびオペレータ"] # 0x2a07 + - "⨈": [t: "2つの論理かオペレータ"] # 0x2a08 + - "⨉": [t: "時間のオペレータ"] # 0x2a09 + - "⨊": [t: "法 2 合計"] # 0x2a0a + - "⨋": [t: "インテグラルタルとの召喚"] # 0x2a0b + - "⨌": [t: "四倍一体型オペレータ"] # 0x2a0c + - "⨍": [t: "有限部分の必要な"] # 0x2a0d + - "⨎": [t: "二重打撃と必要な"] # 0x2a0e + - "⨏": [t: "スラッシュと一体平均"] # 0x2a0f + - "⨐": [t: "循環機能"] # 0x2a10 + - "⨑": [t: "反時計回りの統合"] # 0x2a11 + - "⨒": [t: "棒のまわりの長方形の道とのライン統合"] # 0x2a12 + - "⨓": [t: "棒のまわりの半円形の道とのライン統合"] # 0x2a13 + - "⨔": [t: "棒を含んでいないライン統合"] # 0x2a14 + - "⨕": [t: "点オペレータのまわりの積分"] # 0x2a15 + - "⨖": [t: "クオータニオンの必要なオペレータ"] # 0x2a16 + - "⨗": [t: "ホックが付いている左の矢との必要な"] # 0x2a17 + - "⨘": [t: "時間の印との必要な"] # 0x2a18 + - "⨙": [t: "交差点と一体化"] # 0x2a19 + - "⨚": [t: "ユニオンと一体化"] # 0x2a1a + - "⨛": [t: "オーバーバーと一体化"] # 0x2a1b + - "⨜": [t: "アンダーバーと一体化"] # 0x2a1c + - "⨝": [t: "参加申し込み"] # 0x2a1d + - "⨞": [t: "大きい左の三角形オペレータ"] # 0x2a1e + - "⨟": [t: "ゼットの表記のスキーマの構成"] # 0x2a1f + - "⨠": [t: "ゼット の表記スキーマの配管"] # 0x2a20 + - "⨡": [t: "ゼット記法スキーマの投影"] # 0x2a21 + - "⨢": [t: "上記の円でプラス記号"] # 0x2a22 + - "⨣": [t: "プラス上の円滑なアクセントが付いている印"] # 0x2a23 + - "⨤": [t: "上でチルドと署名するプラス"] # 0x2a24 + - "⨥": [t: "点の下のプラスの印"] # 0x2a25 + - "⨦": [t: "チルドの下のプラスの印"] # 0x2a26 + - "⨧": [t: "サブスクリプト2で署名する"] # 0x2a27 + - "⨨": [t: "プラス黒の三角形で署名"] # 0x2a28 + - "⨩": [t: "上記コンマとマイナス記号"] # 0x2a29 + - "⨪": [t: "下の点とのマイナスの印"] # 0x2a2a + - "⨫": [t: "落下点のマイナス記号"] # 0x2a2b + - "⨬": [t: "上昇点とのマイナスの印"] # 0x2a2c + - "⨭": [t: "左の半分の円のプラスの印"] # 0x2a2d + - "⨮": [t: "右半分の円のプラス記号"] # 0x2a2e + - "⨯": # 0x2a2f + - test: + if: "$Verbosity='Terse'" + then: [t: "クロス"] + else: [t: "クロス製品"] + - "⨰": [t: "ドットの上の複数の折りの印"] # 0x2a30 + - "⨱": [t: "アンダーバーの乗算記号"] # 0x2a31 + - "⨲": [t: "最下の閉鎖した半指示プロダクト"] # 0x2a32 + - "⨳": [t: "スマッシュ製品"] # 0x2a33 + - "⨴": [t: "左半分円の乗算記号"] # 0x2a34 + - "⨵": [t: "右半分円の乗算記号"] # 0x2a35 + - "⨶": [t: "円数の乗算記号と円周のアクセント"] # 0x2a36 + - "⨷": [t: "二重円の乗算記号"] # 0x2a37 + - "⨸": [t: "円分岐記号"] # 0x2a38 + - "⨹": [t: "三角形のプラス記号"] # 0x2a39 + - "⨺": [t: "三角形のマイナス記号"] # 0x2a3a + - "⨻": [t: "三角形の乗算記号"] # 0x2a3b + - "⨼": [t: "インテリア製品"] # 0x2a3c + - "⨽": [t: "右手インテリア製品"] # 0x2a3d + - "⨾": [t: "ゼット の表記の関連構成"] # 0x2a3e + - "⨿": [t: "融合 または共産物"] # 0x2a3f + - "⩀": [t: "点との交差"] # 0x2a40 + - "⩁": [t: "マイナス記号でユニオン"] # 0x2a41 + - "⩂": [t: "オーバーバーとのユニオン"] # 0x2a42 + - "⩃": [t: "オーバーバーとの交差点"] # 0x2a43 + - "⩄": [t: "論理と交差"] # 0x2a44 + - "⩅": [t: "論理または"] # 0x2a45 + - "⩆": [t: "交差点の上のユニオン"] # 0x2a46 + - "⩇": [t: "ユニオン上の交差点"] # 0x2a47 + - "⩈": [t: "交差点の上のバーの上のユニオン"] # 0x2a48 + - "⩉": [t: "和集合の上のバーの上の交差点"] # 0x2a49 + - "⩊": [t: "和集合 と 和集合"] # 0x2a4a + - "⩋": [t: "横の交差点と交差点を挟んで、交差点に入った"] # 0x2a4b + - "⩌": [t: "セリフ とのクローズドユニオン"] # 0x2a4c + - "⩍": [t: "セリフ とのクローズド交差点"] # 0x2a4d + - "⩎": [t: "ダブルスクエア交差点"] # 0x2a4e + - "⩏": [t: "二重正方形のユニオン"] # 0x2a4f + - "⩐": [t: "セリフ およびスマッシュ プロダクトが付いている閉鎖した連合"] # 0x2a50 + - "⩑": [t: "論理的で、上の点と"] # 0x2a51 + - "⩒": [t: "論理的または上の点と"] # 0x2a52 + - "⩓": [t: "二重論理および"] # 0x2a53 + - "⩔": [t: "二重論理か"] # 0x2a54 + - "⩕": [t: "2つの交差論理および"] # 0x2a55 + - "⩖": [t: "2つの交差論理か"] # 0x2a56 + - "⩗": [t: "大きいですか傾斜"] # 0x2a57 + - "⩘": [t: "大きく、"] # 0x2a58 + - "⩙": [t: "論理的または重なり論理的および"] # 0x2a59 + - "⩚": [t: "論理的および中間の茎と"] # 0x2a5a + - "⩛": [t: "論理的または中間の茎と"] # 0x2a5b + - "⩜": [t: "論理的および横のダッシュと"] # 0x2a5c + - "⩝": [t: "論理的または横のダッシュ"] # 0x2a5d + - "⩞": [t: "論理的で、二重バールと"] # 0x2a5e + - "⩟": [t: "論理的とアンダーバー"] # 0x2a5f + - "⩠": [t: "論理的で、二重アンダーバーと"] # 0x2a60 + - "⩡": [t: "アンダーバー付きの小さなベール"] # 0x2a61 + - "⩢": [t: "論理的か二重バールと"] # 0x2a62 + - "⩣": [t: "論理的または二重アンダーバー付き"] # 0x2a63 + - "⩤": [t: "ゼットの表記ドメインの制限"] # 0x2a64 + - "⩥": [t: "ゼットの表記の範囲の制限"] # 0x2a65 + - "⩦": [t: "下の点と等しい印"] # 0x2a66 + - "⩧": [t: "点の上の同一"] # 0x2a67 + - "⩨": [t: "二重縦の打撃が付いている三重の横棒"] # 0x2a68 + - "⩩": [t: "トリプル垂直ストロークの水平バー"] # 0x2a69 + - "⩪": [t: "上記点のチルド演算子"] # 0x2a6a + - "⩫": [t: "チルド オペレータは上昇点を打ちます"] # 0x2a6b + - "⩬": [t: "同じようなマイナスの同じような"] # 0x2a6c + - "⩭": [t: "上記の点との合同"] # 0x2a6d + - "⩮": [t: "アスタリスクと等しい"] # 0x2a6e + - "⩯": [t: "ほとんど円滑なアクセントと等しい"] # 0x2a6f + - "⩰": [t: "または等しく約等しい"] # 0x2a70 + - "⩱": [t: "上記の等しい印プラスの印"] # 0x2a71 + - "⩲": [t: "等しい印の上のプラスの印"] # 0x2a72 + - "⩳": [t: "チルド演算子上の等しい兆候"] # 0x2a73 + - "⩴": [t: "二重コロン等"] # 0x2a74 + - "⩵": [t: "2連連続同等サイン"] # 0x2a75 + - "⩶": [t: "3連連続同等サイン"] # 0x2a76 + - "⩷": [t: "下の2つの点と2つの点で等しい印"] # 0x2a77 + - "⩸": [t: "上記4点と同等"] # 0x2a78 + - "⩹": [t: "内側の円よりも少ない"] # 0x2a79 + - "⩺": [t: "内側の円よりも大きい"] # 0x2a7a + - "⩻": [t: "上記の質問マークよりも少ない"] # 0x2a7b + - "⩼": [t: "上記の質問マークよりも大きい"] # 0x2a7c + - "⩽": [t: "と等しいか、またはスラント"] # 0x2a7d + - "⩾": [t: "より大きいか、または平等に傾いた"] # 0x2a7e + - "⩿": [t: "点中と等しいまたはスラントされるより少し"] # 0x2a7f + - "⪀": [t: "点中と等しいか、または傾けて下さい"] # 0x2a80 + - "⪁": [t: "上記点と等しい、またはスラント"] # 0x2a81 + - "⪂": [t: "上記点と等しい、またはスラントよりも大きい"] # 0x2a82 + - "⪃": [t: "右上の点と等しいか、またはスラント"] # 0x2a83 + - "⪄": [t: "左上の点と等しいより大きいか、またはスラント"] # 0x2a84 + - "⪅": [t: "おおよそより少し"] # 0x2a85 + - "⪆": [t: "以上または近似"] # 0x2a86 + - "⪇": [t: "より少しおよび単一ラインが等しくないため"] # 0x2a87 + - "⪈": [t: "より大きいおよび単一ラインが等しくない"] # 0x2a88 + - "⪉": [t: "近似しない"] # 0x2a89 + - "⪊": [t: "より大きく、近似しない"] # 0x2a8a + - "⪋": [t: "より大きいより大きい上のより等しい上の二重ラインよりより少し"] # 0x2a8b + - "⪌": [t: "より大きい 上記の二重ラインより等しいよりよりよりよりより少しより"] # 0x2a8c + - "⪍": [t: "同じか等しい以上"] # 0x2a8d + - "⪎": [t: "上記よりも大きいか等しい"] # 0x2a8e + - "⪏": [t: "上記よりも大きい"] # 0x2a8f + - "⪐": [t: "上記よりも大きい"] # 0x2a90 + - "⪑": [t: "上記ダブルラインよりもはるかに大きい"] # 0x2a91 + - "⪒": [t: "よりよりよりよりよりよりより少しの上の倍ライン等"] # 0x2a92 + - "⪓": [t: "上記の平等よりもはるかに上回る傾斜平等"] # 0x2a93 + - "⪔": [t: "上記の平等よりよりよりより大きいよりよりよりよりよりよりよりより少しの上の平等"] # 0x2a94 + - "⪕": [t: "斜め 等しいですかより少し"] # 0x2a95 + - "⪖": [t: "斜め 等しいですかより大きいです"] # 0x2a96 + - "⪗": [t: "点の内側に等しいまたはより少し傾斜"] # 0x2a97 + - "⪘": [t: "点中と等しいまたはより大きいスラント"] # 0x2a98 + - "⪙": [t: "二重ラインはまたはより少しに等しいです"] # 0x2a99 + - "⪚": [t: "二重ラインはまたはより大きいに等しいです"] # 0x2a9a + - "⪛": [t: "二重ライン 斜め 等しいですかよりより少し"] # 0x2a9b + - "⪜": [t: "二重ライン 斜め 等しいですかより大きいです"] # 0x2a9c + - "⪝": [t: "同じようなですかより少し"] # 0x2a9d + - "⪞": [t: "類似以上"] # 0x2a9e + - "⪟": [t: "上記同等記号よりも少ない"] # 0x2a9f + - "⪠": [t: "上記の等しい印よりも大きい"] # 0x2aa0 + - "⪡": [t: "二重ネストよりも少ない"] # 0x2aa1 + - "⪢": [t: "より大きい二重ネスト"] # 0x2aa2 + - "⪣": [t: "アンダーバーよりも少ないダブルネスト"] # 0x2aa3 + - "⪤": [t: "オーバーラップよりも大きい"] # 0x2aa4 + - "⪥": [t: "より少しより少しの"] # 0x2aa5 + - "⪦": [t: "カーブによって閉鎖されるよりより少し"] # 0x2aa6 + - "⪧": [t: "カーブを閉じるよりも大きい"] # 0x2aa7 + - "⪨": [t: "斜めの平等上のカーブによって閉まるよりより少し"] # 0x2aa8 + - "⪩": [t: "斜めの平等上のカーブによって閉まるより大きい"] # 0x2aa9 + - "⪪": [t: "より小さいより"] # 0x2aaa + - "⪫": [t: "より大きい"] # 0x2aab + - "⪬": [t: "より小さいですか等しいです"] # 0x2aac + - "⪭": [t: "より大きいか等しいです"] # 0x2aad + - "⪮": [t: "上記バンピーと等しい記号"] # 0x2aae + - "⪯": [t: "単一行上の優先順位 等しい印"] # 0x2aaf + - "⪰": [t: "単一行の等しい印の上の成功"] # 0x2ab0 + - "⪱": [t: "単一行上の優先順位は等しくない"] # 0x2ab1 + - "⪲": [t: "単一行上の成功は等しくない"] # 0x2ab2 + - "⪳": [t: "等しい印の上の優先順位"] # 0x2ab3 + - "⪴": [t: "等しい印の上の成功"] # 0x2ab4 + - "⪵": [t: "上記は等しくない"] # 0x2ab5 + - "⪶": [t: "上記に等しくない成功"] # 0x2ab6 + - "⪷": [t: "ほぼ等しい上記の手順"] # 0x2ab7 + - "⪸": [t: "ほぼ平等以上の成功"] # 0x2ab8 + - "⪹": [t: "ほぼ等しくない上記の手順"] # 0x2ab9 + - "⪺": [t: "ほぼ等しくない上で成功"] # 0x2aba + - "⪻": [t: "二重プロシージャ"] # 0x2abb + - "⪼": [t: "ダブル成功"] # 0x2abc + - "⪽": [t: "点とサブセット"] # 0x2abd + - "⪾": [t: "点とスーパーセット"] # 0x2abe + - "⪿": [t: "下のプラスの印が付いているサブセット"] # 0x2abf + - "⫀": [t: "下のプラスの印が付いている上位集合"] # 0x2ac0 + - "⫁": [t: "以下乗算記号でサブセット"] # 0x2ac1 + - "⫂": [t: "以下乗算記号でスーパーセット"] # 0x2ac2 + - "⫃": [t: "上記点と等しい点のサブセット"] # 0x2ac3 + - "⫄": [t: "点の上とまたは等しいの 上位集合"] # 0x2ac4 + - "⫅": [t: "上記等しい記号のサブセット"] # 0x2ac5 + - "⫆": [t: "上記等しい印のスーパーセット"] # 0x2ac6 + - "⫇": [t: "上記チルド演算子のサブセット"] # 0x2ac7 + - "⫈": [t: "上記チルド演算子のスーパーセット"] # 0x2ac8 + - "⫉": [t: "上記ほぼ同じのサブセット"] # 0x2ac9 + - "⫊": [t: "ほぼ同じ以上のスーパーセット"] # 0x2aca + - "⫋": [t: "上記のサブセットは等しくない"] # 0x2acb + - "⫌": [t: "上記のスーパーセットが等しくない"] # 0x2acc + - "⫍": [t: "正方形の左の開いた箱オペレータ"] # 0x2acd + - "⫎": [t: "正方形の右の開いた箱オペレータ"] # 0x2ace + - "⫏": [t: "クローズドサブセット"] # 0x2acf + - "⫐": [t: "閉鎖したスーパーセット"] # 0x2ad0 + - "⫑": [t: "閉鎖したサブセットか等しい"] # 0x2ad1 + - "⫒": [t: "閉鎖したスーパーセットか等しい"] # 0x2ad2 + - "⫓": [t: "上位集合 の上のサブセット"] # 0x2ad3 + - "⫔": [t: "サブセット上のスーパーセット"] # 0x2ad4 + - "⫕": [t: "サブセット上のサブセット"] # 0x2ad5 + - "⫖": [t: "スーパーセット上スーパーセット"] # 0x2ad6 + - "⫗": [t: "サブセットの横にあるスーパーセット"] # 0x2ad7 + - "⫘": [t: "スーパーセットは、サブセットとダッシュで結合"] # 0x2ad8 + - "⫙": [t: "開くことの要素"] # 0x2ad9 + - "⫚": [t: "ティートップとピッチフォーク"] # 0x2ada + - "⫛": [t: "横断交差点"] # 0x2adb + - "⫝̸": [t: "フォーク"] # 0x2adc + - "⫝": [t: "ノンフォーク"] # 0x2add + - "⫞": [t: "短い左のタック"] # 0x2ade + - "⫟": [t: "ショートダウンタック"] # 0x2adf + - "⫠": [t: "ショートアップタック"] # 0x2ae0 + - "⫡": [t: "エスと垂直"] # 0x2ae1 + - "⫢": [t: "縦棒三重右回転木戸"] # 0x2ae2 + - "⫣": [t: "二重縦棒左の回転木戸"] # 0x2ae3 + - "⫤": [t: "縦棒 二重左の回転木戸"] # 0x2ae4 + - "⫥": [t: "二重縦棒二重左の回転木戸"] # 0x2ae5 + - "⫦": [t: "ダブル垂直の左メンバーから長いダッシュ"] # 0x2ae6 + - "⫧": [t: "オーバーバー付きのショートダウンタック"] # 0x2ae7 + - "⫨": [t: "アンダーバーでタックを短く"] # 0x2ae8 + - "⫩": [t: "ショート アップ タック ダウン タック"] # 0x2ae9 + - "⫪": [t: "ダブルダウンタック"] # 0x2aea + - "⫫": [t: "ダブルアップタック"] # 0x2aeb + - "⫬": [t: "二重打撃の印無し"] # 0x2aec + - "⫭": [t: "逆にされた二重打撃は署名しません"] # 0x2aed + - "⫮": [t: "逆のネグエーションスラッシュで分割しません"] # 0x2aee + - "⫯": [t: "円の上の縦ライン"] # 0x2aef + - "⫰": [t: "下の円が付いている縦ライン"] # 0x2af0 + - "⫱": [t: "下の円でタックダウン"] # 0x2af1 + - "⫲": [t: "横の打撃と平行"] # 0x2af2 + - "⫳": [t: "チルド オペレータと平行"] # 0x2af3 + - "⫴": [t: "トリプル垂直バーバイナリーリレーション"] # 0x2af4 + - "⫵": [t: "横の打撃が付いている三重の縦棒"] # 0x2af5 + - "⫶": [t: "トリプルコロン演算子"] # 0x2af6 + - "⫷": [t: "トリプルネスト未満"] # 0x2af7 + - "⫸": [t: "トリプルネストよりも大きい"] # 0x2af8 + - "⫹": [t: "二重ラインはまたは等しいとより少し傾斜しました"] # 0x2af9 + - "⫺": [t: "より大きいまたは等しい二重ライン 斜め"] # 0x2afa + - "⫻": [t: "トリプルソリッドバイナリ関係"] # 0x2afb + - "⫼": [t: "大きい三重縦棒オペレータ"] # 0x2afc + - "⫽": [t: "二重固体オペレータ"] # 0x2afd + - "⫾": [t: "白い縦棒"] # 0x2afe + - "⫿": [t: "白い縦棒"] # 0x2aff + - "⬀": [t: "北東東白矢印"] # 0x2b00 + - "⬁": [t: "北西白矢印"] # 0x2b01 + - "⬂": [t: "南東白矢印"] # 0x2b02 + - "⬃": [t: "南西白矢印"] # 0x2b03 + - "⬄": [t: "左右側の白い矢印"] # 0x2b04 + - "⬅": [t: "左黒矢印"] # 0x2b05 + - "⬆": [t: "黒の矢印を上げる"] # 0x2b06 + - "⬇": [t: "ダウンブラック矢印"] # 0x2b07 + - "⬈": [t: "北東黒矢印"] # 0x2b08 + - "⬉": [t: "北西黒矢印"] # 0x2b09 + - "⬊": [t: "南東黒矢印"] # 0x2b0a + - "⬋": [t: "南西黒矢印"] # 0x2b0b + - "⬌": [t: "左右黒矢印"] # 0x2b0c + - "⬍": [t: "黒の矢印を上回る"] # 0x2b0d + - "⬎": [t: "先端が付いている右の矢印"] # 0x2b0e + - "⬏": [t: "先端の右矢印"] # 0x2b0f + - "⬐": [t: "先端が付いている左矢印"] # 0x2b10 + - "⬑": [t: "先端が付いている左矢印"] # 0x2b11 + - "⬒": [t: "最上半分の黒が付いている正方形"] # 0x2b12 + - "⬓": [t: "底半分の黒が付いている正方形"] # 0x2b13 + - "⬔": [t: "右上の斜めの半分の黒が付いている正方形"] # 0x2b14 + - "⬕": [t: "左の斜めの半分の黒が付いている正方形"] # 0x2b15 + - "⬖": [t: "左半分黒のダイヤモンド"] # 0x2b16 + - "⬗": [t: "右の半分の黒が付いているダイヤモンド"] # 0x2b17 + - "⬘": [t: "ダイヤモンドトップハーフブラック"] # 0x2b18 + - "⬙": [t: "底半分の黒が付いているダイヤモンド"] # 0x2b19 + - "⬚": [t: "ボックス"] # 0x2b1a + - "⬛": [t: "黒い大きい正方形"] # 0x2b1b + - "⬜": [t: "白い大きい正方形"] # 0x2b1c + - "⬝": [t: "黒い非常に小さい正方形"] # 0x2b1d + - "⬞": [t: "白い非常に小さい正方形"] # 0x2b1e + - "⬟": [t: "黒ペンタゴン"] # 0x2b1f + - "⬠": [t: "ホワイトペンタゴン"] # 0x2b20 + - "⬡": [t: "白い六角形"] # 0x2b21 + - "⬢": [t: "黒六角"] # 0x2b22 + - "⬣": [t: "水平な黒い六角形"] # 0x2b23 + - "⬤": [t: "黒い大きな円"] # 0x2b24 + - "⬥": [t: "黒い媒体のダイヤモンド"] # 0x2b25 + - "⬦": [t: "白い媒体のダイヤモンド"] # 0x2b26 + - "⬧": [t: "黒い媒体のひし形"] # 0x2b27 + - "⬨": [t: "白い媒体のひし形"] # 0x2b28 + - "⬩": [t: "黒い小さいダイヤモンド"] # 0x2b29 + - "⬪": [t: "黒の小さなロゼンジ"] # 0x2b2a + - "⬫": [t: "白い小さなロゼンジ"] # 0x2b2b + - "⬬": [t: "黒い水平な楕円"] # 0x2b2c + - "⬭": [t: "白い水平な楕円"] # 0x2b2d + - "⬮": [t: "黒垂直楕円"] # 0x2b2e + - "⬯": [t: "白い縦の楕円"] # 0x2b2f + - "⬰": [t: "小さな円で左矢印"] # 0x2b30 + - "⬱": [t: "3つの左矢印"] # 0x2b31 + - "⬲": [t: "円で左矢印プラス"] # 0x2b32 + - "⬳": [t: "長い左の旋回矢印"] # 0x2b33 + - "⬴": [t: "左 2 垂直ストロークで見出し矢印"] # 0x2b34 + - "⬵": [t: "左 2 は 2 つの縦の打撃が付いている矢印を見出しました"] # 0x2b35 + - "⬶": [t: "左 2 棒から見出し矢印"] # 0x2b36 + - "⬷": [t: "左 2 は 3 ダッシュ 矢印を見出しました"] # 0x2b37 + - "⬸": [t: "点状の茎が付いている左の矢"] # 0x2b38 + - "⬹": [t: "縦の打撃が付いている尾が付いている左の矢"] # 0x2b39 + - "⬺": [t: "左矢印と尾と二重垂直ストローク"] # 0x2b3a + - "⬻": [t: "尾が付いている左2つの押された矢"] # 0x2b3b + - "⬼": [t: "左 2 は縦の打撃が付いている尾が付いている矢印を押しました"] # 0x2b3c + - "⬽": [t: "左 2 は 2 つの縦の打撃が付いている尾が付いている矢印を見出しました"] # 0x2b3d + - "⬾": [t: "左矢印 エックス"] # 0x2b3e + - "⬿": [t: "直接左を指す波の矢"] # 0x2b3f + - "⭀": [t: "左矢印上の等しい記号"] # 0x2b40 + - "⭁": [t: "左矢印上の逆チルド演算子"] # 0x2b41 + - "⭂": [t: "左矢印上 逆にほぼ等しい"] # 0x2b42 + - "⭃": [t: "右矢印よりも大きい"] # 0x2b43 + - "⭄": [t: "スーパーセットで右矢印"] # 0x2b44 + - "⭅": [t: "左四倍矢印"] # 0x2b45 + - "⭆": [t: "右四倍矢印"] # 0x2b46 + - "⭇": [t: "右矢印上の逆チルド演算子"] # 0x2b47 + - "⭈": [t: "逆の上の右矢印 ほぼ等しい"] # 0x2b48 + - "⭉": [t: "左矢印上のチルド演算子"] # 0x2b49 + - "⭊": [t: "ほぼ同じの上の左矢印"] # 0x2b4a + - "⭋": [t: "逆チルド演算子の上の左矢印"] # 0x2b4b + - "⭌": [t: "逆チルド演算子の上の右矢印"] # 0x2b4c + - "⭐": [t: "白い中星"] # 0x2b50 + - "⭑": [t: "黒の小さな星"] # 0x2b51 + - "⭒": [t: "白い小さな星"] # 0x2b52 + - "⭓": [t: "ペンタゴンを指す黒い右"] # 0x2b53 + - "⭔": [t: "ペンタゴンを指す白い右"] # 0x2b54 + - "⭕": [t: "重い大きな円"] # 0x2b55 + - "⭖": [t: "中楕円形の重い楕円形"] # 0x2b56 + - "⭗": [t: "内側の円で重なる円"] # 0x2b57 + - "⭘": [t: "重い円"] # 0x2b58 + - "⭙": [t: "重い円塩辛い"] # 0x2b59 + - "⸀": [t: "直角置換マーカー"] # 0x2e00 + - "⸁": [t: "直角ドット置換マーカー"] # 0x2e01 + - "⸂": [t: "左置換ブラケット"] # 0x2e02 + - "⸃": [t: "適切な置換ブラケット"] # 0x2e03 + - "⸄": [t: "左ドット置換ブラケット"] # 0x2e04 + - "⸅": [t: "適切な点字置換ブラケット"] # 0x2e05 + - "⸆": [t: "補間マーカーを調達"] # 0x2e06 + - "⸇": [t: "ドットされた補間マーカー"] # 0x2e07 + - "⸈": [t: "ドットトランスポジションマーカーマーカー"] # 0x2e08 + - "⸉": [t: "左転置ブラケット"] # 0x2e09 + - "⸊": [t: "右の移動ブラケット"] # 0x2e0a + - "⸋": [t: "上げられた正方形"] # 0x2e0b + - "⸌": [t: "左上げオミッションブラケット"] # 0x2e0c + - "⸍": [t: "右の上げられた省略ブラケット"] # 0x2e0d + - "⸎": [t: "編集コロニー"] # 0x2e0e + - "⸏": [t: "パラグラフオ"] # 0x2e0f + - "⸐": [t: "禁断された段落"] # 0x2e10 + - "⸑": [t: "逆にフォークされたパラグラフ"] # 0x2e11 + - "⸒": [t: "仮面ライダー"] # 0x2e12 + - "⸓": [t: "ドットされた斜面"] # 0x2e13 + - "⸔": [t: "アンコールダウン"] # 0x2e14 + - "⸕": [t: "アップアンコラ"] # 0x2e15 + - "⸖": [t: "点を付けられた右のポイント角"] # 0x2e16 + - "⸗": [t: "二重斜めのハイフン"] # 0x2e17 + - "⸘": [t: "反転 インターロバン"] # 0x2e18 + - "⸙": [t: "パーム支店"] # 0x2e19 + - "⸚": [t: "透析とハイフン"] # 0x2e1a + - "⸛": [t: "上記のリングでチルド"] # 0x2e1b + - "⸜": [t: "左下段落ブラケット"] # 0x2e1c + - "⸝": [t: "右低パラファラーゼブラケット"] # 0x2e1d + - "⸞": [t: "上で点とチルド"] # 0x2e1e + - "⸟": [t: "下記の点でチルド"] # 0x2e1f + - "⸠": [t: "羽根が付いている左の縦棒"] # 0x2e20 + - "⸡": [t: "キルが付いている右の縦棒"] # 0x2e21 + - "⸢": [t: "左上の半分ブラケット"] # 0x2e22 + - "⸣": [t: "右上の半分ブラケット"] # 0x2e23 + - "⸤": [t: "左下半分ブラケット"] # 0x2e24 + - "⸥": [t: "右下半分ブラケット"] # 0x2e25 + - "⸦": [t: "左サイドウェイ ユーブラケット"] # 0x2e26 + - "⸧": [t: "右側のサイドウェイ ユーブラケット"] # 0x2e27 + - "⸨": [t: "左の二重括弧"] # 0x2e28 + - "⸩": [t: "右の二重括弧"] # 0x2e29 + - "⸪": [t: "1つの点の句読点上の2つの点"] # 0x2e2a + - "⸫": [t: "2つの点の句句の上の1つの点"] # 0x2e2b + - "⸬": [t: "四角形のドット貫通"] # 0x2e2c + - "⸭": [t: "5つの点の印"] # 0x2e2d + - "⸮": [t: "逆転の質問の印"] # 0x2e2e + - "ⸯ": [t: "垂直チルド"] # 0x2e2f + - "⸰": [t: "リングポイント"] # 0x2e30 + - "⸱": [t: "単語の分離器中間の点"] # 0x2e31 + - "⸲": [t: "ターンコンマ"] # 0x2e32 + - "⸳": [t: "提起された点"] # 0x2e33 + - "⸴": [t: "育つコンマ"] # 0x2e34 + - "⸵": [t: "セミコロン"] # 0x2e35 + - "⸶": [t: "左ガードでダガー"] # 0x2e36 + - "⸷": [t: "正しいガードでダガー"] # 0x2e37 + - "⸸": [t: "ダガー を回しました"] # 0x2e38 + - "⸹": [t: "トップハーフセクションサイン"] # 0x2e39 + - "⸺": [t: "2 エムダッシュ"] # 0x2e3a + - "⸻": [t: "3 エムダッシュ"] # 0x2e3b + - "〃": [t: "ディットマーク"] # 0x3003 + - "〈": [t: "左角ブラケット"] # 0x3008 + - "〉": [t: "直角ブラケット"] # 0x3009 + - "《": [t: "左の二重角度ブラケット"] # 0x300a + - "》": [t: "右の二重角度ブラケット"] # 0x300b + - "「": [t: "左角ブラケット"] # 0x300c + - "」": [t: "右角ブラケット"] # 0x300d + - "『": [t: "左の白い角ブラケット"] # 0x300e + - "』": [t: "右の白い角ブラケット"] # 0x300f + - "【": [t: "左黒レンズブラケット"] # 0x3010 + - "】": [t: "右黒レンズブラケット"] # 0x3011 + - "〔": [t: "左亀甲シェルブラケット"] # 0x3014 + - "〕": [t: "右の亀甲の貝ブラケット"] # 0x3015 + - "〖": [t: "左白レンズブラケット"] # 0x3016 + - "〗": [t: "右白レンズブラケット"] # 0x3017 + - "〘": [t: "左の白の亀甲シェルブラケット"] # 0x3018 + - "〙": [t: "右の白い亀甲の貝ブラケット"] # 0x3019 + - "〚": [t: "左の白い正方形ブラケット"] # 0x301a + - "〛": [t: "右の白い正方形ブラケット"] # 0x301b + - "〜": [t: "波ダッシュ"] # 0x301c + - "〰": [t: "波状ダッシュ"] # 0x3030 + - "㉈": [t: "円数 黒角10"] # 0x3248 + - "㉉": [t: "黒の正方形の円数20"] # 0x3249 + - "㉊": [t: "黒い正方形の円数の30"] # 0x324a + - "㉋": [t: "黒の四角に丸みのある数の空"] # 0x324b + - "㉌": [t: "円数 黒の四角線"] # 0x324c + - "㉍": [t: "黒の正方形の円数六十"] # 0x324d + - "㉎": [t: "黒の四角に数 7 円"] # 0x324e + - "㉏": [t: "黒の四角で八十八円"] # 0x324f + - "㉑": [t: "円数 20 1"] # 0x3251 + - "㉒": [t: "円数 20 2"] # 0x3252 + - "㉓": [t: "円数 20 3"] # 0x3253 + - "㉔": [t: "円数 20 4"] # 0x3254 + - "㉕": [t: "円数 20 5"] # 0x3255 + - "㉖": [t: "円数 20 6"] # 0x3256 + - "㉗": [t: "円数 20 7"] # 0x3257 + - "㉘": [t: "サークル番号 20 8"] # 0x3258 + - "㉙": [t: "円数 20 9"] # 0x3259 + - "㉚": [t: "円数 三十"] # 0x325a + - "㉛": [t: "円数 三十 1"] # 0x325b + - "㉜": [t: "円数 三十 2"] # 0x325c + - "㉝": [t: "サークル番号3分の3"] # 0x325d + - "㉞": [t: "円数 三十 4"] # 0x325e + - "㉟": [t: "円数 三十 5"] # 0x325f + - "㊱": [t: "円数 三十 6"] # 0x32b1 + - "㊲": [t: "円数 三十 7"] # 0x32b2 (GPT-5.4 translation) + - "㊳": [t: "円数 三十 8"] # 0x32b3 (GPT-5.4 translation) + - "㊴": [t: "円数 三十 九"] # 0x32b4 (GPT-5.4 translation) + - "㊵": [t: "円数の四十"] # 0x32b5 (GPT-5.4 translation) + - "㊶": [t: "サークル番号 フォーティ 1"] # 0x32b6 (GPT-5.4 translation) + - "㊷": [t: "サークル番号 フォーティ 2"] # 0x32b7 (GPT-5.4 translation) + - "㊸": [t: "円数 3"] # 0x32b8 (GPT-5.4 translation) + - "㊹": [t: "サークル番号フォーティ 4"] # 0x32b9 (GPT-5.4 translation) + - "㊺": [t: "サークル番号フォーティ5"] # 0x32ba (GPT-5.4 translation) + - "㊻": [t: "サークル番号 フォーティ 6"] # 0x32bb (GPT-5.4 translation) + - "㊼": [t: "サークル番号 フォーティ 7"] # 0x32bc (GPT-5.4 translation) + - "㊽": [t: "サークル番号フォーティ8"] # 0x32bd (GPT-5.4 translation) + - "㊾": [t: "サークル番号 フォーティ9"] # 0x32be (GPT-5.4 translation) + - "㊿": [t: "円数 フィート"] # 0x32bf (GPT-5.4 translation) + - "㋌": [t: "水銀"] # 0x32cc + - "㋍": [t: "エルグ"] # 0x32cd + - "㋎": [t: "電子ボルト"] # 0x32ce + - "㋏": [t: "限られた責任の印"] # 0x32cf + - "㍱": [t: "ヘクトパスカル"] # 0x3371 + - "㍲": [t: "ダルトン"] # 0x3372 + - "㍳": [t: "占星術ユニット"] # 0x3373 + - "㍴": [t: "バーバー"] # 0x3374 + - "㍵": [t: "オー の ブイ"] # 0x3375 + - "㍶": [t: "パセックス"] # 0x3376 + - "㍷": [t: "デシメーター"] # 0x3377 + - "㍸": [t: "デシメーター スクエア"] # 0x3378 + - "㍹": [t: "デシメートル の立方"] # 0x3379 + - "㍺": [t: "計器ユニット"] # 0x337a + - "㎀": [t: "ピコアンプ"] # 0x3380 + - "㎁": [t: "ナノランプ"] # 0x3381 + - "㎂": [t: "マイクロランプ"] # 0x3382 + - "㎃": [t: "ミリアンペア"] # 0x3383 + - "㎄": [t: "キロアンペア"] # 0x3384 + - "㎅": [t: "キロバイト"] # 0x3385 + - "㎆": [t: "メガバイト"] # 0x3386 + - "㎇": [t: "ギガバイト"] # 0x3387 + - "㎈": [t: "カロリー"] # 0x3388 + - "㎉": [t: "キロカロリー"] # 0x3389 + - "㎊": [t: "ピコファラドス"] # 0x338a + - "㎋": [t: "ナノファラド"] # 0x338b + - "㎌": [t: "マイクロファラド"] # 0x338c + - "㎍": [t: "マイクログラム"] # 0x338d + - "㎎": [t: "ミリグラム"] # 0x338e + - "㎏": [t: "キログラム"] # 0x338f + - "㎐": [t: "ヘルツ"] # 0x3390 + - "㎑": [t: "キロヘルツ"] # 0x3391 + - "㎒": [t: "メガヘルツ"] # 0x3392 + - "㎓": [t: "ギガヘルツ"] # 0x3393 + - "㎔": [t: "テラヘルツ"] # 0x3394 + - "㎕": [t: "マイクロリットル"] # 0x3395 + - "㎖": [t: "ミリリットル"] # 0x3396 + - "㎗": [t: "デシリット"] # 0x3397 + - "㎘": [t: "キロリットル"] # 0x3398 + - "㎙": [t: "フェムトメーター"] # 0x3399 + - "㎚": [t: "ナノメートル"] # 0x339a + - "㎛": [t: "マイクロメートル"] # 0x339b + - "㎜": [t: "ミリメートル"] # 0x339c + - "㎝": [t: "センチメートル"] # 0x339d + - "㎞": [t: "キロ"] # 0x339e + - "㎟": [t: "ミリメートル平方"] # 0x339f + - "㎠": [t: "センチメートル平方"] # 0x33a0 + - "㎡": [t: "メートル 正方形"] # 0x33a1 + - "㎢": [t: "四角形キロ"] # 0x33a2 + - "㎣": [t: "ミリメートル 立方"] # 0x33a3 + - "㎤": [t: "センチメートル 立方"] # 0x33a4 + - "㎥": [t: "メートル 立方"] # 0x33a5 + - "㎦": [t: "キロメートル 立方"] # 0x33a6 + - "㎧": [t: "1秒あたりのメートル"] # 0x33a7 + - "㎨": [t: "1秒あたりのメートル"] # 0x33a8 + - "㎩": [t: "パスカル"] # 0x33a9 + - "㎪": [t: "キロパスカル"] # 0x33aa + - "㎫": [t: "メガパスカル"] # 0x33ab + - "㎬": [t: "ギガパスカル"] # 0x33ac + - "㎭": [t: "ラドス"] # 0x33ad + - "㎮": [t: "1秒あたりのラッド"] # 0x33ae + - "㎯": [t: "1秒あたりのラッド"] # 0x33af + - "㎰": [t: "ピコ秒"] # 0x33b0 + - "㎱": [t: "ナノ秒"] # 0x33b1 + - "㎲": [t: "マイクロ秒"] # 0x33b2 + - "㎳": [t: "ミリ秒"] # 0x33b3 + - "㎴": [t: "ピコボルト"] # 0x33b4 + - "㎵": [t: "ナノボルト"] # 0x33b5 + - "㎶": [t: "マイクロボルト"] # 0x33b6 + - "㎷": [t: "ミリボルト"] # 0x33b7 + - "㎸": [t: "キロボルト"] # 0x33b8 + - "㎹": [t: "メガボルト"] # 0x33b9 + - "㎺": [t: "ピコワット"] # 0x33ba + - "㎻": [t: "ナノワット"] # 0x33bb + - "㎼": [t: "マイクロワット"] # 0x33bc + - "㎽": [t: "ミリワット"] # 0x33bd + - "㎾": [t: "キロワット"] # 0x33be + - "㎿": [t: "メガワット"] # 0x33bf + - "㏀": [t: "キロオーム"] # 0x33c0 + - "㏁": [t: "メガオムス"] # 0x33c1 + - "㏂": [t: "アトメーター"] # 0x33c2 + - "㏃": [t: "ベクレレ"] # 0x33c3 + - "㏄": [t: "立方センチメートル"] # 0x33c4 + - "㏅": [t: "カンデラス"] # 0x33c5 + - "㏆": [t: "キログラムあたりコロンブス"] # 0x33c6 + - "㏇": [t: "キャップシー、オー、期間"] # 0x33c7 (I have no idea what this is) + - "㏈": [t: "デシベルズ"] # 0x33c8 + - "㏉": [t: "グレー"] # 0x33c9 + - "㏊": [t: "ヘクタール"] # 0x33ca + - "㏋": [t: "馬力学"] # 0x33cb + - "㏌": [t: "インチ"] # 0x33cc + - "㏍": [t: "ケルビンズ"] # 0x33cd + - "㏎": [t: "キロ"] # 0x33ce + - "㏏": [t: "ノット"] # 0x33cf + - "㏐": [t: "ルーメン"] # 0x33d0 + - "㏑": [t: "自然ログ"] # 0x33d1 + - "㏒": [t: "対数"] # 0x33d2 + - "㏓": [t: "ルクス"] # 0x33d3 + - "㏔": [t: "ミリバーン"] # 0x33d4 + - "㏕": [t: "ミルズ"] # 0x33d5 + - "㏖": [t: "モレス"] # 0x33d6 + - "㏗": [t: "ピー エイチ"] # 0x33d7 + - "㏘": [t: "ピコメータ"] # 0x33d8 + - "㏙": [t: "部品/百万"] # 0x33d9 + - "㏚": [t: "石油類"] # 0x33da + - "㏛": [t: "スタディアン"] # 0x33db + - "㏜": [t: "ふるまい"] # 0x33dc + - "㏝": [t: "ウェザー"] # 0x33dd + - "㏞": [t: "メートルごとのボルト"] # 0x33de + - "㏟": [t: "メートルごとのアンペア"] # 0x33df + - "㏿": [t: "ガロン"] # 0x33ff + - "": [t: "帽子との等しい"] # 0xe900 + - "": [t: "上記と同等"] # 0xe901 + - "": [t: "下のプラスと等しい"] # 0xe902 + - "": [t: "上記のプラスとチルド"] # 0xe903 + - "": [t: "下記のプラスでチルド"] # 0xe904 + - "": [t: "大きいより大きいの等しい倍"] # 0xe908 + - "": [t: "より少しより少し上の等しい倍"] # 0xe909 + - "": [t: "含まれているか、または等しい"] # 0xe90a + - "": [t: "スーパーセットまたは等しく"] # 0xe90b + - "": [t: "または等しいのサブセット"] # 0xe90c + - "": [t: "より少し以上"] # 0xe90d + - "": [t: "要素または等しく"] # 0xe912 + - "": [t: "またはより大きいに等しい"] # 0xe913 + - "": [t: "近似スーパーセット"] # 0xe914 + - "": [t: "近似サブセット"] # 0xe915 + - "": [t: "点のスーパーセットはサブリレーションとして含まれています"] # 0xe916 + - "": [t: "点のサブセットはサブリレーションとして含まれています"] # 0xe917 + - "": [t: "下の点と等しい"] # 0xe918 + - "": [t: "右上のマイナス上の左ドット"] # 0xe919 + - "": [t: "左の点の上のマイナス上の右点"] # 0xe91a + - "": [t: "マイナスとほぼ同じ"] # 0xe91f + - "": [t: "二重正方形のコップ"] # 0xe920 + - "": [t: "二重正方形の帽子"] # 0xe921 + - "": [t: "等しくないよりも大きい"] # 0xe922 + - "": [t: "ドットでチルド"] # 0xe924 + - "": [t: "2つの点が付いているチルダ"] # 0xe925 + - "": [t: "より大きいまたは等しいよりより少し"] # 0xe926 + - "": [t: "より少しまたは等しいです"] # 0xe927 + - "": [t: "以上"] # 0xe928 + - "": [t: "以上のもの"] # 0xe929 + - "": [t: "左の開いた箱オペレータ"] # 0xe92a + - "": [t: "右の開いた箱オペレータ"] # 0xe92b + - "": [t: "点と同一"] # 0xe92c + - "": [t: "等しいかより少しよりより大きい"] # 0xe92d + - "": [t: "棒オペレータ"] # 0xe92e + - "": [t: "二重棒オペレータ"] # 0xe92f + - "": [t: "トリプルバーオペレータ"] # 0xe930 + - "": [t: "より少しまたは約等しい"] # 0xe932 + - "": [t: "より大きいかおよそ等しいです"] # 0xe933 + - "": [t: "ネストよりも少ない"] # 0xe936 + - "": [t: "ネストよりも大きい"] # 0xe937 + - "": [t: "優先または等価"] # 0xe93a + - "": [t: "成功または等価"] # 0xe93b + - "": [t: "等しい上の優先順位"] # 0xe940 + - "": [t: "等しく成功する"] # 0xe941 + - "": [t: "より少なく等しい傾斜より大きい"] # 0xe942 + - "": [t: "より大きい等しい傾きより少ない"] # 0xe943 + - "": [t: "満足して"] # 0xe948 + - "": [t: "ラジース"] # 0xe949 + - "": [t: "主張しない"] # 0xe94a + - "": [t: "二重等しい"] # 0xe94b + - "": [t: "トリプル等"] # 0xe94c + - "": [t: "ルールの遅延"] # 0xe94d + - "": [t: "エイリアス・デリミター"] # 0xe94e + - "": [t: "棒が付いている正常なサブグループ"] # 0xe950 + - "": [t: "棒が付いている正常なサブグループとして含んでいます"] # 0xe951 + - "": [t: "円形の衝動"] # 0xe954 + - "": [t: "笑顔でバー"] # 0xe955 + - "": [t: "そばバー"] # 0xe956 + - "": [t: "またはほぼ同じのスーパーセット"] # 0xe957 + - "": [t: "またはほぼ同じのサブセット"] # 0xe958 + - "": [t: "ほぼ等しい以上のもの"] # 0xe959 + - "": [t: "ほぼ平等以上のもの"] # 0xe95a + - "": [t: "二重論理か"] # 0xe95c + - "": [t: "二重論理および"] # 0xe95d + - "": [t: "論理的または下の二重棒と"] # 0xe95e + - "": [t: "論理的または下の棒と"] # 0xe95f + - "": [t: "ほぼ平等に等しい"] # 0xe962 + - "": [t: "二等分 棒が付いている左の指の三角形"] # 0xe964 + - "": [t: "二等分棒が付いている三角形を指す権利"] # 0xe965 + - "": [t: "点状のトップ ラインと等しい"] # 0xe966 + - "": [t: "コロンで優先される"] # 0xe967 + - "": [t: "コロンで成功"] # 0xe968 + - "": [t: "より小さいですか平らにされる"] # 0xe969 + - "": [t: "より大きいか等しい傾斜"] # 0xe96a + - "": [t: "ネストよりもはるかに少ない"] # 0xe96b + - "": [t: "ネストよりもはるかに大きい"] # 0xe96c + - "": [t: "変形の違い"] # 0xe96d + - "": [t: "オーバーレイよりも大きい"] # 0xe96e + - "": [t: "論理的または論理的およびオーバーレイ"] # 0xe96f + - "": [t: "スーパーセットオーバースーパーセット"] # 0xe970 + - "": [t: "サブセットオーバーサブセット"] # 0xe971 + - "": [t: "サブセット上のスーパーセット"] # 0xe972 + - "": [t: "サブセット オーバー スーパーセット"] # 0xe973 + - "": [t: "トリプル垂直バー"] # 0xe979 + - "": [t: "組まれた四倍の縦の点"] # 0xe97a + - "": [t: "バーの上に垂直"] # 0xe97b + - "": [t: "左の回転木戸の二重縦棒"] # 0xe97c + - "": [t: "二重左の回転木戸の二重縦棒"] # 0xe97d + - "": [t: "垂直 オーバー 反転 垂直"] # 0xe97e + - "": [t: "二重左の回転木戸の縦棒"] # 0xe97f + - "": [t: "球形の角度の入り口"] # 0xe980 + - "": [t: "ダブルスラッシュ"] # 0xe981 + - "": [t: "角が付いている直角"] # 0xe982 + - "": [t: "円筒バー"] # 0xe984 + - "": [t: "円分岐記号"] # 0xe985 + - "": [t: "ダッシュソリッド"] # 0xe986 + - "": [t: "ダッシュバックスラッシュ"] # 0xe987 + - "": [t: "ダース中線"] # 0xe988 + - "": [t: "縦棒をダッシュ"] # 0xe989 + - "": [t: "エスと垂直"] # 0xe98a + - "": [t: "エスの角度"] # 0xe98b + - "": [t: "球形の角度の入り口左"] # 0xe98c + - "": [t: "角度の入り口 左"] # 0xe98d + - "": [t: "二重ホックが付いている縦棒"] # 0xe98e + - "": [t: "媒体の点オペレータは根本的で自由な"] # 0xe98f + - "": [t: "棒の上の三角形の上の白い上"] # 0xe990 + - "": [t: "同一および平行への"] # 0xe991 + - "": [t: "スマッシュ製品"] # 0xe992 + - "": [t: "横棒が付いている三重棒オペレータ"] # 0xe993 + - "": [t: "ダブルスラッシュと同じ"] # 0xe994 + - "": [t: "トリプルクロスバー"] # 0xe995 + - "": [t: "円上の縦棒"] # 0xe996 + - "": [t: "縦の比例への"] # 0xe997 + - "": [t: "黒い最後の四半期の月"] # 0xe998 + - "": [t: "黒第1四半期の月"] # 0xe999 + - "": [t: "負の正弦波"] # 0xe9a0 + - "": [t: "ペアサイズドット"] # 0xe9a1 + - "": [t: "丸括弧"] # 0xe9a2 + - "": [t: "白い笑顔"] # 0xe9a3 + - "": [t: "ホワイト 下向き弧"] # 0xe9a4 + - "": [t: "六角形"] # 0xe9a5 + - "": [t: "以上と同等の"] # 0xe9a6 + - "": [t: "と同等の"] # 0xe9a7 + - "": [t: "交差セリフ"] # 0xe9b0 + - "": [t: "和集合のセリフ"] # 0xe9b1 + - "": [t: "正方形の交差のセリフ"] # 0xe9b2 + - "": [t: "正方形の連合セリフ"] # 0xe9b3 + - "": [t: "または成功に相当する優先順位"] # 0xe9e0 + - "": [t: "または優先順位に等しい成功"] # 0xe9e1 + - "": [t: "ほぼ等しい、または成功する"] # 0xe9e2 + - "": [t: "ほぼ同等または優先順位に成功"] # 0xe9e3 + - "": [t: "以上と同等"] # 0xe9f0 + - "": [t: "以上のものよりも"] # 0xe9f1 + - "": [t: "より少し転換しない"] # 0xea00 + - "": [t: "それほど大きくない"] # 0xea01 + - "": [t: "変形よりもはるかに少ない"] # 0xea02 + - "": [t: "変形よりもはるかに大きい"] # 0xea03 + - "": [t: "逆転しない倍の等しい"] # 0xea04 + - "": [t: "大なり は二重等しいではないです"] # 0xea05 + - "": [t: "または等しくない"] # 0xea06 + - "": [t: "または等しくない"] # 0xea07 + - "": [t: "等しくないもの"] # 0xea09 + - "": [t: "含んだり等しくない"] # 0xea0a + - "": [t: "または等しくないスーパーセット"] # 0xea0b + - "": [t: "サブセットも等しくない"] # 0xea0c + - "": [t: "逆の固体サブセット"] # 0xea0d + - "": [t: "等しくも大きくない"] # 0xea0e + - "": [t: "マイナスチルド演算子ではありません"] # 0xea0f + - "": [t: "等しくないもの"] # 0xea10 + - "": [t: "チルド演算子ではありません"] # 0xea11 + - "": [t: "または等しくない要素"] # 0xea12 + - "": [t: "等しくも大きくない"] # 0xea13 + - "": [t: "ほとんど等しくない"] # 0xea14 + - "": [t: "同様に成功しない"] # 0xea15 + - "": [t: "斜線 と等しいより少しまたはスラント"] # 0xea16 + - "": [t: "スラッシュと等しいよりも大きいまたはスラント"] # 0xea17 + - "": [t: "スーパーセットソリッド"] # 0xea1a + - "": [t: "含まない"] # 0xea1b + - "": [t: "または等しくない"] # 0xea1d + - "": [t: "または等しくない"] # 0xea1e + - "": [t: "マイナスにほぼ等しくない"] # 0xea1f + - "": [t: "否定 集合 会員ドット 上記"] # 0xea22 + - "": [t: "角度を転換しない"] # 0xea2c + - "": [t: "並列傾斜しない"] # 0xea2d + - "": [t: "ない棒オペレータ"] # 0xea2e + - "": [t: "二重棒オペレータ無し"] # 0xea2f + - "": [t: "トリプルバー演算子ではありません"] # 0xea30 + - "": [t: "以下に等しいものではない"] # 0xea32 + - "": [t: "より大きいが、約等しくない"] # 0xea33 + - "": [t: "等しくない"] # 0xea34 + - "": [t: "より大きいまたは等しくない"] # 0xea35 + - "": [t: "ネストしない"] # 0xea36 + - "": [t: "より大きいネストしない"] # 0xea37 + - "": [t: "あまり少ない"] # 0xea38 + - "": [t: "よりはるかに大きい"] # 0xea39 + - "": [t: "優先するが等しくない"] # 0xea3a + - "": [t: "成功するが、等しくない"] # 0xea3b + - "": [t: "優先するが等しくない"] # 0xea3c + - "": [t: "成功するが等しくない"] # 0xea3d + - "": [t: "等しくないですか沈殿物"] # 0xea3e + - "": [t: "等しくない、または成功しない"] # 0xea3f + - "": [t: "優先するが等しくない"] # 0xea40 + - "": [t: "成功するが等しくない"] # 0xea41 + - "": [t: "サブセットではなく、等しくない"] # 0xea42 + - "": [t: "または等しくないスーパーセット"] # 0xea43 + - "": [t: "または等しくないサブセット"] # 0xea44 + - "": [t: "または等しくない上位集合"] # 0xea45 + - "": [t: "サブセットではなく、等しくない"] # 0xea46 + - "": [t: "または等しくないスーパーセット"] # 0xea47 + - "": [t: "トリプル未満"] # 0xea48 + - "": [t: "3倍以上"] # 0xea49 + - "": [t: "ない 前置 等しい"] # 0xea4c + - "": [t: "等しく成功しない"] # 0xea4d + - "": [t: "棒が付いている正常なサブグループ無し"] # 0xea50 + - "": [t: "棒が付いている正常なサブグループとして含まないで下さい"] # 0xea51 + - "": [t: "違いはありません"] # 0xea52 + - "": [t: "幾何学的に等しくない"] # 0xea53 + - "": [t: "似ていない"] # 0xea54 + - "": [t: "等しくないですか同じような"] # 0xea55 + - "": [t: "近似しない"] # 0xea56 + - "": [t: "ほぼ同じではない"] # 0xea57 + - "": [t: "ない 強烈な等しい"] # 0xea58 + - "": [t: "ない バンパー シングル 等しい"] # 0xea59 + - "": [t: "等しい点ではない"] # 0xea5a + - "": [t: "逆に等しくない"] # 0xea5b + - "": [t: "ない正方形のサブセット"] # 0xea60 + - "": [t: "ない正方形のスーパーセット"] # 0xea61 + - "": [t: "ほぼ等しくない"] # 0xea62 + - "": [t: "厳密に等しくない"] # 0xea63 + - "": [t: "ない 合同 点"] # 0xea64 + - "": [t: "逆に等しくない"] # 0xea65 + - "": [t: "左の三角形の等しい転換しません"] # 0xea70 + - "": [t: "正しい三角形の等しい転換しません"] # 0xea71 + - "": [t: "部分的ではない"] # 0xea80 + - "": [t: "矢印装飾エクステンダー"] # 0xeb00 + - "": [t: "矢印を右上矢印左上に移動"] # 0xeb01 + - "": [t: "矢印を右上矢印左上に移動"] # 0xeb02 + - "": [t: "ハープーン を左のハープーンに直進"] # 0xeb03 + - "": [t: "ハープーン を左のハープーンに直進"] # 0xeb04 + - "": [t: "ダブル矢印北東南西"] # 0xeb05 + - "": [t: "ダブル矢印北西南東"] # 0xeb06 + - "": [t: "横のハープーンのエクステンダー"] # 0xeb07 + - "": [t: "反時計回りアーク左矢印"] # 0xeb08 + - "": [t: "反時計回りアーク右矢印"] # 0xeb09 + - "": [t: "大きい右の矢のアクセント"] # 0xeb0b + - "": [t: "大きい左矢印のアクセント"] # 0xeb0c + - "": [t: "左矢印ヘッド"] # 0xeb0d + - "": [t: "右矢印ヘッド"] # 0xeb0e + - "": [t: "ストロークで大きな左矢印"] # 0xeb0f + - "": [t: "水平ダブル矢印エクステンダー"] # 0xeb10 + - "": [t: "ストロークで大きな左右のダブル矢印"] # 0xeb11 + - "": [t: "上下矢印左上矢印"] # 0xeb12 + - "": [t: "左矢印で角を下ろす"] # 0xeb13 + - "": [t: "コーナーアップで右矢印"] # 0xeb14 + - "": [t: "左矢印で角を上げます"] # 0xeb15 + - "": [t: "反時計回りの上の半円の矢とプラス"] # 0xeb16 + - "": [t: "時計回りのトップ半円矢印とマイナス"] # 0xeb17 + - "": [t: "ストロークで尾と右矢印"] # 0xeb18 + - "": [t: "右ハーポオンダウン"] # 0xeb19 + - "": [t: "左ハーポオンダウン"] # 0xeb1a + - "": [t: "左右ハーポオンダウン"] # 0xeb1b + - "": [t: "左右ハーポオンアップ"] # 0xeb1c + - "": [t: "左のハーポオンダウン"] # 0xeb1d + - "": [t: "ダウンハーポオン右"] # 0xeb1e + - "": [t: "ダウン矢印の右側まで矢印"] # 0xeb1f + - "": [t: "バーブアップでバーに左のハーポオン"] # 0xeb20 + - "": [t: "右 ハープーン へ かぎ アップ"] # 0xeb21 + - "": [t: "バーブダウンでバーに左のハーポオン"] # 0xeb22 + - "": [t: "右 ハープーン へ かぎ ダウン"] # 0xeb23 + - "": [t: "バーブアップでバーから左のハーポオン"] # 0xeb24 + - "": [t: "バーブアップ付きのバーから右港"] # 0xeb25 + - "": [t: "バーブダウンでバーから左のハーポオン"] # 0xeb26 + - "": [t: "バーブダウン付きバーから右港"] # 0xeb27 + - "": [t: "左バーブでバーにハーポオンをアップ"] # 0xeb28 + - "": [t: "左バーブ付きのバーにハーポオンダウン"] # 0xeb29 + - "": [t: "右バーブでバーにハーポオンをアップ"] # 0xeb2a + - "": [t: "ダウン ハープーン へ かぎ 右"] # 0xeb2b + - "": [t: "左バーブ付きのバーから港を上る"] # 0xeb2c + - "": [t: "左バーブ付きのバーからダウンハーポオン"] # 0xeb2d + - "": [t: "右バーブ付きのバーから港を上る"] # 0xeb2e + - "": [t: "右バーブ付きのバーからダウンハーポオン"] # 0xeb2f + - "": [t: "棒への矢印"] # 0xeb30 + - "": [t: "バーに矢印を下げる"] # 0xeb31 + - "": [t: "ダウンハーポオンの左にハーポオンを上る"] # 0xeb32 + - "": [t: "ダウンハーポオンの右側にハーポオンをアップ"] # 0xeb33 + - "": [t: "アップアローヘッド"] # 0xeb34 + - "": [t: "ダウン矢印ヘッド"] # 0xeb35 + - "": [t: "左バーブダウン右バーブアップ付きダブルハーポオン"] # 0xeb36 + - "": [t: "左バーブアップ右バーブダウンとダブルハーポオン"] # 0xeb37 + - "": [t: "左矢印バーの上に"] # 0xeb38 + - "": [t: "右矢印バー"] # 0xeb39 + - "": [t: "バーの下に左矢印"] # 0xeb3a + - "": [t: "右棒の下矢印"] # 0xeb3b + - "": [t: "左右トリプル矢印"] # 0xeb3c + - "": [t: "ダブル矢印北東南東"] # 0xeb3f + - "": [t: "反時計回り左半円矢印"] # 0xeb40 + - "": [t: "時計回り左半円矢印"] # 0xeb41 + - "": [t: "左開いた円左右矢印"] # 0xeb42 + - "": [t: "チルド上の右矢印"] # 0xeb44 + - "": [t: "チルデの上に左矢印"] # 0xeb45 + - "": [t: "バーの上に左のハーポオン"] # 0xeb48 + - "": [t: "バーの上に右ハーポオン"] # 0xeb49 + - "": [t: "バーの下に左のハーポオン"] # 0xeb4a + - "": [t: "右バーの下港"] # 0xeb4b + - "": [t: "スクワットブラック左矢印"] # 0xeb4c + - "": [t: "時計回り右半円矢印"] # 0xeb50 + - "": [t: "反時計回り右半円矢印"] # 0xeb51 + - "": [t: "左の開いた円は右のハープーンを残します"] # 0xeb52 + - "": [t: "縦棒の左上矢印"] # 0xeb58 + - "": [t: "縦棒の左下矢印"] # 0xeb59 + - "": [t: "縦棒の右上矢印"] # 0xeb5a + - "": [t: "縦棒の右下矢印"] # 0xeb5b + - "": [t: "右矢印を拡張したホック"] # 0xeb5c + - "": [t: "左矢印 延長ホック付き"] # 0xeb5d + - "": [t: "左矢印で上下のホック"] # 0xeb5e + - "": [t: "延長ホックが付いている右の矢"] # 0xeb5f + - "": [t: "右矢印の波状ではない"] # 0xeb60 + - "": [t: "右矢印はカーブしません"] # 0xeb61 + - "": [t: "縦棒の左上のハープーン"] # 0xeb68 + - "": [t: "縦棒の左下のハープーン"] # 0xeb69 + - "": [t: "縦棒の右上の港"] # 0xeb6a + - "": [t: "垂直バーの右下港"] # 0xeb6b + - "": [t: "縦の二重矢のエクステンダー"] # 0xeb6c + - "": [t: "バーブの左のエクステンダーが付いている縦のハープーン"] # 0xeb6d + - "": [t: "バルブの右エクステンダーが付いている縦のハープーン"] # 0xeb6e + - "": [t: "右上のハーポオン左上のハーポオン右"] # 0xeb6f + - "": [t: "左ハーポオン左上の右ハーポオン"] # 0xeb70 + - "": [t: "右上の左ハーポオン右上のハーポオン"] # 0xeb71 + - "": [t: "左 ハーポオン 左 ハーポオン 左"] # 0xeb72 + - "": [t: "バーの矢印から左矢印"] # 0xeb73 + - "": [t: "左右矢印バーエクステンダーから"] # 0xeb74 + - "": [t: "バーテールから左矢印"] # 0xeb75 + - "": [t: "バーテールから右矢印"] # 0xeb76 + - "": [t: "バーの矢印から右矢印"] # 0xeb77 + - "": [t: "バーブの左矢印ヘッドでバーからハーポーンを上る"] # 0xeb78 + - "": [t: "右矢印を左矢印右上に移動"] # 0xeb79 + - "": [t: "左矢印の左矢印を右矢印"] # 0xeb7a + - "": [t: "右矢印の上の左矢印"] # 0xeb7b + - "": [t: "左矢印を右矢印左に矢印"] # 0xeb7c + - "": [t: "バーの矢印から矢印を上げる"] # 0xeb7d + - "": [t: "バーテールから矢印を上げます"] # 0xeb7e + - "": [t: "棒の尾からの矢印を下げて下さい"] # 0xeb7f + - "": [t: "バーの矢印から下矢印"] # 0xeb80 + - "": [t: "バーブの右矢印でバーからダウンハーポオン"] # 0xeb81 + - "": [t: "ダウンハーポオン下部の左にハーポオンを上る"] # 0xeb82 + - "": [t: "ダウンハーポオンエクステンダーの左にハーポオンを上げます"] # 0xeb83 + - "": [t: "アップハーポオントップの左にハーポオンダウン"] # 0xeb84 + - "": [t: "ダウンハーポオントップの左にハーポオンをアップ"] # 0xeb85 + - "": [t: "アップハーポオンエクステンダーの左にハーポオンダウン"] # 0xeb86 + - "": [t: "アップハーポンの底の左にハーポオンダウン"] # 0xeb87 + - "": [t: "上下矢印の左上矢印"] # 0xeb88 + - "": [t: "上下矢印左上矢印"] # 0xeb89 + - "": [t: "上下矢印の左上矢印"] # 0xeb8a + - "": [t: "上下矢印の左下矢印"] # 0xeb8b + - "": [t: "左右矢印エクステンダー"] # 0xeb8c + - "": [t: "北東矢印エクステンダー"] # 0xeb8d + - "": [t: "北西矢印エクステンダー"] # 0xeb8e + - "": [t: "残された支柱を指摘する"] # 0xec00 + - "": [t: "ダウンポインティングブラス中"] # 0xec01 + - "": [t: "右の括弧を指すダウン"] # 0xec02 + - "": [t: "横の支柱のエクステンダー"] # 0xec03 + - "": [t: "アップポインティングブラス左"] # 0xec04 + - "": [t: "最中括弧"] # 0xec05 + - "": [t: "括弧を右に配置"] # 0xec06 + - "": [t: "左の縦棒"] # 0xec07 + - "": [t: "右垂直バー"] # 0xec08 + - "": [t: "左の二重縦棒"] # 0xec09 + - "": [t: "右の二重縦棒"] # 0xec0a + - "": [t: "横ブラケットエクステンダー"] # 0xec0b + - "": [t: "正方形ブラケットの下"] # 0xec0c + - "⎵": [t: "正方形ブラケットの下"] # 0x23b5 + - "": [t: "正方形ブラケットの上"] # 0xec0d + - "⎴": [t: "正方形ブラケットの上"] # 0x23b4 + - "": [t: "左ブラケット"] # 0xec0e + - "": [t: "ブラケットの権利の下"] # 0xec0f + - "": [t: "ブラケットの左上"] # 0xec10 + - "": [t: "ブラケットの右上"] # 0xec11 + - "": [t: "左の丸括弧 1"] # 0xec12 + - "": [t: "左丸括弧 2"] # 0xec13 + - "": [t: "左の丸括弧 3"] # 0xec14 + - "": [t: "左の丸括弧 4"] # 0xec15 + - "": [t: "正しいパーン 1"] # 0xec16 + - "": [t: "右 パリス2"] # 0xec17 + - "": [t: "正しい丸括弧 3"] # 0xec18 + - "": [t: "正しいパーン 4"] # 0xec19 + - "": [t: "ラジカル 1"] # 0xec1a + - "": [t: "ラジカル2"] # 0xec1b + - "": [t: "ラジカル3"] # 0xec1c + - "": [t: "ラジカル 4"] # 0xec1d + - "": [t: "ラジカル 5"] # 0xec1e + - "": [t: "根本的な底"] # 0xec1f + - "": [t: "根本的な縦のエクステンダー"] # 0xec20 + - "": [t: "ラジカルトップ"] # 0xec21 + - "": [t: "左の白いブラケットの上"] # 0xec22 + - "": [t: "左ホワイトブラケットエクステンダー"] # 0xec23 + - "": [t: "左白いブラケットの底"] # 0xec24 + - "": [t: "右の白いブラケットの上"] # 0xec25 + - "": [t: "右の白いブラケットのエクステンダー"] # 0xec26 + - "": [t: "右の白いブラケットの底"] # 0xec27 + - "": [t: "左の白い巻き毛ブラケット"] # 0xec30 + - "": [t: "右の白い巻き毛ブラケット"] # 0xec31 + - "": [t: "ロングディビジョンサイン"] # 0xec32 + - "": [t: "長い分割の印のエクステンダー"] # 0xec33 + - "": [t: "ショート部門"] # 0xec34 + - "": [t: "二重南西へ北東へエムボンド"] # 0xec40 + - "": [t: "二重北西へ南東エムボンド"] # 0xec41 + - "": [t: "単一の横の エム の結束"] # 0xec42 + - "": [t: "二重横の エム の結束"] # 0xec43 + - "": [t: "三角形の横の エム の結束"] # 0xec44 + - "": [t: "単一の縦の エム の結束"] # 0xec45 + - "": [t: "二重縦の エム の結束"] # 0xec46 + - "": [t: "トリプル垂直エンボンド"] # 0xec47 + - "": [t: "エムボンドよりも少ない"] # 0xec48 + - "": [t: "エム ボンドよりも大きい"] # 0xec49 + - "": [t: "単一の横の エン の結束"] # 0xec4a + - "": [t: "二重横のエンの結束"] # 0xec4b + - "": [t: "トリプル水平エンボンド"] # 0xec4c + - "": [t: "左上の長方形"] # 0xec80 + - "": [t: "左下長方形"] # 0xec81 + - "": [t: "右上の長方形"] # 0xec90 + - "": [t: "ボトム右長方形"] # 0xec91 + - "": [t: "合成分裂コーナー"] # 0xec92 + - "": [t: "合成分裂水平エクステンダー"] # 0xec93 + - "": [t: "合成分裂の縦のエクステンダー"] # 0xec94 + - "": [t: "左の天井の床のエクステンダー"] # 0xec95 + - "": [t: "右の天井の床のエクステンダー"] # 0xec96 + - "": [t: "ブラケットのエクステンダーの上"] # 0xec97 + - "": [t: "縦棒エクステンダー"] # 0xec98 + - "": [t: "左の二重縦棒エクステンダー"] # 0xec99 + - "": [t: "横棒エクステンダー"] # 0xec9a + - "": [t: "ブラケットのエクステンダーの下"] # 0xec9c + - "": [t: "右パーンを指下"] # 0xec9d + - "": [t: "パーンエクステンダーの点下"] # 0xec9e + - "": [t: "左のパーンを指下"] # 0xec9f + - "": [t: "括弧エクステンダーを指す"] # 0xeca0 + - "": [t: "左のパーンを指す"] # 0xeca1 + - "": [t: "パーンエクステンダーのポイントアップ"] # 0xeca2 + - "": [t: "パーンを指す"] # 0xeca3 + - "": [t: "ブラスエクステンダーのポイントダウン"] # 0xeca4 + - "": [t: "プランク 定数 以上 2 パイ 横線"] # 0xed00 + - "": [t: "ミラー ジー"] # 0xed01 + - "": [t: "ドットレスジェー"] # 0xed02 + - "": [t: "ディガンマ"] # 0xed03 + - "ϝ": [t: "ディガンマ"] # 0x3dd + - "": [t: "ディー"] # 0xed10 + - "ⅆ": [t: "ディー"] # 0x2146 + - "": [t: "イーメール"] # 0xed11 + - "ⅇ": [t: "イーメール"] # 0x2147 + - "": [t: "アイ"] # 0xed12 + - "ⅈ": [t: "アイ"] # 0x2148 + - "": [t: "ジェー"] # 0xed13 + - "ⅅ": + - spell: "translate('.', 'ⅅ', 'DD')" # 0xed16, 0x2145 + +# The private use chars are from MathType + - "": [t: "反時計回りの輪郭の必要なループ"] # 0xee00 + - "": [t: "時計回りの輪郭の必要なループ"] # 0xee01 + - "": [t: ""] # 0xee04 + - "": [t: ""] # 0xee05 + - "": [t: ""] # 0xee06 + - "": [t: ""] # 0xee07 + - "": [t: ""] # 0xee08 + - "": [t: ""] # 0xee09 + - "": [t: ""] # 0xee0a + - "": [t: ""] # 0xee0b + - "": [t: ""] # 0xee0c + - "": [t: "共同状態の装飾"] # 0xee0d + - "": [t: "共同状態の装飾の左"] # 0xee0e + - "": [t: "共同状態の装飾の権利"] # 0xee0f + - "": [t: "共同状態の装飾のエクステンダー"] # 0xee10 + - "": [t: "一体型ループ"] # 0xee11 + - "": [t: "一体型ループダブル"] # 0xee12 + - "": [t: "一体型ループトリプル"] # 0xee13 + - "": [t: "一体型ループダブルの拡大"] # 0xee15 + - "": [t: "一体型ループを3倍増"] # 0xee16 + - "": [t: "アクセントに等しい同化"] # 0xee17 + - "": [t: "等しい印のアクセント"] # 0xee18 + - "": [t: "四四四倍のプライム"] # 0xee19 + - "": [t: "開いた円の左の棒のアクセント"] # 0xee1a + - "": [t: "左に閉じた円でバーのアクセント"] # 0xee1b + - "": [t: "棒は右開いた円と強調します"] # 0xee1c + - "": [t: "点上のバーのアクセント"] # 0xee1d + - "": [t: "点の下の棒アクセント"] # 0xee1e + - "": [t: "点を倍増する棒のアクセント"] # 0xee1f + - "": [t: "点の下の倍が付いている棒アクセント"] # 0xee20 + - "": [t: "注意を払って棒アクセント"] # 0xee21 + - "": [t: "棒のアクセントの下の厚さ"] # 0xee22 + - "": [t: "棒は閉鎖した円の右のアクセントを強調します"] # 0xee23 + - "": [t: "上で大きい点"] # 0xee24 + - "": [t: "アライメントマーク"] # 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: "行方不明"] # 0xef41 + - "": [t: "左の時計回りの輪郭の積分矢印"] # 0xef80 + - "": [t: "正方形と一体"] # 0xef81 + - "": [t: "スラッシュと一体化"] # 0xef82 + - "": [t: "逆に積分"] # 0xef83 + - "": [t: "二重ゼロ倍のゼロ"] # 0xef90 + - "": [t: "スラッシュでゼロ"] # 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: "フラクトゥール" + - spell: "translate('.', '𝔄𝔅𝔆𝔇𝔈𝔉𝔊𝔋𝔌𝔍𝔎𝔏𝔐𝔑𝔒𝔓𝔔𝔕𝔖𝔗𝔘𝔙𝔚𝔛𝔜', 'ABCDEFGHIJKLMNOPQRSTUVWXY')" + + - "-": # 0xf000 - 0xf018 + - t: "フラクトゥール" + - spell: "translate('.', '', 'ABCDEFGHIJKLMNOPQRSTUVWXY')" + + - "𝔞-𝔷": # 0x1d51e - 0x1d537 + - t: "フラクトゥール" + - spell: "translate('.', '𝔞𝔟𝔠𝔡𝔢𝔣𝔤𝔥𝔦𝔧𝔨𝔩𝔪𝔫𝔬𝔭𝔮𝔯𝔰𝔱𝔲𝔳𝔴𝔵𝔶𝔷', 'abcdefghijklmnopqrstuvwxyz')" + - "-": # 0xf01a - 0xf033 + - t: "フラクトゥール" + - spell: "translate('.', '', 'abcdefghijklmnopqrstuvwxyz')" + + - "𝕬-𝖅": # 0x1D56C - 0x1D585 + - t: "フラクトゥール" + - test: + if: "not($IgnoreBold)" + then: [t: "太字"] + - spell: "translate('.', '𝕬𝕭𝕮𝕯𝕰𝕱𝕲𝕳𝕴𝕵𝕶𝕷𝕸𝕹𝕺𝕻𝕼𝕽𝕾𝕿𝖀𝖁𝖂𝖃𝖄𝖅', 'ABCDEFGHIJKLMNOPQRSTUVWXYZ')" + + - "-": # 0xf040 - 0xf059 + - t: "フラクトゥール" + - test: + if: "not($IgnoreBold)" + then: [t: "太字"] + - spell: "translate('.', '', 'ABCDEFGHIJKLMNOPQRSTUVWXYZ')" + + - "𝖆-𝖟": # 0x1d586 - 0x1d59f + - t: "フラクトゥール" + - test: + if: "not($IgnoreBold)" + then: [t: "太字"] + - spell: "translate('.', '𝖆𝖇𝖈𝖉𝖊𝖋𝖌𝖍𝖎𝖏𝖐𝖑𝖒𝖓𝖔𝖕𝖖𝖗𝖘𝖙𝖚𝖛𝖜𝖝𝖞𝖟', 'abcdefghijklmnopqrstuvwxyz')" + - "-": # 0xf05a - 0xf073 + - t: "フラクトゥール" + - test: + if: "not($IgnoreBold)" + then: [t: "太字"] + - 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: "ダブルタック" + - spell: "translate('.', '𝔸𝔹𝔺𝔻𝔼𝔽𝔾𝔿𝕀𝕁𝕂𝕃𝕄𝕅𝕆𝕇𝕈𝕉𝕊𝕋𝕌𝕍𝕎𝕏𝕐', 'ABCDEFGHIJKLMNOPQRSTUVWXYZ')" + + - "-": # 0xf080 - 0xf098 + - t: "ダブルタック" + - spell: "translate('.', '', 'ABCDEFGHIJKLMNOPQRSTUVWXYZ')" + + - "𝕒-𝕫": # 0x1d552 - 0x1d56b + - t: "ダブルタック" + - spell: "translate('.', '𝕒𝕓𝕔𝕕𝕖𝕗𝕘𝕙𝕚𝕛𝕜𝕝𝕞𝕟𝕠𝕡𝕢𝕣𝕤𝕥𝕦𝕧𝕨𝕩𝕪𝕫', 'abcdefghijklmnopqrstuvwxyz')" + - "-": # 0xf09a - 0xf0b3 + - t: "ダブルタック" + - spell: "translate('.', '', 'abcdefghijklmnopqrstuvwxyz')" + - "𝟘-𝟡": # 0x1d7d8 - 0x1d7e1 + - t: "ダブルタック" + - spell: "translate('.', '𝟘𝟙𝟚𝟛𝟜𝟝𝟞𝟟𝟠𝟡', '0123456789')" + - "-": # 0xf0c0 - 0xf0c9 + - t: "ダブルタック" + - spell: "translate('.', '', '0123456789')" + + - "": [t: "ダブルタックナフブラ"] # 0xf0ca + - "": [t: "ダブルタックユーラー定数"] # 0xf0cb + + # script chars in math alphabetic block and also MathType private use area + - "𝒜-𝒵": # 0x1d49c - 0x1d4b5 + - t: "スクリプト" + - spell: "translate('.', '𝒜𝒝𝒞𝒟𝒠𝒡𝒢𝒣𝒤𝒥𝒦𝒧𝒨𝒩𝒪𝒫𝒬𝒭𝒮𝒯𝒰𝒱𝒲𝒳𝒴𝒵', 'ABCDEFGHIJKLMNOPQRSTUVWXYZ')" + + - "-": # 0xf100 - 0xf119 + - t: "スクリプト" + - spell: "translate('.', '', 'ABCDEFGHIJKLMNOPQRSTUVWXYZ')" + + - "𝒶-𝓏": # 0x1d4b6 - 0x1d4cf + - t: "スクリプト" + - spell: "translate('.', '𝒶𝒷𝒸𝒹𝒺𝒻𝒼𝒽𝒾𝒿𝓀𝓁𝓂𝓃𝓄𝓅𝓆𝓇𝓈𝓉𝓊𝓋𝓌𝓍𝓎𝓏', 'abcdefghijklmnopqrstuvwxyz')" + - "-": # 0xf11a - 0xf133 + - t: "スクリプト" + - spell: "translate('.', '', 'abcdefghijklmnopqrstuvwxyz')" + + # bold script chars in math alphabetic block and also MathType private use area + - "𝓐-𝓩": # 0x1d4d0 - 0x1d4e9 + - t: "スクリプト" + - test: + if: "not($IgnoreBold)" + then: [t: "太字"] + - spell: "translate('.', '𝓐𝓑𝓒𝓓𝓔𝓕𝓖𝓗𝓘𝓙𝓚𝓛𝓜𝓝𝓞𝓟𝓠𝓡𝓢𝓣𝓤𝓥𝓦𝓧𝓨𝓩', 'ABCDEFGHIJKLMNOPQRSTUVWXYZ')" + + - "-": # 0xf140 - 0xf159 + - t: "スクリプト" + - test: + if: "not($IgnoreBold)" + then: [t: "太字"] + - spell: "translate('.', '', 'ABCDEFGHIJKLMNOPQRSTUVWXYZ')" + + - "𝓪-𝔃": # 0x1d4ea - 0x1d503 + - t: "スクリプト" + - test: + if: "not($IgnoreBold)" + then: [t: "太字"] + - spell: "translate('.', '𝓪𝓫𝓬𝓭𝓮𝓯𝓰𝓱𝓲𝓳𝓴𝓵𝓶𝓷𝓸𝓹𝓺𝓻𝓼𝓽𝓾𝓿𝔀𝔁𝔂𝔃', 'abcdefghijklmnopqrstuvwxyz')" + - "-": # 0xf15a - 0xf173 + - t: "スクリプト" + - test: + if: "not($IgnoreBold)" + then: [t: "太字"] + - 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: "大文字"] + else: [x: "$SpeechOverrides_CapitalLetters"] + - pitch: + value: "$CapitalLetters_Pitch" + replace: [t: "熟年 エーイー"] + - "": # 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: "大文字"] + else: [x: "$SpeechOverrides_CapitalLetters"] + - pitch: + value: "$CapitalLetters_Pitch" + replace: [t: "シャープ"] + - "": # 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: "大文字"] + else: [x: "$SpeechOverrides_CapitalLetters"] + - pitch: + value: "$CapitalLetters_Pitch" + replace: [t: "オー ストローク"] + + # MathType only has a few of the cap Greek letters in PUA + - "": # 0xf201 - 0xf209 + - t: "ダブルタック" + - spell: "translate('.', '', 'ΔΨΛΠΣΘΓΩΥ')" + + - "-": # 0xf220 - 0xf236 + - t: "ダブルタック" + - spell: "translate('.', '', 'ΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡ΢ΣΤΥΦΧΨΩ')" + + - "": [t: "ダブルタック最終シグマ"] # 0xf237 + - "": [t: "ダブルタックルロー"] # 0xf250 + - "": [t: "ダブル タック ファイ"] # 0xf251 + - "𝐀-𝐙": # 0x1d400 - 0x1d419 + - test: + if: "not($IgnoreBold)" + then: [t: "太字"] + - spell: "translate('.', '𝐀𝐁𝐂𝐃𝐄𝐅𝐆𝐇𝐈𝐉𝐊𝐋𝐌𝐍𝐎𝐏𝐐𝐑𝐒𝐓𝐔𝐕𝐖𝐗𝐘𝐙', 'ABCDEFGHIJKLMNOPQRSTUVWXYZ')" + + - "-": # 0xf260 - 0xf279 + - test: + if: "not($IgnoreBold)" + then: [t: "太字"] + - spell: "translate('.', '', 'ABCDEFGHIJKLMNOPQRSTUVWXYZ')" + + - "𝐚-𝐳": # 0x1d41a - 0x1d433 + - test: + if: "not($IgnoreBold)" + then: [t: "太字"] + - spell: "translate('.', '𝐚𝐛𝐜𝐝𝐞𝐟𝐠𝐡𝐢𝐣𝐤𝐥𝐦𝐧𝐨𝐩𝐪𝐫𝐬𝐭𝐮𝐯𝐰𝐱𝐲𝐳', 'abcdefghijklmnopqrstuvwxyz')" + + - "-": # 0xf27a - 0xf293 + - test: + if: "not($IgnoreBold)" + then: [t: "太字"] + - 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: "大胆なイタリック" + - test: + if: "not($IgnoreBold)" + then: [t: "太字"] + - spell: "translate('.', '𝑨𝑩𝑪𝑫𝑬𝑭𝑮𝑯𝑰𝑱𝑲𝑳𝑴𝑵𝑶𝑷𝑸𝑹𝑺𝑻𝑼𝑽𝑾𝑿𝒀𝒁', 'ABCDEFGHIJKLMNOPQRSTUVWXYZ')" + + - "-": # 0xf2c8 - 0xf2e1 + # - t: "大胆なイタリック" + - test: + if: "not($IgnoreBold)" + then: [t: "太字"] + - spell: "translate('.', '', 'ABCDEFGHIJKLMNOPQRSTUVWXYZ')" + + - "𝒂-𝒛": # 0x1d482 - 0x1d49b + # - t: "大胆なイタリック" + - test: + if: "not($IgnoreBold)" + then: [t: "太字"] + - spell: "translate('.', '𝒂𝒃𝒄𝒅𝒆𝒇𝒈𝒉𝒊𝒋𝒌𝒍𝒎𝒏𝒐𝒑𝒒𝒓𝒔𝒕𝒖𝒗𝒘𝒙𝒚𝒛', 'abcdefghijklmnopqrstuvwxyz')" + + - "-": # 0xf2e2 - 0xf2fb + # - t: "大胆なイタリック" + - test: + if: "not($IgnoreBold)" + then: [t: "太字"] + - 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: "太字"] + - spell: "translate('.', '𝗔𝗕𝗖𝗗𝗘𝗙𝗚𝗛𝗜𝗝𝗞𝗟𝗠𝗡𝗢𝗣𝗤𝗥𝗦𝗧𝗨𝗩𝗪𝗫𝗬𝗭', 'ABCDEFGHIJKLMNOPQRSTUVWXYZ')" + + - "-": # 0xf334 - 0xf34d + - test: + if: "not($IgnoreBold)" + then: [t: "太字"] + - spell: "translate('.', '', 'ABCDEFGHIJKLMNOPQRSTUVWXYZ')" + + - "𝗮-𝘇": # 0x1d5ee - 0x1d607 + - test: + if: "not($IgnoreBold)" + then: [t: "太字"] + - spell: "translate('.', '𝗮𝗯𝗰𝗱𝗲𝗳𝗴𝗵𝗶𝗷𝗸𝗹𝗺𝗻𝗼𝗽𝗾𝗿𝘀𝘁𝘂𝘃𝘄𝘅𝘆𝘇', 'abcdefghijklmnopqrstuvwxyz')" + + - "-": # 0xf34e - 0xf367 + - test: + if: "not($IgnoreBold)" + then: [t: "太字"] + - spell: "translate('.', '', 'abcdefghijklmnopqrstuvwxyz')" + - "𝘈-𝘡": # 0x1d608 - 0x1d621 + # - t: "イタリック" + - spell: "translate('.', '𝘈𝘉𝘊𝘋𝘌𝘍𝘎𝘏𝘐𝘑𝘒𝘓𝘔𝘕𝘖𝘗𝘘𝘙𝘚𝘛𝘜𝘝𝘞𝘟𝘠𝘡', 'ABCDEFGHIJKLMNOPQRSTUVWXYZ')" + - "-": # 0xf368 - 0xf381 + # - t: "イタリック" + - spell: "translate('.', '', 'ABCDEFGHIJKLMNOPQRSTUVWXYZ')" + + - "𝘢-𝘻": # 0x1d622 - 0x1d63b + # - t: "イタリック" + - spell: "translate('.', '𝘢𝘣𝘤𝘥𝘦𝘧𝘨𝘩𝘪𝘫𝘬𝘭𝘮𝘯𝘰𝘱𝘲𝘳𝘴𝘵𝘶𝘷𝘸𝘹𝘺𝘻', 'abcdefghijklmnopqrstuvwxyz')" + + - "-": # 0xf382 - 0xf39b + # - t: "イタリック" + - spell: "translate('.', '', 'abcdefghijklmnopqrstuvwxyz')" + + - "𝘼-𝙕": # 0x1d63c - 0x1d655 + # - t: "大胆なイタリック" + - test: + if: "not($IgnoreBold)" + then: [t: "太字"] + - spell: "translate('.', '𝘼𝘽𝘾𝘿𝙀𝙁𝙂𝙃𝙄𝙅𝙆𝙇𝙈𝙉𝙊𝙋𝙌𝙍𝙎𝙏𝙐𝙑𝙒𝙓𝙔𝙕', 'ABCDEFGHIJKLMNOPQRSTUVWXYZ')" + + - "-": # 0xf39c - 0xf3b5 + # - t: "大胆なイタリック" + - test: + if: "not($IgnoreBold)" + then: [t: "太字"] + - spell: "translate('.', '', 'ABCDEFGHIJKLMNOPQRSTUVWXYZ')" + + - "𝙖-𝙯": # 0x1d656 - 0x1d66f + # - t: "大胆なイタリック" + - test: + if: "not($IgnoreBold)" + then: [t: "太字"] + - spell: "translate('.', '𝙖𝙗𝙘𝙙𝙚𝙛𝙜𝙝𝙞𝙟𝙠𝙡𝙢𝙣𝙤𝙥𝙦𝙧𝙨𝙩𝙪𝙫𝙬𝙭𝙮𝙯', 'abcdefghijklmnopqrstuvwxyz')" + + - "-": # 0xf3b6 - 0xf3cf + # - t: "大胆なイタリック" + - test: + if: "not($IgnoreBold)" + then: [t: "太字"] + - spell: "translate('.', '', 'abcdefghijklmnopqrstuvwxyz')" + + - "𝙰-𝚉": # 0x1d670 - 0x1d689 + - spell: "translate('.', '𝙰𝙱𝙲𝙳𝙴𝙵𝙶𝙷𝙸𝙹𝙺𝙻𝙼𝙽𝙾𝙿𝚀𝚁𝚂𝚃𝚄𝚅𝚆𝚇𝚈𝚉', 'ABCDEFGHIJKLMNOPQRSTUVWXYZ')" + + - "-": # 0xf3d0 - 0xf3e9 + - spell: "translate('.', '', 'ABCDEFGHIJKLMNOPQRSTUVWXYZ')" + + - "𝚊-𝚣": # 0x1d68a - 0x1d6a3 + - spell: "translate('.', '𝚊𝚋𝚌𝚍𝚎𝚏𝚐𝚑𝚒𝚓𝚔𝚕𝚖𝚗𝚘𝚙𝚚𝚛𝚜𝚝𝚞𝚟𝚠𝚡𝚢𝚣', 'abcdefghijklmnopqrstuvwxyz')" + + - "-": # 0xf3ea - 0xf403 + - spell: "translate('.', '', 'abcdefghijklmnopqrstuvwxyz')" + + - "": [t: "ドットレス アイ"] # 0xf404 + - "𝚤": [t: "ドットレス アイ"] # 0x1d6a4 + - "𝚥": [t: "ドットレスジェー"] # 0x1d6a5 + + - "𝚨-𝛀": # 0x1d6a8 - 0x1d6c0 + - test: + if: "not($IgnoreBold)" + then: [t: "太字"] + - spell: "translate('.', '𝚨𝚩𝚪𝚫𝚬𝚭𝚮𝚯𝚰𝚱𝚲𝚳𝚴𝚵𝚶𝚷𝚸𝚹𝚺𝚻𝚼𝚽𝚾𝚿𝛀', 'ΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡ΢ΣΤΥΦΧΨΩ')" + + - "-": # 0xf408 - 0xf420 + - test: + if: "not($IgnoreBold)" + then: [t: "太字"] + - spell: "translate('.', '', 'ΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡ΢ΣΤΥΦΧΨΩ')" + + - "𝛂-𝛚": # 0x1d6c2 - 0x1d6da + - test: + if: "not($IgnoreBold)" + then: [t: "太字"] + - spell: "translate('.', '𝛂𝛃𝛄𝛅𝛆𝛇𝛈𝛉𝛊𝛋𝛌𝛍𝛎𝛏𝛐𝛑𝛒𝛓𝛔𝛕𝛖𝛗𝛘𝛙𝛚', 'αβγδεζηθικλμνξοπρςστυφχψω')" + + - "-": # 0xf422 - 0xf43a + - test: + if: "not($IgnoreBold)" + then: [t: "太字"] + - spell: "translate('.', '', 'αβγδεζηθικλμνξοπρςστυφχψω')" + + - "": [t: "大胆なナフブラ"] # 0xf421 + - "𝛁": [t: "大胆なナフブラ"] # 0x1d6c1 + + - "𝛛𝛜𝛝𝛞𝛟𝛠𝛡": # 0x1D6DB - 0x1D6E1 + - test: + if: "not($IgnoreBold)" + then: [t: "太字"] + - spell: "translate('.', '𝛛𝛜𝛝𝛞𝛟𝛠𝛡', '∂εθκφρπ')" + + - "": # 0xF43C - 0xF441 + - test: + if: "not($IgnoreBold)" + then: [t: "太字"] + - spell: "translate('.', '', '∂εθκφρπ')" + + - "𝛢-𝛺": # 0x1d6e2 - 0x1d6fa + # - t: "イタリック" + - spell: "translate('.', '𝛢𝛣𝛤𝛥𝛦𝛧𝛨𝛩𝛪𝛫𝛬𝛭𝛮𝛯𝛰𝛱𝛲𝛳𝛴𝛵𝛶𝛷𝛸𝛹𝛺', 'ΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡ΢ΣΤΥΦΧΨΩ')" + + - "-": # 0xf442 - 0xf45a + # - t: "イタリック" + - spell: "translate('.', '', 'ΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡ΢ΣΤΥΦΧΨΩ')" + + - "𝛼-𝜔": # 0x1d6fc - 0x1d714 + # - t: "イタリック" + - spell: "translate('.', '𝛼𝛽𝛾𝛿𝜀𝜁𝜂𝜃𝜄𝜅𝜆𝜇𝜈𝜉𝜊𝜋𝜌𝜍𝜎𝜏𝜐𝜑𝜒𝜓𝜔', 'αβγδεζηθικλμνξοπρςστυφχψω')" + + - "-": # 0xf45c - 0xf474 + # - t: "イタリック" + - spell: "translate('.', '', 'αβγδεζηθικλμνξοπρςστυφχψω')" + + - "": [t: "イタリック・ナフブラ"] # 0xf45b + - "𝛻": [t: "イタリック・ナフブラ"] # 0x1d6fb + + - "𝜕𝜖𝜗𝜘𝜙𝜚𝜛": # 0x1d715 - 0x1d71b + # - t: "イタリック" + - spell: "translate('.', '𝜕𝜖𝜗𝜘𝜙𝜚𝜛', '∂εθκφρπ')" + + - "": # 0xf475 - 0xf47b + # - t: "イタリック" + - spell: "translate('.', '', '∂εθκφρπ')" + + - "𝜜-𝜴": # 0x1d71c - 0x1d734 + # - t: "大胆なイタリック" + - test: + if: "not($IgnoreBold)" + then: [t: "太字"] + - spell: "translate('.', '𝜜𝜝𝜞𝜟𝜠𝜡𝜢𝜣𝜤𝜥𝜦𝜧𝜨𝜩𝜪𝜫𝜬𝜭𝜮𝜯𝜰𝜱𝜲𝜳𝜴', 'ΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡ΢ΣΤΥΦΧΨΩ')" + + - "-": # 0xf47c - 0xf494 + # - t: "大胆なイタリック" + - test: + if: "not($IgnoreBold)" + then: [t: "太字"] + - spell: "translate('.', '', 'ΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡ΢ΣΤΥΦΧΨΩ')" + + - "𝜶-𝝎": # 0x1d736 - 0x1d74e + # - t: "大胆なイタリック" + - test: + if: "not($IgnoreBold)" + then: [t: "太字"] + - spell: "translate('.', '𝜶𝜷𝜸𝜹𝜺𝜻𝜼𝜽𝜾𝜿𝝀𝝁𝝂𝝃𝝄𝝅𝝆𝝇𝝈𝝉𝝊𝝋𝝌𝝍𝝎', 'αβγδεζηθικλμνξοπρςστυφχψω')" + + - "-": # 0xf496 - 0xf4ae + # - t: "大胆なイタリック" + - test: + if: "not($IgnoreBold)" + then: [t: "太字"] + - spell: "translate('.', '', 'αβγδεζηθικλμνξοπρςστυφχψω')" + + - "𝝏𝝐𝝑𝝒𝝓𝝔𝝕": # 0x1d74f - 0x1d755 + # - t: "大胆なイタリック" + - test: + if: "not($IgnoreBold)" + then: [t: "太字"] + - spell: "translate('.', '𝝏𝝐𝝑𝝒𝝓𝝔𝝕', '∂εθκφρπ')" + + - "": # 0xf422 - 0xf43a + # - t: "大胆なイタリック" + - test: + if: "not($IgnoreBold)" + then: [t: "太字"] + - spell: "translate('.', '', '∂εθκφρπ')" + + - "𝜵": [t: "大胆な イタリック ナブラ"] # 0x1d735 + - "": [t: "大胆な イタリック ナブラ"] # 0xf495 + + - "𝝖-𝝮": # 0x1d756 - 0x1d76e + - test: + if: "not($IgnoreBold)" + then: [t: "太字"] + - spell: "translate('.', '𝝖𝝗𝝘𝝙𝝚𝝛𝝜𝝝𝝞𝝟𝝠𝝡𝝢𝝣𝝤𝝥𝝦𝝧𝝨𝝩𝝪𝝫𝝬𝝭𝝮', 'ΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡ΢ΣΤΥΦΧΨΩ')" + - "-": # 0xf4b6 - 0xf4ce + - test: + if: "not($IgnoreBold)" + then: [t: "太字"] + - spell: "translate('.', '', 'ΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡ΢ΣΤΥΦΧΨΩ')" + + - "𝝰-𝞈": # 0x1d770 - 0x1d788 + - test: + if: "not($IgnoreBold)" + then: [t: "太字"] + - spell: "translate('.', '𝝰𝝱𝝲𝝳𝝴𝝵𝝶𝝷𝝸𝝹𝝺𝝻𝝼𝝽𝝾𝝿𝞀𝞁𝞂𝞃𝞄𝞅𝞆𝞇𝞈', 'αβγδεζηθικλμνξοπρςστυφχψω')" + + - "-": # 0xf4d0 - 0xf4e8 + - test: + if: "not($IgnoreBold)" + then: [t: "太字"] + - spell: "translate('.', '', 'αβγδεζηθικλμνξοπρςστυφχψω')" + + - "𝞉𝞊𝞋𝞌𝞍𝞎𝞏": # 0x1d789 - 0x1d78f + - test: + if: "not($IgnoreBold)" + then: [t: "太字"] + - spell: "translate('.', '𝞉𝞊𝞋𝞌𝞍𝞎𝞏', '∂εθκφρπ')" + + - "": # 0xf4e9 - 0xf4ef + - test: + if: "not($IgnoreBold)" + then: [t: "太字"] + - spell: "translate('.', '', '∂εθκφρπ')" + + - "": [t: "大胆なナフブラ"] # 0xf4cf + - "𝝯": [t: "大胆なナフブラ"] # 0x1d76f + + - "𝞐-𝞨": # 0x1d790 - 0x1d7a8 + # - t: "大胆なイタリック" + - test: + if: "not($IgnoreBold)" + then: [t: "太字"] + - spell: "translate('.', '𝞐𝞑𝞒𝞓𝞔𝞕𝞖𝞗𝞘𝞙𝞚𝞛𝞜𝞝𝞞𝞟𝞠𝞡𝞢𝞣𝞤𝞥𝞦𝞧𝞨', 'ΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡ΢ΣΤΥΦΧΨΩ')" + + - "-": # 0xf4f0 - 0xf508 + # - t: "大胆なイタリック" + - test: + if: "not($IgnoreBold)" + then: [t: "太字"] + - spell: "translate('.', '', 'ΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡ΢ΣΤΥΦΧΨΩ')" + + - "𝞪-𝟂": # 0x1d7aa - 0x1d7c2 + # - t: "大胆なイタリック" + - test: + if: "not($IgnoreBold)" + then: [t: "太字"] + - spell: "translate('.', '𝞪𝞫𝞬𝞭𝞮𝞯𝞰𝞱𝞲𝞳𝞴𝞵𝞶𝞷𝞸𝞹𝞺𝞻𝞼𝞽𝞾𝞿𝟀𝟁𝟂', 'αβγδεζηθικλμνξοπρςστυφχψω')" + + - "-": # 0xf50a - 0xf522 + # - t: "大胆なイタリック" + - test: + if: "not($IgnoreBold)" + then: [t: "太字"] + - spell: "translate('.', '', 'αβγδεζηθικλμνξοπρςστυφχψω')" + + - "𝟃𝟄𝟅𝟆𝟇𝟈𝟉": # 0x1d7c3 - 0x1d7c9 + # - t: "大胆なイタリック" + - test: + if: "not($IgnoreBold)" + then: [t: "太字"] + - spell: "translate('.', '𝟃𝟄𝟅𝟆𝟇𝟈𝟉', '∂εθκφρπ')" + + - "": # 0xf523 - 0xf529 + # - t: "大胆なイタリック" + - test: + if: "not($IgnoreBold)" + then: [t: "太字"] + - spell: "translate('.', '', '∂εθκφρπ')" + + - "": [t: "大胆なナフブラ"] # 0xf509 + - "𝞩": [t: "大胆なナフブラ"] # 0x1d7a9 + + - "-": # 0xf52e - 0xf537 (old MathType) + - test: + if: "not($IgnoreBold)" + then: [t: "太字"] + - spell: "translate('.', '', '0123456789')" + + - "𝟎-𝟗": # 0x1d7ce - 0x1d7d7 + - test: + if: "not($IgnoreBold)" + then: [t: "太字"] + - spell: "translate('.', '𝟎𝟏𝟐𝟑𝟒𝟓𝟔𝟕𝟖𝟗', '0123456789')" + + - "-": # 0xf52e - 0xf537 (old MathType) + - test: + if: "not($IgnoreBold)" + then: [t: "太字"] + - spell: "translate('.', '', '0123456789')" + + - "𝟬-𝟵": # 0x1D7EC - 0x1D7F5 + - test: + if: "not($IgnoreBold)" + then: [t: "太字"] + - spell: "translate('.', '𝟬𝟭𝟮𝟯𝟰𝟱𝟲𝟳𝟴𝟵', '0123456789')" + + - "-": # 0xf556 - 0xf55f (old MathType) + - spell: "translate('.', '', '0123456789')" + + - "𝟢-𝟫": # 0x1d7e2 - 0x1d7eb + - spell: "translate('.', '𝟢𝟣𝟤𝟥𝟦𝟧𝟨𝟩𝟪𝟫', '0123456789')" + + + - "𝟶-𝟿": # 0x1d7f6 - 0x1d7ff + - spell: "translate('.', '𝟶𝟷𝟸𝟹𝟺𝟻𝟼𝟽𝟾𝟿', '0123456789')" + + + - "": [t: "未知のキャラクター"] # 0xf700 + - "": [t: "左右の三角形を下げる"] # 0xf726 + - "": [t: "横の 省略記号 のエクステンダー"] # 0xf72d + - "": [t: "ミッドライン水平な 省略記号 エクステンダー"] # 0xf72e + - "": [t: "ラジカルエクステンダー"] # 0xf8e5 + - "": [t: "縦矢印エクステンダー"] # 0xf8e6 + - "": [t: "水平矢印エクステンダー"] # 0xf8e7 + - "": [t: "登録サイン サン セリフ"] # 0xf8e8 + - "": [t: "著作権サインサンス・セリフ"] # 0xf8e9 + - "": [t: "トレードマークサイン サン セリフ"] # 0xf8ea + - "": [t: "左のパーントップ"] # 0xf8eb + - "": [t: "左パーレンエクステンダー"] # 0xf8ec + - "": [t: "左のパーン底"] # 0xf8ed + - "": [t: "左ブラケットトップ"] # 0xf8ee + - "": [t: "左ブラケットエクステンダー"] # 0xf8ef + - "": [t: "左ブラケットの底"] # 0xf8f0 + - "": [t: "左の支柱の上"] # 0xf8f1 + - "": [t: "残された支柱の中間"] # 0xf8f2 + - "": [t: "左の支柱の底"] # 0xf8f3 + - "": [t: "ブレースエクステンダー"] # 0xf8f4 + - "": [t: "積分エクステンダー"] # 0xf8f5 + - "": [t: "右上のパーン"] # 0xf8f6 + - "": [t: "右パーンエクステンダー"] # 0xf8f7 + - "": [t: "右下のパーン"] # 0xf8f8 + - "": [t: "右のブラケットの上"] # 0xf8f9 + - "": [t: "右のブラケットのエクステンダー"] # 0xf8fa + - "": [t: "右のブラケットの底"] # 0xf8fb + - "": [t: "右括弧トップ"] # 0xf8fc + - "": [t: "右の支柱の中間"] # 0xf8fd + - "": [t: "右の支柱の底"] # 0xf8fe + - "": [t: "リンゴロゴ"] # 0xf8ff + - "ff": [t: "エフ エフ"] # 0xfb00 + - "fi": [t: "エフ アイ"] # 0xfb01 + - "fl": [t: "エフ エル"] # 0xfb02 + - "ffi": [t: "エフ エフ アイ"] # 0xfb03 + - "ffl": [t: "エフ エフ エル"] # 0xfb04 + - "ſt": [t: "フィート"] # 0xfb05 + - "st": [t: "スタッフ"] # 0xfb06 + - "﬩": [t: "ヘブライ語の代替プラス"] # 0xfb29 + - "︠": [t: "合字左半分の装飾"] # 0xfe20 + - "︡": [t: "結紮の右半分の装飾"] # 0xfe21 + - "︢": [t: "ダブルチルド左ハーフ装飾"] # 0xfe22 + - "︣": [t: "ダブルチルド右半装飾"] # 0xfe23 + - "︤": [t: "マクロン左半分の装飾"] # 0xfe24 + - "︥": [t: "マクロン右半装飾"] # 0xfe25 + - "︦": [t: "マクロン装飾を結合する"] # 0xfe26 + - "︵": [t: "パレン"] # 0xfe35 + - "︶": [t: "パーレンの下"] # 0xfe36 + - "︷": [t: "ブラスオーバー"] # 0xfe37 + - "︸": [t: "括弧の下"] # 0xfe38 + - "︿": [t: "角度ブラケットの上"] # 0xfe3f + - "﹀": [t: "角度ブラケットの下"] # 0xfe40 + - "﹡": [t: "小さなアスタリスク"] # 0xfe61 + - "﹢": [t: "小さいプラス"] # 0xfe62 + - "﹣": [t: "小さなマイナス"] # 0xfe63 + - "﹤": [t: "小さいよりよりより少し"] # 0xfe64 + - "﹥": [t: "より小さい"] # 0xfe65 + - "﹦": [t: "小さい同輩"] # 0xfe66 + - "+": [t: "フル幅プラス記号"] # 0xff0b + - "<": [t: "より少しより"] # 0xff1c + - "=": [t: "イコール"] # 0xff1d + - ">": [t: "より大きい"] # 0xff1e + - "\": [t: "バックスラッシュ"] # 0xff3c + - "^": [t: "帽子帽子"] # 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: "与えられた"] + else: [t: "縦ライン"] + - else_if: "not(preceding-sibling::*) or not(following-sibling::*)" + then: [t: "縦ライン"] + - else_if: "$ClearSpeak_VerticalLine = 'SuchThat'" + then: [t: "そのようなこと"] + - else_if: "$ClearSpeak_VerticalLine = 'Given' or $DefaultToGiven" + then: [t: "与えられた"] + - else: [t: "分割する"] + - "~": [t: "チルド"] # 0xff5e + - "¬": [t: "コメントはありません"] # 0xffe2 + - "←": [t: "左矢印"] # 0xffe9 + - "↑": [t: "上下矢印"] # 0xffea + - "→": [t: "右矢印"] # 0xffeb + - "↓": [t: "ダウン矢印"] # 0xffec + - "": [t: "未知のオブジェクトまたは欠落オブジェクト"] # 0xfffc + - "�": [t: "欠落した文字"] # 0xfffd (used for missing input when entering braille) + + - "🣑": [t: "との平衡にあります"] # 0x1F8D1 + - "🣒": [t: "と右に偏った平衡にある"] # 0x1F8D2 + - "🣓": [t: "平衡は左に偏ります"] # 0x1F8D3 + +# MathJax v4 has adopted these PUA values for some partial chem bonds that aren't in Unicode + - "\uE410": [t: "部分的な結束"] # 0xe410 + - "\uE411": [t: "ダブル部分結束"] # 0xe411 + - "\uE412": [t: "トリプル部分結束"] # 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/ja/unicode.yaml b/Rules/Languages/ja/unicode.yaml new file mode 100644 index 000000000..808dc0bc7 --- /dev/null +++ b/Rules/Languages/ja/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: "イーグル"] # long "a" sound in all speech engines I tested (espeak, MS SAPI, eloquence, + else: [spell: "'a'"] # AWS Polly, ReadSpeaker, NaturalReader, google cloud, nuance, ibm watson) + - "b-z": + - test: + if: "$TTS='none'" + then: [t: "."] + 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: "大文字"] + else: [x: "$SpeechOverrides_CapitalLetters"] + - pitch: + value: "$CapitalLetters_Pitch" + replace: + - test: + if: "$TTS='none'" + then: [t: "イーグル"] + 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: "大文字"] + 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: "."] + + - " ": [t: " "] # 0x20 + + - "!": # 0x21 + - test: + if: "ancestor-or-self::*[contains(@data-intent-property, ':literal:')]" + then_test: + if: "$Verbosity = 'Terse'" + then: [t: "バング"] # 0x21 + else: [t: "排除ポイント"] # 0x21 + else: [t: "ファクシャル"] # 0x21 + + - "\"": [t: "引用の印"] # 0x22 + - "#": [t: "番号記号"] # 0x23 + - "$": [t: "ドル"] # 0x24 + - "%": [t: "パーセント"] # 0x25 + - "&": [t: "アンパサンド"] # 0x26 + - "'": [t: "アポストロフィ"] # 0x27 + - "(": # 0x28 + - test: + if: $SpeechStyle = 'ClearSpeak' or $SpeechStyle = 'SimpleSpeak' + then_test: + if: "$Verbosity='Terse'" + then: [t: "開き"] # 0x28 + else: [t: "開き丸括弧"] # 0x28 + else: [t: "左丸括弧"] # 0x28 + - ")": # 0x29 + - test: + if: $SpeechStyle = 'ClearSpeak' or $SpeechStyle = 'SimpleSpeak' + then_test: + if: "$Verbosity='Terse'" + then: [t: "閉じ"] # 0x29 + else: [t: "閉じ丸括弧"] # 0x29 + else: [t: "右丸括弧"] # 0x29 + + - "*": # 0x2a + test: + if: "parent::*[name(.)='msup' or name(.)='msubsup' or name(.)='skip-super']" + then: [t: "アスタリスク"] # 0x2a + else: [t: "掛ける"] # 0x2a + - "+": [t: "プラス"] # 0x2b + - ",": # 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: "コンマ" # (en: 'comma', google translation) + - test: + if: "$Verbosity != Terse" + then: [pause: short] + # else silent + + - "-": [t: "マイナス"] # 0x2d + - ".": # 0x2e + - test: + if: "parent::*[1][self::m:mn]" + then: [t: "ポイント"] + else: [t: "ドット"] + - "/": # 0x2f + - test: + if: "ancestor-or-self::*[contains(@data-intent-property, ':literal:')]" + then: [t: "スラッシュ"] # 0x2f + else: [t: "割る"] # 0x2f + + - ":": [t: "コロン"] # 0x3a + - ";": [t: "セミコロン"] # 0x3b + - "<": # 0x3c + - test: + if: "$Verbosity!='Terse'" + then: [t: "は"] + - t: "小なり" + - "=": # 0x3d + - test: + if: "$Verbosity!='Terse'" + then: [t: "イコール"] + else: [t: "イコール"] + + - ">": # 0x3e + - test: + if: "$Verbosity!='Terse'" + then: [t: "は"] + - t: "より大きい" + - "?": [t: "質問の印"] # 0x3f + - "@": [t: "サインイン"] # 0x40 + - "[": # 0x5b + - test: + if: $SpeechStyle = 'ClearSpeak' or $SpeechStyle = 'SimpleSpeak' + then: [t: "オープンブラケット"] + else: [t: "左ブラケット"] + - "\\": [t: "バックスラッシュ"] # 0x5c + - "]": # 0x5d + - test: + if: $SpeechStyle = 'ClearSpeak' or $SpeechStyle = 'SimpleSpeak' + then: [t: "クローズブラケット"] + else: [t: "右ブラケット"] + - "^": # 0x5e + - test: + if: "parent::m:modified-variable or parent::m:mover" + then: [t: "帽子帽子"] + else: [t: "ケアト"] + - "_": [t: "アンダーバー"] # 0x5f + - "`": [t: "墓地"] # 0x60 + - "{": # 0x7b + - test: + if: $SpeechStyle = 'ClearSpeak' or $SpeechStyle = 'SimpleSpeak' + then: [t: "オープンブレイス"] + else: [t: "左の括弧"] + - "|": # 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: "縦ライン"] + - else_if: "$SpeechStyle != 'ClearSpeak'" + then_test: + - if: "$DefaultToGiven" + then: [t: "与えられた"] + - 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: "分割する"] + else: [t: "縦ライン"] + - else_if: "not(preceding-sibling::*) or not(following-sibling::*)" + then: [t: "縦ライン"] + - else_if: "$ClearSpeak_VerticalLine = 'SuchThat'" + then: [t: "そのようなこと"] + - else_if: "$ClearSpeak_VerticalLine = 'Given' or $DefaultToGiven" + then: [t: "与えられた"] + - else: [t: "分割する"] + + - "}": # 0x7d + - test: + if: $SpeechStyle = 'ClearSpeak' or $SpeechStyle = 'SimpleSpeak' + then: [t: "クローズ ブラス"] + else: [t: "右括弧"] + + - "~": [t: "チルド"] # 0x7e + - " ": # 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: "空"] # want to say something for fraction (etc) with empty child + else: [t: ""] + + - "¬": [t: "コメントはありません"] # 0xac + - "°": [t: "キーワード"] # 0xb0 + - "±": [t: "プラスまたはマイナス"] # 0xb1 + - "´": [t: "アキュート"] # 0xb4 + - "·": # 0xB7 + - test: + if: "ancestor-or-self::*[contains(@data-intent-property, ':literal:')] or not($SpeechStyle = 'ClearSpeak' and $ClearSpeak_MultSymbolDot = 'Auto')" + then: [t: "ドット"] + else: [t: "掛ける"] + - "×": # 0xd7 + - test: + if: "$SpeechStyle = 'ClearSpeak'" + then_test: + - if: "$ClearSpeak_MultSymbolX = 'Auto'" + then: [t: "掛ける"] + - else_if: "$ClearSpeak_MultSymbolX = 'By'" + then: [t: "によって"] + else: [t: "クロス"] + else_test: + if: "ancestor-or-self::*[contains(@data-intent-property, ':literal:')]" + then: [t: "クロス"] + else: [t: "掛ける"] + + - "÷": [t: "割る"] # 0xf7 + - "̀": [t: "砂利アクセント装飾"] # 0x300 + - "́": [t: "アキュート アクセントの装飾"] # 0x301 + - "̂": [t: "円滑なアクセントの装飾"] # 0x302 + - "̃": [t: "チルド装飾"] # 0x303 + - "̄": [t: "マクロン装飾"] # 0x304 + - "̅": [t: "オーバーバー装飾"] # 0x305 + - "̆": [t: "ブリーブ"] # 0x306 + - "̇": [t: "装飾上の点"] # 0x307 + + # 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: "大文字"] + 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: "アルファ"] # 0x3b1 + - "β": [t: "ベータ"] # 0x3b2 + - "γ": [t: "ガンマ"] # 0x3b3 + - "δ": [t: "デルタ"] # 0x3b4 + - "ε": [t: "エプシロン"] # 0x3b5 + - "ζ": [t: "ゼタ"] # 0x3b6 + - "η": [t: "エータ"] # 0x3b7 + - "θ": [t: "シータ"] # 0x3b8 + - "ι": [t: "オクタ"] # 0x3b9 + - "κ": [t: "カッパ"] # 0x3ba + - "λ": [t: "ラムダ"] # 0x3bb + - "μ": [t: "ミュー"] # 0x3bc + - "ν": [t: "ニュー"] # 0x3bd + - "ξ": [t: ""] # 0x3be + - "ο": [t: "オミクロン"] # 0x3bf + - "π": [t: "パイ"] # 0x3c0 + - "ρ": [t: "ロー"] # 0x3c1 + - "ς": [t: "最終シグマ"] # 0x3c2 + - "σ": [t: "シグマ"] # 0x3c3 + - "τ": [t: "タウ"] # 0x3c4 + - "υ": [t: "アップサイロン"] # 0x3c5 + - "φ": [t: "ファイ"] # 0x3c6 + - "χ": [t: "カイ"] # 0x3c7 + - "ψ": [t: "プッシー"] # 0x3c8 + - "ω": [t: "オメガ"] # 0x3c9 + - "ϕ": [t: "ファイ"] # 0x3d5 + - "ϖ": [t: "パイ"] # 0x3d6 + - "ϵ": [t: "エプシロン"] # 0x3f5 + - "϶": [t: "逆エプシロン"] # 0x3f6 + + - "⁡": # 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: "の"] + - "⁢": [t: ""] # 0x2062 + - "⁣": [t: ""] # 0x2063 + - "⁤": [t: "および"] # 0x2064 + - "ℂℕℚℝℤ": # here we rely on this running through the table again to speak "cap xxx" + - t: "ダブルタック" + - spell: "translate('.', 'ℂℕℚℝℤ', 'CNQRZ')" + + - "℃": [t: "摂氏温度"] # 0x2103 + - "ℋℛℓ": # 0x210b + - t: "スクリプト" + - spell: "translate('.', 'ℋℛℓ', 'HRl')" + - "ℜ": # 0x211c + - t: "フラクトゥール" + - spell: "'R'" + + - "ⅆⅇⅈⅉ": # 0x2146-9 + - t: "微分" + - spell: "translate('.', 'ⅆⅇⅈⅉ', 'deij')" + + - "←": [t: "左矢印"] # 0x2190 + - "↑": [t: "上下矢印"] # 0x2191 + - "→": # 0x2192 + - test: + if: "ancestor::*[2][self::m:limit]" + then: [t: "アプローチ"] + else: [t: "右矢印"] + + - "↓": [t: "ダウン矢印"] # 0x2193 + - "∈": # 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: "は"] + - t: "属する" + # 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: "中へ"] + - else_if: $ClearSpeak_SetMemberSymbol = 'Member' + then: [t: "メンバー"] + - else_if: $ClearSpeak_SetMemberSymbol = 'Element' + then: [t: "要素の"] + - else: [t: "に属する"] # $ClearSpeak_SetMemberSymbol = 'Belongs' + else_test: + - if: $ClearSpeak_SetMemberSymbol = 'Auto' or $ClearSpeak_SetMemberSymbol = 'Member' + then: [t: "メンバー"] + - else_if: $ClearSpeak_SetMemberSymbol = 'Element' + then: [t: "の要素は"] + - else_if: $ClearSpeak_SetMemberSymbol = 'In' + then: [t: "に含まれる"] + - else: [t: "所属団体"] # $ClearSpeak_SetMemberSymbol = 'Belongs' + - "∥": # 0x2225 + - test: + if: "ancestor-or-self::*[contains(@data-intent-property, ':literal:')]" + then: [t: "二重縦ライン"] + else: + - test: + if: "$Verbosity!='Terse'" + then: [t: "は"] + - t: "平行へ" + - "∦": # 0x2226 + - test: + if: "$Verbosity!='Terse'" + then: [t: "は"] + - t: "並行しない" + - "≤": # 0x2264 + - test: + if: "$Verbosity!='Terse'" + then: [t: "は"] + - t: "より少しまたは等しい" + - "≥": # 0x2265 + - test: + if: "$Verbosity!='Terse'" + then: [t: "は"] + - t: "より大きいか等しいへの" + + # --- 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: "ドットドットドットドット"] + else_test: # must have $ClearSpeak_Ellipses = 'AndSoOn' + if: "count(following-sibling::*) = 0" + then: [t: "以下同様"] + else: [t: "まで"] + - "∂": # 0x2202 + - test: + if: "$Verbosity='Terse'" + then: [t: "部分的な"] + else: [t: "部分的な派生物"] + - "∆": # 0x2206 + - test: + if: "$Verbosity!='Terse'" + then: [ot: ""] + - t: "ラップラキアンの" + - "∉": # 0x2209 + # rule is identical to 0x2208 + - test: + if: "$SpeechStyle != 'ClearSpeak'" + then: + - test: + if: "$Verbosity!='Terse'" + then: [t: "は"] + - t: "要素ではない" + # 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: "に含まれない"] + - else_if: $ClearSpeak_SetMemberSymbol = 'Member' + then: [t: "会員でない"] + - else_if: $ClearSpeak_SetMemberSymbol = 'Element' + then: [t: "要素ではない"] + - else: [t: "お持ちでない"] # $ClearSpeak_SetMemberSymbol = 'Belongs' + else_test: + - if: $ClearSpeak_SetMemberSymbol = 'Auto' or $ClearSpeak_SetMemberSymbol = 'Member' + then: [t: "会員でない"] + - else_if: $ClearSpeak_SetMemberSymbol = 'Element' + then: [t: "要素ではない"] + - else_if: $ClearSpeak_SetMemberSymbol = 'In' + then: [t: "ない"] + - else: [t: "所属しない"] # $ClearSpeak_SetMemberSymbol = 'Belongs' + - "∊": # 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: "は"] + - t: "要素の" + # 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: "中へ"] + - else_if: $ClearSpeak_SetMemberSymbol = 'Member' + then: [t: "メンバー"] + - else_if: $ClearSpeak_SetMemberSymbol = 'Element' + then: [t: "要素の"] + - else: [t: "に属する"] # $ClearSpeak_SetMemberSymbol = 'Belongs' + else_test: + - if: $ClearSpeak_SetMemberSymbol = 'Auto' or $ClearSpeak_SetMemberSymbol = 'Member' + then: [t: "メンバー"] + - else_if: $ClearSpeak_SetMemberSymbol = 'Element' + then: [t: "の要素は"] + - else_if: $ClearSpeak_SetMemberSymbol = 'In' + then: [t: "に含まれる"] + - else: [t: "所属団体"] # $ClearSpeak_SetMemberSymbol = 'Belongs' + - "√": # 0x221a + - test: + if: "$Verbosity!='Terse'" + then: [ot: ""] + - t: "平方根の" + - "∝": # 0x221d + - test: + if: "$Verbosity!='Terse'" + then: [t: "は"] + - t: "比例する" + - "∶": # 0x2236 + - test: + if: "$Verbosity!='Terse'" + then: [t: "は"] + - t: "に" + - "∾": # 0x223e + - test: + if: "$Verbosity!='Terse'" + then: [t: "は"] + - t: "最も肯定的な" + - "≠": # 0x2260 + - test: + if: "$Verbosity!='Terse'" + then: [t: "は"] + - t: "等しくない" + - "≡": # 0x2261 + - test: + if: "$Verbosity!='Terse'" + then: [t: "は"] + - t: "同じ" + - "⊂": # 0x2282 + - test: + if: "$Verbosity!='Terse'" + then: [t: "は"] + - t: "サブセット" + - "⊃": # 0x2283 + - test: + if: "$Verbosity!='Terse'" + then: [t: "は"] + - t: "スーパーセット" + - "⊄": # 0x2284 + - test: + if: "$Verbosity!='Terse'" + then: [t: "は"] + - t: "サブセットではなく" + - "⊅": # 0x2285 + - test: + if: "$Verbosity!='Terse'" + then: [t: "は"] + - t: "スーパーセットではない" + - "⊆": # 0x2286 + - test: + if: "$Verbosity!='Terse'" + then: [t: "は"] + - t: "または等しいのサブセット" + - "⊇": # 0x2287 + - test: + if: "$Verbosity!='Terse'" + then: [t: "は"] + - t: "スーパーセットまたは等しく" + + # --- restored short definitions that differ from unicode-full --- + - "⇒": [t: "右ダブル矢印"] # 0x21d2 + - "∐": [t: "共産品"] # 0x2210 diff --git a/tests/Languages/ja/ja.rs b/tests/Languages/ja/ja.rs new file mode 100644 index 000000000..44f4c2f2b --- /dev/null +++ b/tests/Languages/ja/ja.rs @@ -0,0 +1,131 @@ +use crate::common::*; +use anyhow::Result; + +/// Verifies that basic arithmetic operators use the seeded Japanese names. +#[test] +fn arithmetic_operators() -> Result<()> { + let expr = "1+23=0"; + test("ja", "ClearSpeak", expr, "1 プラス 2 マイナス 3; イコール 0")?; + return Ok(()); +} + +/// Verifies that a simple fraction is spoken with Japanese fraction wording. +#[test] +fn simple_fraction() -> Result<()> { + let expr = "2122"; + test("ja", "ClearSpeak", expr, "21 分の 22")?; + return Ok(()); +} + +/// Verifies that a square root uses the seeded Japanese root wording. +#[test] +fn square_root() -> Result<()> { + let expr = "9"; + test("ja", "ClearSpeak", expr, "平方根 の 9")?; + return Ok(()); +} + +/// Verifies that a squared value uses the seeded Japanese exponent wording. +#[test] +fn squared() -> Result<()> { + let expr = "32"; + test("ja", "ClearSpeak", expr, "3 スクエア")?; + return Ok(()); +} + +/// Verifies both Japanese gradient readings selected by verbosity. +#[test] +fn gradient() -> Result<()> { + let expr = "F"; + test_prefs("ja", "SimpleSpeak", vec![("Verbosity", "Terse")], expr, "デル 大文字 f")?; + test_prefs("ja", "SimpleSpeak", vec![("Verbosity", "Verbose")], expr, "勾配 の 大文字 f")?; + return Ok(()); +} + +/// Verifies that multiplication and division symbols use Japanese operator names. +#[test] +fn multiplication_and_division() -> Result<()> { + let expr = "6×4÷2"; + test("ja", "ClearSpeak", expr, "6 掛ける 4 割る 2")?; + return Ok(()); +} + +/// Verifies that explicit parentheses retain Japanese opening and closing cues. +#[test] +fn parenthesized_expression() -> Result<()> { + let expr = "(1+2)"; + test("ja", "ClearSpeak", expr, "開き丸括弧, 1 プラス 2, 閉じ丸括弧")?; + return Ok(()); +} + +/// Verifies the Japanese ClearSpeak wording for an absolute value. +#[test] +fn absolute_value() -> Result<()> { + let expr = "|x|"; + test("ja", "ClearSpeak", expr, "絶対値 の x")?; + return Ok(()); +} + +/// Verifies that an indexed cube root receives the Japanese cube-root cue. +#[test] +fn cube_root() -> Result<()> { + let expr = "83"; + test("ja", "ClearSpeak", expr, "立方根 の 8")?; + return Ok(()); +} + +/// Verifies the basic Japanese SimpleSpeak subscript pattern. +#[test] +fn subscript() -> Result<()> { + let expr = "x1"; + test("ja", "SimpleSpeak", expr, "x サブ 1")?; + return Ok(()); +} + +/// Verifies that a common trigonometric function is spoken in Japanese SimpleSpeak. +#[test] +fn sine_function() -> Result<()> { + let expr = "sinx"; + test("ja", "SimpleSpeak", expr, "サイン の x")?; + return Ok(()); +} + +/// Verifies Japanese speech for the less-than comparison operator. +#[test] +fn less_than() -> Result<()> { + let expr = "x<5"; + test("ja", "ClearSpeak", expr, "x は 小なり 5")?; + return Ok(()); +} + +/// Verifies that common lowercase Greek letters use their Japanese names. +#[test] +fn greek_letters() -> Result<()> { + let expr = "α+β"; + test("ja", "ClearSpeak", expr, "アルファ プラス ベータ")?; + return Ok(()); +} + +/// Verifies Japanese SimpleSpeak wording for set membership. +#[test] +fn set_membership() -> Result<()> { + let expr = "xR"; + test("ja", "SimpleSpeak", expr, "x は 属する 実数")?; + return Ok(()); +} + +/// Verifies the seeded Japanese cues for a summation with limits. +#[test] +fn summation() -> Result<()> { + let expr = "i=1ni"; + test("ja", "SimpleSpeak", expr, "総和 から i イコール 1, に n の i")?; + return Ok(()); +} + +/// Verifies the seeded Japanese cues for a definite integral. +#[test] +fn definite_integral() -> Result<()> { + let expr = "01xx"; + test("ja", "SimpleSpeak", expr, "積分 から 0, に 1 の; x 微分 d x")?; + return Ok(()); +} diff --git a/tests/languages.rs b/tests/languages.rs index b0552b95b..8d5e04a3b 100644 --- a/tests/languages.rs +++ b/tests/languages.rs @@ -15,6 +15,9 @@ mod Languages { mod nb; mod de; mod fr; + mod ja { + mod ja; + } mod vi { mod vi; }