word-aligner 1.0.1-alpha.2 → 1.0.2-alpha

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,13 +4,8 @@
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" />
7
+ <list default="true" id="0557423a-f59a-40db-af07-9e6f26fd3bd6" name="Default Changelist" comment="">
11
8
  <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
9
  <change beforePath="$PROJECT_DIR$/src/js/utils/morphCodeLocalizationMap.js" beforeDir="false" afterPath="$PROJECT_DIR$/src/js/utils/morphCodeLocalizationMap.js" afterDir="false" />
15
10
  </list>
16
11
  <option name="SHOW_DIALOG" value="false" />
@@ -24,7 +19,7 @@
24
19
  <component name="Git.Settings">
25
20
  <option name="RECENT_BRANCH_BY_REPOSITORY">
26
21
  <map>
27
- <entry key="$PROJECT_DIR$" value="testing-SR-ugnt" />
22
+ <entry key="$PROJECT_DIR$" value="develop" />
28
23
  </map>
29
24
  </option>
30
25
  <option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
@@ -49,7 +44,7 @@
49
44
  "keyToString": {
50
45
  "Git.Branch.Popup.ShowAllRemotes": "true",
51
46
  "WebServerToolWindowFactoryState": "false",
52
- "last_opened_file_path": "/Users/blm/Development/Electron/word-aligner/__tests__/fixtures/SR",
47
+ "last_opened_file_path": "/Users/blm/translationCore/resources/el-x-koine/bibles/ugnt/v0.35-SR_photonomad0",
53
48
  "node.js.detected.package.eslint": "true",
54
49
  "node.js.selected.package.eslint": "(autodetect)",
55
50
  "nodejs.jest.jest_package": "/Users/blm/Development/Electron/word-aligner/node_modules/jest",
@@ -63,8 +58,11 @@
63
58
  <key name="CopyFile.RECENT_KEYS">
64
59
  <recent name="$PROJECT_DIR$/__tests__/fixtures/SR" />
65
60
  </key>
61
+ <key name="MoveFile.RECENT_KEYS">
62
+ <recent name="$PROJECT_DIR$/__tests__/fixtures/morphs/SR" />
63
+ </key>
66
64
  </component>
67
- <component name="RunManager" selected="Jest.MorphUtils tests.Greek">
65
+ <component name="RunManager" selected="Jest.MorphUtils tests.Greek.Test MorphUtils.getMorphLocalizationKeys() - test SR Οὐκ">
68
66
  <configuration default="true" type="Applet" factoryName="Applet">
69
67
  <option name="WIDTH" value="400" />
70
68
  <option name="HEIGHT" value="300" />
@@ -85,7 +83,7 @@
85
83
  <option name="Make" enabled="true" />
86
84
  </method>
87
85
  </configuration>
88
- <configuration name="MorphUtils tests.Greek" type="JavaScriptTestRunnerJest" temporary="true" nameIsGenerated="true">
86
+ <configuration name="MorphUtils tests" type="JavaScriptTestRunnerJest" temporary="true" nameIsGenerated="true">
89
87
  <node-interpreter value="project" />
90
88
  <node-options value="" />
91
89
  <jest-package value="$PROJECT_DIR$/node_modules/jest" />
@@ -95,26 +93,24 @@
95
93
  <test-file value="$PROJECT_DIR$/__tests__/MorphUtils.test.js" />
96
94
  <test-names>
97
95
  <test-name value="MorphUtils tests" />
98
- <test-name value="Greek" />
99
96
  </test-names>
100
97
  <method v="2" />
101
98
  </configuration>
102
- <configuration name="MorphUtils tests.Greek.Test MorphUtils.getMorphLocalizationKeys() - test ἐπιδιορθώσῃ" type="JavaScriptTestRunnerJest" temporary="true" nameIsGenerated="true">
99
+ <configuration name="MorphUtils tests.Greek" type="JavaScriptTestRunnerJest" temporary="true" nameIsGenerated="true">
103
100
  <node-interpreter value="project" />
104
101
  <node-options value="" />
105
102
  <jest-package value="$PROJECT_DIR$/node_modules/jest" />
106
103
  <working-dir value="$PROJECT_DIR$" />
107
104
  <envs />
108
- <scope-kind value="TEST" />
105
+ <scope-kind value="SUITE" />
109
106
  <test-file value="$PROJECT_DIR$/__tests__/MorphUtils.test.js" />
110
107
  <test-names>
111
108
  <test-name value="MorphUtils tests" />
112
109
  <test-name value="Greek" />
113
- <test-name value="Test MorphUtils.getMorphLocalizationKeys() - test ἐπιδιορθώσῃ" />
114
110
  </test-names>
115
111
  <method v="2" />
116
112
  </configuration>
117
- <configuration name="MorphUtils tests.Greek.Test MorphUtils.getMorphLocalizationKeys() - test SR paul" type="JavaScriptTestRunnerJest" temporary="true" nameIsGenerated="true">
113
+ <configuration name="MorphUtils tests.Greek.Test MorphUtils.getMorphLocalizationKeys() - test SR Οὐκ" type="JavaScriptTestRunnerJest" temporary="true" nameIsGenerated="true">
118
114
  <node-interpreter value="project" />
119
115
  <node-options value="" />
120
116
  <jest-package value="$PROJECT_DIR$/node_modules/jest" />
@@ -125,11 +121,11 @@
125
121
  <test-names>
126
122
  <test-name value="MorphUtils tests" />
127
123
  <test-name value="Greek" />
128
- <test-name value="Test MorphUtils.getMorphLocalizationKeys() - test SR paul" />
124
+ <test-name value="Test MorphUtils.getMorphLocalizationKeys() - test SR Οὐκ" />
129
125
  </test-names>
130
126
  <method v="2" />
131
127
  </configuration>
132
- <configuration name="MorphUtils tests.Greek.Test MorphUtils.getMorphLocalizationKeys() - test paul" type="JavaScriptTestRunnerJest" temporary="true" nameIsGenerated="true">
128
+ <configuration name="MorphUtils tests.Greek.Test MorphUtils.getMorphLocalizationKeys() - test ἐπιδιορθώσῃ" type="JavaScriptTestRunnerJest" temporary="true" nameIsGenerated="true">
133
129
  <node-interpreter value="project" />
134
130
  <node-options value="" />
135
131
  <jest-package value="$PROJECT_DIR$/node_modules/jest" />
@@ -140,11 +136,11 @@
140
136
  <test-names>
141
137
  <test-name value="MorphUtils tests" />
142
138
  <test-name value="Greek" />
143
- <test-name value="Test MorphUtils.getMorphLocalizationKeys() - test paul" />
139
+ <test-name value="Test MorphUtils.getMorphLocalizationKeys() - test ἐπιδιορθώσῃ" />
144
140
  </test-names>
145
141
  <method v="2" />
146
142
  </configuration>
147
- <configuration name="MorphUtils tests.Greek.Test MorphUtils.getMorphLocalizationKeys() - test ἐκλεκτῶν" type="JavaScriptTestRunnerJest" temporary="true" nameIsGenerated="true">
143
+ <configuration name="MorphUtils tests.test whole book" type="JavaScriptTestRunnerJest" temporary="true" nameIsGenerated="true">
148
144
  <node-interpreter value="project" />
149
145
  <node-options value="" />
150
146
  <jest-package value="$PROJECT_DIR$/node_modules/jest" />
@@ -154,11 +150,20 @@
154
150
  <test-file value="$PROJECT_DIR$/__tests__/MorphUtils.test.js" />
155
151
  <test-names>
156
152
  <test-name value="MorphUtils tests" />
157
- <test-name value="Greek" />
158
- <test-name value="Test MorphUtils.getMorphLocalizationKeys() - test ἐκλεκτῶν" />
153
+ <test-name value="test whole book" />
159
154
  </test-names>
160
155
  <method v="2" />
161
156
  </configuration>
157
+ <configuration name="MorphUtils.test.js" type="JavaScriptTestRunnerJest" temporary="true" nameIsGenerated="true">
158
+ <node-interpreter value="project" />
159
+ <node-options value="" />
160
+ <jest-package value="$PROJECT_DIR$/node_modules/jest" />
161
+ <working-dir value="$PROJECT_DIR$" />
162
+ <envs />
163
+ <scope-kind value="TEST_FILE" />
164
+ <test-file value="$PROJECT_DIR$/__tests__/MorphUtils.test.js" />
165
+ <method v="2" />
166
+ </configuration>
162
167
  <configuration default="true" type="TestNG">
163
168
  <option name="TEST_OBJECT" value="CLASS" />
164
169
  <option name="WORKING_DIRECTORY" value="$MODULE_DIR$" />
@@ -179,11 +184,11 @@
179
184
  </configuration>
180
185
  <recent_temporary>
181
186
  <list>
187
+ <item itemvalue="Jest.MorphUtils tests.Greek.Test MorphUtils.getMorphLocalizationKeys() - test SR Οὐκ" />
188
+ <item itemvalue="Jest.MorphUtils tests" />
189
+ <item itemvalue="Jest.MorphUtils.test.js" />
190
+ <item itemvalue="Jest.MorphUtils tests.test whole book" />
182
191
  <item itemvalue="Jest.MorphUtils tests.Greek" />
183
- <item itemvalue="Jest.MorphUtils tests.Greek.Test MorphUtils.getMorphLocalizationKeys() - test ἐπιδιορθώσῃ" />
184
- <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
192
  </list>
188
193
  </recent_temporary>
189
194
  </component>
@@ -208,7 +213,9 @@
208
213
  <workItem from="1669944724896" duration="599000" />
209
214
  <workItem from="1670113884923" duration="599000" />
210
215
  <workItem from="1670186707404" duration="587000" />
211
- <workItem from="1672950758072" duration="14050000" />
216
+ <workItem from="1672950758072" duration="18262000" />
217
+ <workItem from="1673270950468" duration="599000" />
218
+ <workItem from="1675266715594" duration="4013000" />
212
219
  </task>
213
220
  <task id="LOCAL-00001" summary="Added support for new SR morph format">
214
221
  <created>1672962554084</created>
@@ -224,12 +231,30 @@
224
231
  <option name="project" value="LOCAL" />
225
232
  <updated>1672963360800</updated>
226
233
  </task>
227
- <option name="localTasksCounter" value="3" />
234
+ <task id="LOCAL-00003" summary="Added support for new SR morph format">
235
+ <created>1673004505608</created>
236
+ <option name="number" value="00003" />
237
+ <option name="presentableId" value="LOCAL-00003" />
238
+ <option name="project" value="LOCAL" />
239
+ <updated>1673004505608</updated>
240
+ </task>
241
+ <option name="localTasksCounter" value="4" />
228
242
  <servers />
229
243
  </component>
230
244
  <component name="TypeScriptGeneratedFilesManager">
231
245
  <option name="version" value="3" />
232
246
  </component>
247
+ <component name="Vcs.Log.Tabs.Properties">
248
+ <option name="TAB_STATES">
249
+ <map>
250
+ <entry key="MAIN">
251
+ <value>
252
+ <State />
253
+ </value>
254
+ </entry>
255
+ </map>
256
+ </option>
257
+ </component>
233
258
  <component name="VcsManagerConfiguration">
234
259
  <MESSAGE value="Added support for new SR morph format" />
235
260
  <option name="LAST_COMMIT_MESSAGE" value="Added support for new SR morph format" />
@@ -239,39 +264,15 @@
239
264
  <breakpoints>
240
265
  <line-breakpoint enabled="true" type="javascript">
241
266
  <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>
267
+ <line>148</line>
249
268
  <properties lambdaOrdinal="-1" />
250
269
  <option name="timeStamp" value="8" />
251
270
  </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
271
  <line-breakpoint enabled="true" type="javascript">
265
272
  <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
+ <line>159</line>
273
274
  <properties lambdaOrdinal="-1" />
274
- <option name="timeStamp" value="14" />
275
+ <option name="timeStamp" value="10" />
275
276
  </line-breakpoint>
276
277
  </breakpoints>
277
278
  </breakpoint-manager>
@@ -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,12 +242,19 @@ 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: {
249
249
  key: 'extraneous', // new
250
250
  4: formNADX
251
+ },
252
+ T: {
253
+ key: 'particle',
254
+ 3: { // particle types
255
+ F: 'foreign',
256
+ E: 'error'
257
+ }
251
258
  }
252
259
  },
253
260
  5: { // Tense
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.2-alpha",
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,13 +235,20 @@ 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: {
242
242
  key: 'extraneous', // new
243
243
  4: formNADX,
244
244
  },
245
+ T: {
246
+ key: 'particle',
247
+ 3: { // particle types
248
+ F: 'foreign',
249
+ E: 'error',
250
+ },
251
+ },
245
252
  },
246
253
  5: { // Tense
247
254
  P: 'present',