Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Rules/Languages/hu/ClearSpeak_Rules.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -623,7 +623,7 @@
- test:
if: "starts-with(name(.), 'open')"
then: [T: "nem"] # phrase(the interval from a to b 'not' including b)
- T: "tartalmazza a" # phrase(the interval from a to b not 'including' b)
- T: "tartalmazza a(z)" # phrase(the interval from a to b not 'including' b)
- x: "*[1]"
- T: "elemet"
# logic to deal with [not] arg #1
Expand All @@ -647,7 +647,7 @@
if: "name(.) = 'open-interval' or name(.) = 'closed-open-interval'"
then: [T: "nem"] # phrase(the interval 'not' including a)
- T: "tartalmazza" # phrase(the interval not 'including' a)
- T: "a"
- T: "a(z)"
- x: "*[2]"
- T: "elemet"
# onto the [not] [including]... part
Expand Down
4 changes: 2 additions & 2 deletions Rules/Languages/hu/SimpleSpeak_Rules.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -574,7 +574,7 @@
- test:
if: "starts-with(name(.), 'open')"
then: [T: "nem"] # phrase(the interval from a to b 'not' including b)
- T: "tartalmazza a" # phrase(the interval from a to b not 'including' b)
- T: "tartalmazza a(z)" # phrase(the interval from a to b not 'including' b)
- x: "*[1]"
- T: "elemet"
# logic to deal with [not] arg #1
Expand All @@ -598,7 +598,7 @@
if: "name(.) = 'open-interval' or name(.) = 'closed-open-interval'"
then: [T: "nem"] # phrase(the interval 'not' including a)
- T: "tartalmazza" # phrase(the interval not 'including' a)
- T: "a"
- T: "a(z)"
- x: "*[2]"
- T: "elemet"
# onto the [not] [including]... part
Expand Down
99 changes: 50 additions & 49 deletions Rules/Languages/hu/definitions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,28 +23,28 @@
#"closed-open-interval":"function=interval between; included and",
#"open-closed-interval":"function=interval between; and included",
#"open-interval":"function=open interval between; and",
"inverse":"function=inverse || postfix=inverse",
"inverse":"function=inverz || postfix=inverz",
"domain": "function= ; domén",
"codomain": "function= ; kodomán",
"image":"function=image",
"image":"function=kép",
#"fraction":"function=fraction; over; end fraction", # NOTE: Fails
"mixed-fraction":"infix=and", # NOTE: in website says function, but follow infix speech pattern.
"greatest-common-divisor": "function=gcd: a GCD: a legnagyobb közös osztó",
"quotient":"function=szám rész; osztva ezzel:", # NOTE: Logic somewhere here failing, becomes "divided by of x comma, y" instead of "integer part of x divided by y"
"evaluated-at":"infix=értékelték",
"remainder":"function=a maradék; osztva ezzel:",
"mixed-fraction":"infix=és", # NOTE: in website says function, but follow infix speech pattern.
"greatest-common-divisor": "function=a legnagyobb közös osztó",
"quotient":"function=egész rész osztva", # NOTE: Logic somewhere here failing, becomes "divided by of x comma, y" instead of "integer part of x divided by y"
"evaluated-at":"infix=értékelve || postfix=értékként",
"remainder":"function=a maradék, osztva",
"max":"function=max",
"min":"function=min",
"power":"infix=a hatványra",
"root":"function=root",
"imaginary-part": "function=képzeletbeli rész: a képzeletbeli rész: a képzeletbeli rész",
"imaginary-part": "a képzeletbeli rész",
"least-common-multiple": "function=lcm: a legkisebb közös többszörös: a legkisebb közös többszörös",
"complex-conjugate":"function=Komplex konjugált",
"complex-arg":"function=argumentum",
"polar-coordinate":"function=poláris koordináta; vessző",
"spherical-coordinate":"function=gömb koordináta; vessző; vessző",
"cartesian-coordinate":"function=derékszögű koordináta; vessző",
"coordinate":"function=koordináta; vessző",
"polar-coordinate":"function=poláris koordináta",
"spherical-coordinate":"function=gömb koordináta",
"cartesian-coordinate":"function=derékszögű koordináta",
"coordinate":"function=koordináta",
"floor":"function=lépcső",
"ceiling":"function=mennyezet",
"round":"function=kerekített érték",
Expand All @@ -60,7 +60,7 @@
"dimension": "function=; dimenzió : dimenzió: a dimenzió; dimenzió vége",
"homomorphism": "function= ; homomorfizmus : homomorfizmus: a homomorfizmus; homomorfizmus vége",
"kernel": "function= ; kernel : kernel: a kernel; kernel vége",
"dot-product": "infix=skaláris szorzat: skaláris szorzat: skaláris szorzat: skaláris szorzat",
"dot-product": "infix=skaláris szorzat",

#"divergence": "function= ; dihv: divergencia: divergencia; divergencia vége",
#"laplacian": "function=laplaciáns", # speech engines don't do a good job with "laplacian"
Expand All @@ -69,19 +69,20 @@
### Calculus
"definite-integral":"function=integrál felett || function=integrál innen:; ide:", # Property ???
"derivative":"function=a deriváltja; mely erre vonatkozik:", # Property ???
"tends-to":"infix=általában",
"tends-to":"infix=ehhez tart",
"tends-to-from-above":"infix=általában alulról indul",

"tends-to-from-below":"infix=alulról indul",
### Sets
"set": "function= ; halmaz: a halmaz",
"set-difference":"function=különbséghalmaz || infix=mínusz || postfix=különbséghalmaza", # NOTE: not tested
"complement":"function=komplemens",
"empty-set":"nofix=üres halmaz",
"empty-set":"function=üres halmaz",
"cardinality":"function=számosság", # NOTE: does not have a defined speech template in website
"list":"function=lista",
"tuple": "function= ; tuple: a tuple",
### Sequence and Series
"sum":"function= ; összegzés : összeg ; ", #: sum over : sum from; to",
"product":"function=produktum || function=produktum vége || function=produktum innen:; ide:",
"product":"function=szorzat || function=szorzat vége || function=szorzat innen ide",

### Elementary classical functions
"sine":"function=szinusz: szinusz",
Expand All @@ -91,23 +92,23 @@
"cosecant":"function=koszekáns: koszekáns",
"cotangent":"function=kotangens: kotangens",
"arcsine":"function=arkusz szinusz",
#"arccosine":"function=arkusz koszinusz",
"arccosine":"function=arkusz koszinusz",
"arctangent":"function=arkusz tangens",
"arcsecant":"function=arkusz szekáns",
"arccosecant":"function=arkusz koszekáns",
"arccotangent":"function=arkusz kotangens",
"hyperbolic-sine":"function=hiperbolikus szinusz",
"hyperbolic-cosine":"function=hiperbolikus koszinusz",
"hyperbolic-tangent":"function=hiperbolikus tangenstanch",
"hyperbolic-secant":"function=sech",
"hyperbolic-cosecant":"function=cosech",
"hyperbolic-cotangent":"function=coth",
"arc-hyperbolic-sine":"function=arc shine",
"arc-hyperbolic-cosine":"function=arc cosh",
"arc-hyperbolic-tangent":"function=arc tanch",
"arc-hyperbolic-secant":"function=arc sech",
"arc-hyperbolic-cosecant":"function=arc cosech",
"arc-hyperbolic-cotangent":"function=arc coth",
"hyperbolic-tangent":"function=hiperbolikus tangens",
"hyperbolic-secant":"function=hiperbolikus szekáns",
"hyperbolic-cosecant":"function=hiperbolikus koszekáns",
"hyperbolic-cotangent":"function=hiperbolikus kotangens",
"arc-hyperbolic-sine":"function=arkusz hiperbolikus szinusz",
"arc-hyperbolic-cosine":"function=arkusz hiperbolikus koszinusz",
"arc-hyperbolic-tangent":"function=arkusz hiperbolikus tangens",
"arc-hyperbolic-secant":"function=arkusz hiperbolikus szekáns",
"arc-hyperbolic-cosecant":"function=arkusz hiperbolikus koszekáns",
"arc-hyperbolic-cotangent":"function=arkusz hiperbolikus kotangens",
"exponential":"function=exponenciális",
"natural-logarithm": "function=l n: természetes alapú logaritmus: természetes alapú logaritmus",
"logarithm":"function=logaritmus", ##Check arity 2
Expand Down Expand Up @@ -138,7 +139,7 @@

### Constants and Sets
"set-of-integers":"nofix=ℤ: az összes egész szám halmaza",
"set-of-reals":"nofix=: az összes valós szám halmaza",
"set-of-reals":"nofix=valós számok halmaza: az összes valós szám halmaza",
"set-of-rationals":"nofix=ℚ: az összes racionális szám halmaza",
"set-of-natural-numbers":"nofix=ℕ: az összes természetes szám halmaza",
"set-of-complex-numbers":"nofix=ℂ: az összes komplex szám halmaza",
Expand Down Expand Up @@ -167,13 +168,13 @@
"highlight":"postfix=kiemelt",
"least-common-denominator":"function=legkisebb közös nevező",
"rate":"infix=per",
"constraint":"infix= ; korlátozással; ",
"constraint":"infix= ; feltétellel; ",

"binomial-coefficient":"infix=választ",
"pochhammer":"function=permutáció",
"permutation-cycle":"function=permutációs ciklus",
"embellished-name":"infix=jegyzetekkel",

"embellished-name":"infix=megjegyzéssel",
"annotation":"infix= ; ami ;", # NOTE: Follows the same order as indexed-by, in site listed as function. Should it be infix?
### Other
## Default fixity function
"curl": "function=rotáció",
Expand All @@ -185,7 +186,7 @@
"angle": "prefix=szög",
"angle-measure": "prefix=szögmérés",
"change": "prefix=változás",
"for-all": "prefix=mindenkinek",
"for-all": "prefix=minden",
"measured-angle": "prefix=mért szög",
"not": "prefix=nem",
"number-of": "prefix=száma",
Expand All @@ -198,7 +199,7 @@

## Default fixity infix
"and": "infix=és",
"applied-to": "infix=alkalmazva erre",
"applied-to": "infix=alkalmazva",
"approximately": "infix=hozzávetőlegesen",
"congruent": "infix=egybeesik",
"cartesian-product": "infix=derékszögű szorzat",
Expand All @@ -210,7 +211,7 @@
"does-not-belong-to": "infix=nem tartozik hozzá",
"does-not-divide": "infix=nem osztja",
"downwards-diagonal-ellipsis": "infix=lefelé mutató átlós ellipszis",
"direct-product": "infix=direkt produktum",
"direct-product": "infix=direkt szorzat",
"element-of": "infix=eleme",
"ellipsis": "infix=ellipszis",
"equals": "infix=egyenlő",
Expand All @@ -222,7 +223,7 @@
"identically-equals": "infix=teljesen egyenlő",
"if-and-only-if": "infix=akkor és csak akkor, ha",
"implies": "infix=utal",
"inner-product": "infix=belső produktum",
"inner-product": "infix=belső szorzat",
"intersection": "infix=keresztezi",
"less-than": "infix=kisebb, mint",
"less-than-or-equal-to": "infix=kisebb vagy egyenlő, mint",
Expand All @@ -231,13 +232,13 @@
"member-of": "infix=tagja",
"minus-or-plus": "infix=mínusz vagy plusz",
"not-subset": "infix=nem részhalmaza",
"not-superset": "infix=nem szuperhalmaz",
"not-superset": "infix=nem szuperhalmaza",
"not-equal-to": "infix=nem egyenlő",
"not-member-of": "infix=nem tagja",
"not-parallel-to": "infix=nem párhuzamos",
"obtained-from": "infix=származó",
"obtained-from": "infix=innen származik",
"or": "infix=vagy",
"outer-product": "infix=külső produktum",
"outer-product": "infix=külső szorzata",
"parallel-to": "infix=párhuzamos",
"perpendicular": "infix=merőleges",
"plus": "infix=plusz || prefix=pozitív", # Prefix not tested
Expand All @@ -246,16 +247,16 @@
"precedes": "infix=megelőzi",
"proportional": "infix=arányos",
"range-separator": "infix=keresztül",
"ratio": "infix=hányados",
"ratio": "infix=arány",
"similar": "infix=hasonló",
"subset": "infix=részhalmaza",
"subset-or-equal": "infix=részhalmaza vagy egyenlő",
"succeeds": "infix=sikerül",
"succeeds": "infix=követi",
"such-that": "infix=úgy, hogy",
"superset": "infix=szuperhalmaza",
"superset-or-equal": "infix=szuperhalmaz vagy egyenlő",
"superset-or-equal": "infix=szuperhalmaza vagy egyenlő",
"tilde": "infix=tilde",
"times": "infix=szorzata",
"times": "infix=szorozva",
"union": "infix=unió",
"upwards-diagonal-ellipsis": "infix=felfelé átlós ellipszis",
"vertical-ellipsis": "infix=függőleges ellipszis",
Expand All @@ -270,9 +271,9 @@
"distance":"nofix=távolság; távolság: távolság",
"probability":"nofix=P: valószínűség",
"radius":"nofix=r: sugár",
"volume":"nofix=V: hangerő || function=",
"volume":"nofix=hangerő: hangerő || function=hangerő",
"exponential-e":"nofix=e",
"imaginary-i":"nofix=i",
"imaginary-i":"nofix=képzeletbeli én",
"differential-d":"nofix=d",
"golden-ratio":"nofix=aranymetszés",

Expand All @@ -290,11 +291,11 @@
# These are the parts of a formula that can be navigated to
"large-op": "base; lower limit; upper limit",
"mfrac": "numerator; denominator",
"fraction": "numerator; denominator",
"msqrt": "root",
"square-root": "root",
"fraction": "számláló; nevező",
"msqrt": "gyök",
"square-root": "gyök",
"mroot": "root; root index",
"root": "root; root index",
"root": "gyök; gyök index",
"msub": "base; subscript",
"sub": "base; subscript",
"logarithm-with-base": "base",
Expand Down
21 changes: 10 additions & 11 deletions Rules/Languages/hu/unicode-full.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@
- "‱": [T: "per tízezer"] # 0x2031 (en: 'per ten thousand', DeepL translation)
- "′": [T: "prím"] # 0x2032 (en: 'prime', DeepL translation)
- "″": [T: "dupla prím"] # 0x2033 (en: 'double prime', DeepL translation)
- "‴": [T: "hármas ikerprím"] # 0x2034 (en: 'triple prime', DeepL translation)
- "‴": [T: "hármas prím"] # 0x2034 (en: 'triple prime', DeepL translation)
- "‵": [T: "fordított prím"] # 0x2035 (en: 'reversed prime', DeepL translation)
- "‶": [T: "fordított dupla prím"] # 0x2036 (en: 'reversed double prime', DeepL translation)
- "‷": [T: "fordított hármas prím"] # 0x2037 (en: 'reversed triple prime', DeepL translation)
Expand Down Expand Up @@ -951,11 +951,6 @@
- "⊢": [T: "bizonyítja"] # 0x22a2 (en: 'proves', DeepL translation)
- "⊣": [T: "nem enged"] # 0x22a3 (en: 'does not yield', DeepL translation)
- "⊤": [T: "felső"] # 0x22a4 (en: 'top', DeepL translation)
- "⊥": # 0x22a5
- test:
if: "$Verbosity!='Terse'"
then: [T: "a(z)"] # (en: 'is', DeepL translation)
- T: "alul" # (en: 'bottom', DeepL translation)
- "⊦": [T: "redukálódik"] # 0x22a6 (en: 'reduces to', DeepL translation)
- "⊧": [T: "modellezi"] # 0x22a7 (en: 'models', DeepL translation)
- "⊨": # 0x22a8
Expand Down Expand Up @@ -1543,11 +1538,15 @@
- "➾": [T: "nyitott körvonalú jobbra mutató nyíl"] # 0x27be (en: 'open-outlined right arrow', DeepL translation)
- "⟀": [T: "háromdimenziós szög"] # 0x27c0 (en: 'three dimensional angle', DeepL translation)
- "⟁": [T: "fehér háromszög, benne egy kis fehér háromszög"] # 0x27c1 (en: 'white triangle containing small white triangle', DeepL translation)
- "⟂": # 0x27c2
- test:
if: "$Verbosity!='Terse'"
then: [T: "a(z)"] # (en: 'is', DeepL translation)
- T: "merőleges" # (en: 'perpendicular to', DeepL translation)
- "⟂⊥": # 0x27c2, 22A5 (22A5 wrongly used for perpendicular by most editors)
- test:
- if: "$SpeechStyle = 'LiteralSpeak' and text()='⊥'" # 22A5 (up tack/bottom)
then: [T: "felfelé mutató merőleges"]
- else:
- test:
if: "$Verbosity!='Terse'"
then: [T: "a(z)"]
- T: "merőleges"
- "⟃": # 0x27c3
- test:
if: "$Verbosity!='Terse'"
Expand Down
5 changes: 0 additions & 5 deletions Rules/Languages/hu/unicode.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,6 @@
- "⁢": [T: ""] # 0x2062
- "⁣": [T: "láthatatlan elválasztó"] # 0x2063
- "⁤": [T: "és"] # 0x2064 (en: 'and', DeepL translation)
- "‴": [T: "hármas prím"] # 0x2034 (en: 'triple prime', DeepL translation)

- "ℂℕℚℝℤ": # here we rely on this running through the table again to speak "cap xxx"
- T: "duplán leütött" # (en: 'double-struck', DeepL translation)
Expand Down Expand Up @@ -418,7 +417,6 @@
then: [T: "benne van ebben:"] # (en: 'is in', DeepL translation)
- else: [T: "ebbe a halmazba tartozik:"] # $ClearSpeak_SetMemberSymbol = 'Belongs' (en: 'belongs to', DeepL translation)
- "∐": [T: "diszjunkt unió"] # 0x2210 (en: 'co-product', DeepL translation)
- "∗": [T: "csillag operátortimes"] # 0x2217 (DeepL translation)
- "√": # 0x221a
- test:
if: "$Verbosity!='Terse'"
Expand Down Expand Up @@ -448,7 +446,6 @@
if: "$Verbosity!='Terse'"
then: [T: "van"] # (en: 'is', DeepL translation)
- T: "hogy" # (DeepL translation)
- "∷": [T: "arány"] # 0x2237 (DeepL translation)
- "∾": # 0x223e
- test:
if: "$Verbosity!='Terse'"
Expand All @@ -474,8 +471,6 @@
if: "$Verbosity!='Terse'"
then: [T: ""] # (en: 'is', DeepL translation)
- T: "nagyobb vagy egyenlő" # (en: 'greater than or equal to', DeepL translation)
- "≦": [T: "kisebb, mint egyenlő"] # 0x2266 (en: 'less than over equal to', DeepL translation)
- "≧": [T: "nagyobb, mint az egyenlő"] # 0x2267 (en: 'greater than over equal to', DeepL translation)
- "⊂": # 0x2282
- test:
if: "$Verbosity!='Terse'"
Expand Down
5 changes: 3 additions & 2 deletions tests/Languages/hu.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ mod ClearSpeak {
mod SimpleSpeak {
mod functions;
mod large_ops;
// mod menclose;
mod menclose;
mod mfrac;
// mod mroot;
mod mroot;
mod msup;
mod sets;
mod geometry;
Expand All @@ -29,6 +29,7 @@ mod shared;
mod units;
mod chemistry;
mod alphabets;
mod definitions;
mod intent;
mod mtable;

Loading
Loading