Skip to content

Commit 399b01f

Browse files
Removing some comments in unicode-full
1 parent 3eea785 commit 399b01f

File tree

3 files changed

+50
-59
lines changed

3 files changed

+50
-59
lines changed

Rules/Languages/nb/unicode-full.yaml

Lines changed: 22 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -464,7 +464,7 @@
464464
- "": [T: "eulers konstant"] # 0x2107 (en: 'euler's constant', google: 'eulers konstant')
465465
- "": [T: "scruple"] # 0x2108 (en: 'scruples', google translation)
466466
- "": [T: "grader fahrenheit"] # 0x2109 (en: 'degrees fahrenheit')
467-
- "": [T: "skriftstil g"] # 0x210a (en: 'script g')
467+
- "": [T: "script font g"] # 0x210a (en: 'script g')
468468
- "ℌℑℨℭ": # 0x210c, 0x2111, 0x2128, 0x212d
469469
- T: "fraktur" # (en: 'fraktur', google: 'fraktur')
470470
- spell: "translate('.', 'ℌℑℨℭ', 'HIZC')"
@@ -475,10 +475,10 @@
475475

476476
- "": [T: "plancks konstant"] # 0x210e
477477
- "": [T: "h strek"] # 0x210f
478-
# SWEDISH: finns bara ett sätt att säga h streck
478+
# SWEDISH: finns bara ett sätt att säga h strek
479479

480480
- "ℐℒ℘ℬℰℱℳ": # 0x2110, 0x2112, 0x2118, 0x2130, 0x2131, 0x2133
481-
- T: "skriftstil" # (en: 'script')
481+
- T: "script font" # (en: 'script')
482482
- spell: "translate('.', 'ℐℒ℘ℬℰℱℳ', 'ILPBEFM')"
483483

484484
- "": [T: "skrifttype l"] # 0x2113 (en: 'script l')
@@ -691,7 +691,7 @@
691691
- "": [T: "høyrepil med åpen spiss"] # 0x21fe (en: 'rightwards open headed arrow')
692692
- "": [T: "venstre-høyre-pil med åpen spiss"] # 0x21ff (en: 'left right open headed arrow')
693693
#----------------------------------------------------------------------------------------------------------------
694-
#Mathematical operators GJENNOMGÅTT, MEN BØR KORREKTURLESES IGJEN - HER ER DET VIKTIGE TEGN!
694+
#Mathematical operators OK
695695
- "": [T: "for alle"] # 0x2200 (en: 'for all')
696696
- "": # 0x2201
697697
- T: "komplementet til" # (en: 'complement of')
@@ -701,20 +701,16 @@
701701
- "": [T: "det eksisterer ikke"] # 0x2204 (en: 'there does not exist')
702702
- "": [T: "den tomme mengden"] # 0x2205 (en: 'empty set')
703703
- "": # 0x2206
704-
- T: "laplace av" # (en: 'laplacian of') #Sjekk ut boka Kalkulus og lineær algebra!
705-
- "": [T: "nabla"] # 0x2207 (en: 'gradient of', google: 'lutning av') #Sjekk ut boka Kalkulus og lineær algebra
704+
- T: "laplace av" # (en: 'laplacian of')
705+
- "": [T: "nabla"] # 0x2207 (en: 'gradient of', google: 'lutning av')
706706
- "": # 0x2208
707707
- test:
708708
if: "$SpeechStyle != 'ClearSpeak'"
709709
then:
710710
- T: "i"
711-
#- test:
712-
#if: "not(ancestor::*[self::m:set])" # "the set x is an element of ..." sounds bad"
713-
#then: [T: "er"]
714-
#- T: "et element i"
715711
# Several options for speaking elements in ClearSpeak -- they split between being inside a set or not and then the option
716-
# SWEDISH: Changed the non-ClearSpeak option to "tillhör", as that makes more sense in Swedish.
717-
# SWEDISH: The word "medlem" is not commonly used in set theory, so we removed that rule. If the parsing has set the parameter to "Member" it will fall under the "else" case.
712+
# NORWEGIAN: "i" sounds best in all cases for the non-ClearSpeak case
713+
# SWEDISH/NORWEGIAN: The word "medlem" is not commonly used in set theory, so we removed that rule. If the parsing has set the parameter to "Member" it will fall under the "else" case.
718714
else_test:
719715
if: "../../self::m:set or ../../../self::m:set" # inside a set
720716
then_test:
@@ -725,7 +721,7 @@
725721
- else: [T: "tilhørende"] # $ClearSpeak_SetMemberSymbol = 'Belongs' (en: 'belonging to')
726722
else_test:
727723
- if: $ClearSpeak_SetMemberSymbol = 'Auto' or $ClearSpeak_SetMemberSymbol = 'In'
728-
then: [T: "i"] # SWEDISH: using this construction instead for more correct grammar in many cases
724+
then: [T: "i"] # NORWEGIAN: Set the "auto" case to be "i"
729725
- else_if: $ClearSpeak_SetMemberSymbol = 'Element'
730726
then: [T: "er et element i"] # (en: 'is in', google translation)
731727
- else: [T: "tilhører"] # $ClearSpeak_SetMemberSymbol = 'Belongs' (en: 'belongs to')
@@ -739,8 +735,7 @@
739735
then: [T: "er"]
740736
- T: "ikke et element i"
741737
# Several options for speaking elements in ClearSpeak -- they split between being inside a set or not and then the option
742-
# SWEDISH: Changed the non-ClearSpeak option to "tillhör", as that makes more sense in Swedish.
743-
# SWEDISH: The word "medlem" is not commonly used in set theory, so we removed that rule. If the parsing has set the parameter to "Member" it will fall under the "else" case.
738+
# SWEDISH/NORWEGIAN: The word "medlem" is not commonly used in set theory, so we removed that rule. If the parsing has set the parameter to "Member" it will fall under the "else" case.
744739
else_test:
745740
if: "../../self::m:set or ../../../self::m:set" # inside a set
746741
then_test:
@@ -760,13 +755,9 @@
760755
if: "$SpeechStyle != 'ClearSpeak'"
761756
then:
762757
- T: "i"
763-
#- test:
764-
#if: "not(ancestor::*[self::m:set])" # "the set x is an element of ..." sounds bad"
765-
#then: [T: "er"]
766-
#- T: "et element i"
767758
# Several options for speaking elements in ClearSpeak -- they split between being inside a set or not and then the option
768-
# SWEDISH: Changed the non-ClearSpeak option to "tillhör", as that makes more sense in Swedish.
769-
# SWEDISH: The word "medlem" is not commonly used in set theory, so we removed that rule. If the parsing has set the parameter to "Member" it will fall under the "else" case.
759+
# NORWEGIAN: "i" sounds best in all cases for the non-ClearSpeak case
760+
# SWEDISH/NORWEGIAN: The word "medlem" is not commonly used in set theory, so we removed that rule. If the parsing has set the parameter to "Member" it will fall under the "else" case.
770761
else_test:
771762
if: "../../self::m:set or ../../../self::m:set" # inside a set
772763
then_test:
@@ -777,7 +768,7 @@
777768
- else: [T: "tilhørende"] # $ClearSpeak_SetMemberSymbol = 'Belongs' (en: 'belonging to')
778769
else_test:
779770
- if: $ClearSpeak_SetMemberSymbol = 'Auto' or $ClearSpeak_SetMemberSymbol = 'In'
780-
then: [T: "i"] # (en: 'is an element of', google translation)
771+
then: [T: "i"] # (en: 'is an element of', google translation) #NORWEGIAN: Set the "auto" case to be "i"
781772
- else_if: $ClearSpeak_SetMemberSymbol = 'Element'
782773
then: [T: "er et element i"] # (en: 'is in', google translation)
783774
- else: [T: "tilhører"] # $ClearSpeak_SetMemberSymbol = 'Belongs' (en: 'belongs to')
@@ -2604,7 +2595,6 @@
26042595
- "": [T: "lik med prikk under"] # 0xe918 (en: 'equal with dot below', google translation)
26052596
- "": [T: "venstre prikk over minus over høyre prikk"] # 0xe919 (en: 'left dot over minus over right dot', google translation)
26062597
- "": [T: "høyre prikk over minus over venstre prikk"] # 0xe91a (en: 'right dot over minus over left dot', google translation)
2607-
#---
26082598
- "": [T: "nesten lik minus"] # 0xe91f (en: 'almost equal to minus', google translation)
26092599
- "": [T: "dobbel kvadratisk union"] # 0xe920 (en: 'double square cup', google translation)
26102600
- "": [T: "dobbelt kvadratisk snitt"] # 0xe921 (en: 'double square cap', google translation)
@@ -3144,37 +3134,38 @@
31443134

31453135
# script chars in math alphabetic block and also MathType private use area
31463136
# SWEDISH: We've used "skrivstilt" instead of skript for clarity
3137+
# NORWEGIAN: Used "script font"
31473138
- "𝒜-𝒵": # 0x1d49c - 0x1d4b5
3148-
- T: "skriftstil" # (en: 'script', google translation)
3139+
- T: "script font" # (en: 'script', google translation)
31493140
- spell: "translate('.', '𝒜𝒝𝒞𝒟𝒠𝒡𝒢𝒣𝒤𝒥𝒦𝒧𝒨𝒩𝒪𝒫𝒬𝒭𝒮𝒯𝒰𝒱𝒲𝒳𝒴𝒵', 'ABCDEFGHIJKLMNOPQRSTUVWXYZ')"
31503141

31513142
- "-": # 0xf100 - 0xf119
3152-
- T: "skriftstil" # (en: 'script', google translation)
3143+
- T: "script font" # (en: 'script', google translation)
31533144
- spell: "translate('.', '', 'ABCDEFGHIJKLMNOPQRSTUVWXYZ')"
31543145

31553146
- "𝒶-𝓏": # 0x1d4b6 - 0x1d4cf
3156-
- T: "skriftstil" # (en: 'script', google translation)
3147+
- T: "script font" # (en: 'script', google translation)
31573148
- spell: "translate('.', '𝒶𝒷𝒸𝒹𝒺𝒻𝒼𝒽𝒾𝒿𝓀𝓁𝓂𝓃𝓄𝓅𝓆𝓇𝓈𝓉𝓊𝓋𝓌𝓍𝓎𝓏', 'abcdefghijklmnopqrstuvwxyz')"
31583149

31593150
- "-": # 0xf11a - 0xf133
3160-
- T: "skriftstil" # (en: 'script', google translation)
3151+
- T: "script font" # (en: 'script', google translation)
31613152
- spell: "translate('.', '', 'abcdefghijklmnopqrstuvwxyz')"
31623153

31633154
# bold script chars in math alphabetic block and also MathType private use area
31643155
- "𝓐-𝓩": # 0x1d4d0 - 0x1d4e9
3165-
- T: "skriftstil fet" # (en: 'script bold', google translation)
3156+
- T: "script font fet" # (en: 'script bold', google translation)
31663157
- spell: "translate('.', '𝓐𝓑𝓒𝓓𝓔𝓕𝓖𝓗𝓘𝓙𝓚𝓛𝓜𝓝𝓞𝓟𝓠𝓡𝓢𝓣𝓤𝓥𝓦𝓧𝓨𝓩', 'ABCDEFGHIJKLMNOPQRSTUVWXYZ')"
31673158

31683159
- "-": # 0xf140 - 0xf159
3169-
- T: "skriftstil fet" # (en: 'script bold', google translation)
3160+
- T: "script font fet" # (en: 'script bold', google translation)
31703161
- spell: "translate('.', '', 'ABCDEFGHIJKLMNOPQRSTUVWXYZ')"
31713162

31723163
- "𝓪-𝔃": # 0x1d4ea - 0x1d503
3173-
- T: "skriftstil fet" # (en: 'script bold', google translation)
3164+
- T: "script font fet" # (en: 'script bold', google translation)
31743165
- spell: "translate('.', '𝓪𝓫𝓬𝓭𝓮𝓯𝓰𝓱𝓲𝓳𝓴𝓵𝓶𝓷𝓸𝓹𝓺𝓻𝓼𝓽𝓾𝓿𝔀𝔁𝔂𝔃', 'abcdefghijklmnopqrstuvwxyz')"
31753166

31763167
- "-": # 0xf15a - 0xf173
3177-
- T: "skriftstil fet" # (en: 'script bold', google translation)
3168+
- T: "script font fet" # (en: 'script bold', google translation)
31783169
- spell: "translate('.', '', 'abcdefghijklmnopqrstuvwxyz')"
31793170

31803171
- "-": # 0xf180 - 0xf199

Rules/Languages/nb/unicode.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@
289289
- "": [T: "grader celsius"] # 0x2103 (en: 'degrees celsius')
290290
- "": [T: "grader fahrenheit"] # 0x2109 (en: 'degrees fahrenheit')
291291
- "ℋℛℓ": # 0x210b
292-
- T: "skriftstil" # (en: 'script', google: 'manus')
292+
- T: "script font" # (en: 'script', google: 'manus')
293293
- spell: "translate('.', 'ℋℛℓ', 'HRl')"
294294
- "": [T: "plancks konstant"] # 0x210e
295295
- "": # 0x211c

tests/Languages/nb.rs

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,34 @@
11
#![allow(non_snake_case)]
2-
mod ClearSpeak {
3-
mod functions;
4-
mod large_ops;
5-
mod menclose;
6-
mod mfrac;
7-
mod mroot;
8-
mod msup;
9-
mod sets;
10-
mod symbols_and_adornments;
11-
mod multiline;
12-
}
2+
//mod ClearSpeak {
3+
//mod functions;
4+
//mod large_ops;
5+
//mod menclose;
6+
//mod mfrac;
7+
//mod mroot;
8+
//mod msup;
9+
//mod sets;
10+
//mod symbols_and_adornments;
11+
//mod multiline;
12+
//}
1313

14-
mod SimpleSpeak {
15-
mod functions;
16-
mod large_ops;
14+
//mod SimpleSpeak {
15+
//mod functions;
16+
//mod large_ops;
1717
//mod menclose;
18-
mod mfrac;
18+
//mod mfrac;
1919
//mod mroot;
20-
mod msup;
21-
mod sets;
22-
mod geometry;
23-
mod linear_algebra;
24-
mod multiline;
25-
mod subscripts;
26-
}
20+
//mod msup;
21+
//mod sets;
22+
//mod geometry;
23+
//mod linear_algebra;
24+
//mod multiline;
25+
//mod subscripts;
26+
//}
2727

28-
mod shared;
29-
mod units;
30-
mod chemistry;
31-
mod alphabets;
28+
//mod shared;
29+
//mod units;
30+
//mod chemistry;
31+
//mod alphabets;
3232
mod intent;
33-
mod mtable;
33+
//mod mtable;
3434

0 commit comments

Comments
 (0)