word-aligner 1.0.1-alpha.2 → 1.0.1

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.
@@ -4,15 +4,7 @@
4
4
  <option name="autoReloadType" value="ALL" />
5
5
  </component>
6
6
  <component name="ChangeListManager">
7
- <list default="true" id="0557423a-f59a-40db-af07-9e6f26fd3bd6" name="Default Changelist" comment="Added support for new SR morph format">
8
- <change afterPath="$PROJECT_DIR$/__tests__/fixtures/SR/1.json" afterDir="false" />
9
- <change afterPath="$PROJECT_DIR$/__tests__/fixtures/SR/2.json" afterDir="false" />
10
- <change afterPath="$PROJECT_DIR$/__tests__/fixtures/SR/3.json" afterDir="false" />
11
- <change beforePath="$PROJECT_DIR$/__tests__/MorphUtils.test.js" beforeDir="false" afterPath="$PROJECT_DIR$/__tests__/MorphUtils.test.js" afterDir="false" />
12
- <change beforePath="$PROJECT_DIR$/package-lock.json" beforeDir="false" afterPath="$PROJECT_DIR$/package-lock.json" afterDir="false" />
13
- <change beforePath="$PROJECT_DIR$/package.json" beforeDir="false" afterPath="$PROJECT_DIR$/package.json" afterDir="false" />
14
- <change beforePath="$PROJECT_DIR$/src/js/utils/morphCodeLocalizationMap.js" beforeDir="false" afterPath="$PROJECT_DIR$/src/js/utils/morphCodeLocalizationMap.js" afterDir="false" />
15
- </list>
7
+ <list default="true" id="0557423a-f59a-40db-af07-9e6f26fd3bd6" name="Default Changelist" comment="" />
16
8
  <option name="SHOW_DIALOG" value="false" />
17
9
  <option name="HIGHLIGHT_CONFLICTS" value="true" />
18
10
  <option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
@@ -24,7 +16,7 @@
24
16
  <component name="Git.Settings">
25
17
  <option name="RECENT_BRANCH_BY_REPOSITORY">
26
18
  <map>
27
- <entry key="$PROJECT_DIR$" value="testing-SR-ugnt" />
19
+ <entry key="$PROJECT_DIR$" value="feature-mcleanb-7468-newMorpFormat" />
28
20
  </map>
29
21
  </option>
30
22
  <option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
@@ -64,7 +56,7 @@
64
56
  <recent name="$PROJECT_DIR$/__tests__/fixtures/SR" />
65
57
  </key>
66
58
  </component>
67
- <component name="RunManager" selected="Jest.MorphUtils tests.Greek">
59
+ <component name="RunManager">
68
60
  <configuration default="true" type="Applet" factoryName="Applet">
69
61
  <option name="WIDTH" value="400" />
70
62
  <option name="HEIGHT" value="300" />
@@ -114,7 +106,7 @@
114
106
  </test-names>
115
107
  <method v="2" />
116
108
  </configuration>
117
- <configuration name="MorphUtils tests.Greek.Test MorphUtils.getMorphLocalizationKeys() - test SR paul" type="JavaScriptTestRunnerJest" temporary="true" nameIsGenerated="true">
109
+ <configuration name="MorphUtils tests.Greek.Test MorphUtils.getMorphLocalizationKeys() - test ἐκλεκτῶν" type="JavaScriptTestRunnerJest" temporary="true" nameIsGenerated="true">
118
110
  <node-interpreter value="project" />
119
111
  <node-options value="" />
120
112
  <jest-package value="$PROJECT_DIR$/node_modules/jest" />
@@ -125,11 +117,11 @@
125
117
  <test-names>
126
118
  <test-name value="MorphUtils tests" />
127
119
  <test-name value="Greek" />
128
- <test-name value="Test MorphUtils.getMorphLocalizationKeys() - test SR paul" />
120
+ <test-name value="Test MorphUtils.getMorphLocalizationKeys() - test ἐκλεκτῶν" />
129
121
  </test-names>
130
122
  <method v="2" />
131
123
  </configuration>
132
- <configuration name="MorphUtils tests.Greek.Test MorphUtils.getMorphLocalizationKeys() - test paul" type="JavaScriptTestRunnerJest" temporary="true" nameIsGenerated="true">
124
+ <configuration name="MorphUtils tests.test whole book" type="JavaScriptTestRunnerJest" temporary="true" nameIsGenerated="true">
133
125
  <node-interpreter value="project" />
134
126
  <node-options value="" />
135
127
  <jest-package value="$PROJECT_DIR$/node_modules/jest" />
@@ -139,24 +131,18 @@
139
131
  <test-file value="$PROJECT_DIR$/__tests__/MorphUtils.test.js" />
140
132
  <test-names>
141
133
  <test-name value="MorphUtils tests" />
142
- <test-name value="Greek" />
143
- <test-name value="Test MorphUtils.getMorphLocalizationKeys() - test paul" />
134
+ <test-name value="test whole book" />
144
135
  </test-names>
145
136
  <method v="2" />
146
137
  </configuration>
147
- <configuration name="MorphUtils tests.Greek.Test MorphUtils.getMorphLocalizationKeys() - test ἐκλεκτῶν" type="JavaScriptTestRunnerJest" temporary="true" nameIsGenerated="true">
138
+ <configuration name="MorphUtils.test.js" type="JavaScriptTestRunnerJest" temporary="true" nameIsGenerated="true">
148
139
  <node-interpreter value="project" />
149
140
  <node-options value="" />
150
141
  <jest-package value="$PROJECT_DIR$/node_modules/jest" />
151
142
  <working-dir value="$PROJECT_DIR$" />
152
143
  <envs />
153
- <scope-kind value="TEST" />
144
+ <scope-kind value="TEST_FILE" />
154
145
  <test-file value="$PROJECT_DIR$/__tests__/MorphUtils.test.js" />
155
- <test-names>
156
- <test-name value="MorphUtils tests" />
157
- <test-name value="Greek" />
158
- <test-name value="Test MorphUtils.getMorphLocalizationKeys() - test ἐκλεκτῶν" />
159
- </test-names>
160
146
  <method v="2" />
161
147
  </configuration>
162
148
  <configuration default="true" type="TestNG">
@@ -179,11 +165,11 @@
179
165
  </configuration>
180
166
  <recent_temporary>
181
167
  <list>
168
+ <item itemvalue="Jest.MorphUtils.test.js" />
169
+ <item itemvalue="Jest.MorphUtils tests.test whole book" />
182
170
  <item itemvalue="Jest.MorphUtils tests.Greek" />
183
171
  <item itemvalue="Jest.MorphUtils tests.Greek.Test MorphUtils.getMorphLocalizationKeys() - test ἐπιδιορθώσῃ" />
184
172
  <item itemvalue="Jest.MorphUtils tests.Greek.Test MorphUtils.getMorphLocalizationKeys() - test ἐκλεκτῶν" />
185
- <item itemvalue="Jest.MorphUtils tests.Greek.Test MorphUtils.getMorphLocalizationKeys() - test SR paul" />
186
- <item itemvalue="Jest.MorphUtils tests.Greek.Test MorphUtils.getMorphLocalizationKeys() - test paul" />
187
173
  </list>
188
174
  </recent_temporary>
189
175
  </component>
@@ -208,7 +194,7 @@
208
194
  <workItem from="1669944724896" duration="599000" />
209
195
  <workItem from="1670113884923" duration="599000" />
210
196
  <workItem from="1670186707404" duration="587000" />
211
- <workItem from="1672950758072" duration="14050000" />
197
+ <workItem from="1672950758072" duration="17043000" />
212
198
  </task>
213
199
  <task id="LOCAL-00001" summary="Added support for new SR morph format">
214
200
  <created>1672962554084</created>
@@ -224,7 +210,14 @@
224
210
  <option name="project" value="LOCAL" />
225
211
  <updated>1672963360800</updated>
226
212
  </task>
227
- <option name="localTasksCounter" value="3" />
213
+ <task id="LOCAL-00003" summary="Added support for new SR morph format">
214
+ <created>1673004505608</created>
215
+ <option name="number" value="00003" />
216
+ <option name="presentableId" value="LOCAL-00003" />
217
+ <option name="project" value="LOCAL" />
218
+ <updated>1673004505608</updated>
219
+ </task>
220
+ <option name="localTasksCounter" value="4" />
228
221
  <servers />
229
222
  </component>
230
223
  <component name="TypeScriptGeneratedFilesManager">
@@ -234,46 +227,4 @@
234
227
  <MESSAGE value="Added support for new SR morph format" />
235
228
  <option name="LAST_COMMIT_MESSAGE" value="Added support for new SR morph format" />
236
229
  </component>
237
- <component name="XDebuggerManager">
238
- <breakpoint-manager>
239
- <breakpoints>
240
- <line-breakpoint enabled="true" type="javascript">
241
- <url>file://$PROJECT_DIR$/src/js/utils/MorphUtils.js</url>
242
- <line>138</line>
243
- <properties lambdaOrdinal="-1" />
244
- <option name="timeStamp" value="2" />
245
- </line-breakpoint>
246
- <line-breakpoint enabled="true" type="javascript">
247
- <url>file://$PROJECT_DIR$/src/js/utils/MorphUtils.js</url>
248
- <line>164</line>
249
- <properties lambdaOrdinal="-1" />
250
- <option name="timeStamp" value="8" />
251
- </line-breakpoint>
252
- <line-breakpoint enabled="true" type="javascript">
253
- <url>file://$PROJECT_DIR$/src/js/utils/MorphUtils.js</url>
254
- <line>170</line>
255
- <properties lambdaOrdinal="-1" />
256
- <option name="timeStamp" value="9" />
257
- </line-breakpoint>
258
- <line-breakpoint enabled="true" type="javascript">
259
- <url>file://$PROJECT_DIR$/__tests__/MorphUtils.test.js</url>
260
- <line>89</line>
261
- <properties lambdaOrdinal="-1" />
262
- <option name="timeStamp" value="12" />
263
- </line-breakpoint>
264
- <line-breakpoint enabled="true" type="javascript">
265
- <url>file://$PROJECT_DIR$/__tests__/MorphUtils.test.js</url>
266
- <line>88</line>
267
- <properties lambdaOrdinal="-1" />
268
- <option name="timeStamp" value="13" />
269
- </line-breakpoint>
270
- <line-breakpoint enabled="true" type="javascript">
271
- <url>file://$PROJECT_DIR$/src/js/utils/MorphUtils.js</url>
272
- <line>150</line>
273
- <properties lambdaOrdinal="-1" />
274
- <option name="timeStamp" value="14" />
275
- </line-breakpoint>
276
- </breakpoints>
277
- </breakpoint-manager>
278
- </component>
279
230
  </project>
@@ -220,7 +220,7 @@ var morphCodeLocalizationMapSrGrk = exports.morphCodeLocalizationMapSrGrk = {
220
220
  key: 'adjective',
221
221
  4: formNADX
222
222
  },
223
- S: {
223
+ S: { // new
224
224
  key: 'substantive_adjective'
225
225
  },
226
226
  V: {
@@ -242,7 +242,7 @@ var morphCodeLocalizationMapSrGrk = exports.morphCodeLocalizationMapSrGrk = {
242
242
  4: formVI
243
243
  },
244
244
  E: {
245
- key: 'determiner', // new
245
+ key: 'determiner',
246
246
  4: formNADX
247
247
  },
248
248
  X: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "word-aligner",
3
- "version": "1.0.1-alpha.2",
3
+ "version": "1.0.1",
4
4
  "description": "A library for handling word alignment",
5
5
  "main": "lib/index.js",
6
6
  "scripts": {
@@ -213,7 +213,7 @@ export const morphCodeLocalizationMapSrGrk = {
213
213
  key: 'adjective',
214
214
  4: formNADX,
215
215
  },
216
- S: {
216
+ S: { // new
217
217
  key: 'substantive_adjective'
218
218
  },
219
219
  V: {
@@ -235,7 +235,7 @@ export const morphCodeLocalizationMapSrGrk = {
235
235
  4: formVI,
236
236
  },
237
237
  E: {
238
- key: 'determiner', // new
238
+ key: 'determiner',
239
239
  4: formNADX,
240
240
  },
241
241
  X: {