taraskevizer 1.4.4 → 1.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -125,6 +125,22 @@ Which variation should be if a part of word is variable?
125
125
  2 = all: (Гродна|Горадня)
126
126
  ```
127
127
 
128
+ ### OVERRIDE_toTarask
129
+
130
+ Type:
131
+
132
+ ```
133
+ (
134
+ text: string,
135
+ replaceWithDict: (text: string, dict?: ExtendedDict) => string,
136
+ wordlist: [RegExp, string][],
137
+ softers: [RegExp, string][],
138
+ afterTarask: [RegExp, string | ((...substrings: string[]) => string)][]
139
+ ) => string
140
+ ```
141
+
142
+ Default value: internal function `toTarask`
143
+
128
144
  ## HTML tags
129
145
 
130
146
  ### tarF