You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: projectDocs/dev/developerGuide/developerGuide.t2t
+13-12Lines changed: 13 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -116,12 +116,13 @@ The fields are as follows:
116
116
In most cases, this is just the character or characters of the symbol.
117
117
However, it can also be the identifier of a complex symbol.
118
118
Certain characters cannot be typed into the file, so the following special sequences can be used:
119
-
- \0: null
120
-
- \t: tab
121
-
- \n: line feed
122
-
- \r: carriage return
123
-
- \f: form feed
124
-
- \#: # character (needed because # at the start of a line denotes a comment)
119
+
- \0: null
120
+
- \t: tab
121
+
- \n: line feed
122
+
- \r: carriage return
123
+
- \f: form feed
124
+
- \#: # character (needed because # at the start of a line denotes a comment)
125
+
-
125
126
- replacement: The text which should be spoken for the symbol.
126
127
If the symbol is a complex symbol, \1, \2, etc. can be used to refer to the groups matches, which will be inlined in the replacement, allowing for simpler rules.
127
128
This also means that to get a \ character in the replacement, one has to type \\.
@@ -133,12 +134,12 @@ The default is to inherit the value or "all" if there is nothing to inherit.
133
134
- preserve: Whether the symbol itself should be preserved to facilitate correct pronunciation by the synthesiser.
134
135
For example, symbols which cause pauses or inflection (such as the comma in English) should be preserved.
135
136
This field should be one of the following:
136
-
- never: Never preserve the symbol.
137
-
- always: Always preserve the symbol.
138
-
- norep: Only preserve the symbol if it is not being replaced; i.e. the user has set symbol level lower than the level of this symbol.
139
-
- -: Use the default.
140
-
-
141
-
The default is to inherit the value or "never" if there is nothing to inherit.
137
+
- never: Never preserve the symbol.
138
+
- always: Always preserve the symbol.
139
+
- norep: Only preserve the symbol if it is not being replaced; i.e. the user has set symbol level lower than the level of this symbol.
140
+
- -: Use the default.
141
+
- The default is to inherit the value or "never" if there is nothing to inherit.
142
+
-
142
143
-
143
144
Finally, a display name for the symbol can be provided in a comment after a tab at the end of the line.
144
145
This will be shown to users when editing the symbol information and is especially useful for translators to define translated names for English complex symbols.
0 commit comments