Skip to content

Commit

Permalink
Clean up when "of" is spoken.
Browse files Browse the repository at this point in the history
  • Loading branch information
NSoiffer committed Jan 15, 2025
1 parent 998a585 commit 96a50ce
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions Rules/Languages/en/SharedRules/calculus.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@
- test:
if: "$Verbosity='Terse'"
then: [t: "dihv"] # phrase('div' is short for divergence) -- note OneCore voices spell out "div"
else: [t: "divergence"] # phrase('divergence' from the mean)
- t: "of" # phrase(systems 'of' linear equations)
else: [t: "divergence of"] # phrase('divergence of' this function from the mean)
- test:
if: "not(IsNode(*[1], 'leaf'))"
then: [pause: short]
Expand All @@ -24,7 +23,10 @@
tag: curl
match: "."
replace:
- t: "curl of" # phrase(the 'curl of' a field)
- t: "curl" # phrase(the 'curl of' a field)
- test:
if: "$Verbosity!='Terse'"
then: [t: "of"] # phrase('div' is short for divergence) -- note OneCore voices spell out "div"
- test:
if: "not(IsNode(*[1], 'leaf'))"
then: [pause: short]
Expand All @@ -36,8 +38,8 @@
replace:
- test:
if: "$Verbosity!='Terse'"
then: [t: "gradient of"] # phrase('divergence' from the mean)
else: [t: "del"] # phrase('divergence' from the mean)
then: [t: "gradient of"] # phrase(the hill has a 'gradient of' five percent)
else: [t: "del"] # phrase(the delete key is labeled 'del')
- test:
if: "not(IsNode(*[1], 'leaf'))"
then: [pause: short]
Expand Down

0 comments on commit 96a50ce

Please sign in to comment.