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
356 changes: 182 additions & 174 deletions Rules/Languages/ru/ClearSpeak_Rules.yaml

Large diffs are not rendered by default.

27 changes: 9 additions & 18 deletions Rules/Languages/ru/SharedRules/calculus.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,31 +25,25 @@
then: [T: "див"] # phrase('div' is short for divergence)
else: [T: "дивергенция"] # phrase('divergence of' this function from the mean)
- test:
if: "$Verbosity!='Terse' and *[1][self::m:mi[contains('ABCDEFGHIJKLMNOPQRSTUVWXYZ', text())]]"
then: [T: "заглавной"]
if: "not(IsNode(*[1], 'simple'))"
then: [T: "выражения"]
- test:
if: "not(IsNode(*[1], 'leaf'))"
then: [pause: short]
- test:
if: "$Verbosity!='Terse' and *[1][self::m:mi[contains('ABCDEFGHIJKLMNOPQRSTUVWXYZ', text())]]"
then: [x: "translate(*[1], 'ABCDEFGHIJKLMNOPQRSTUVWXYZ', 'abcdefghijklmnopqrstuvwxyz')"]
else: [x: "*[1]"]
- x: "*[1]"

- name: curl
tag: curl
match: "count(*) = 1"
replace:
- T: "ротор" # phrase(the 'curl of' a field)
- test:
if: "$Verbosity!='Terse' and *[1][self::m:mi[contains('ABCDEFGHIJKLMNOPQRSTUVWXYZ', text())]]"
then: [T: "заглавной"]
if: "not(IsNode(*[1], 'simple'))"
then: [T: "выражения"]
- test:
if: "not(IsNode(*[1], 'leaf'))"
then: [pause: short]
- test:
if: "$Verbosity!='Terse' and *[1][self::m:mi[contains('ABCDEFGHIJKLMNOPQRSTUVWXYZ', text())]]"
then: [x: "translate(*[1], 'ABCDEFGHIJKLMNOPQRSTUVWXYZ', 'abcdefghijklmnopqrstuvwxyz')"]
else: [x: "*[1]"]
- x: "*[1]"

- name: gradient
tag: gradient
Expand All @@ -60,12 +54,9 @@
then: [T: "градиент"] # phrase(the hill has a 'gradient of' five percent)
else: [T: "набла"] # phrase(the delete key is labeled 'del')
- test:
if: "$Verbosity!='Terse' and *[1][self::m:mi[contains('ABCDEFGHIJKLMNOPQRSTUVWXYZ', text())]]"
then: [T: "заглавной"]
if: "not(IsNode(*[1], 'simple'))"
then: [T: "выражения"]
- test:
if: "not(IsNode(*[1], 'leaf'))"
then: [pause: short]
- test:
if: "$Verbosity!='Terse' and *[1][self::m:mi[contains('ABCDEFGHIJKLMNOPQRSTUVWXYZ', text())]]"
then: [x: "translate(*[1], 'ABCDEFGHIJKLMNOPQRSTUVWXYZ', 'abcdefghijklmnopqrstuvwxyz')"]
else: [x: "*[1]"]
- x: "*[1]"
Loading
Loading