word-aligner 1.0.1 → 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,7 +4,10 @@
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="" />
7
+ <list default="true" id="0557423a-f59a-40db-af07-9e6f26fd3bd6" name="Default Changelist" comment="">
8
+ <change beforePath="$PROJECT_DIR$/__tests__/MorphUtils.test.js" beforeDir="false" afterPath="$PROJECT_DIR$/__tests__/MorphUtils.test.js" afterDir="false" />
9
+ <change beforePath="$PROJECT_DIR$/src/js/utils/morphCodeLocalizationMap.js" beforeDir="false" afterPath="$PROJECT_DIR$/src/js/utils/morphCodeLocalizationMap.js" afterDir="false" />
10
+ </list>
8
11
  <option name="SHOW_DIALOG" value="false" />
9
12
  <option name="HIGHLIGHT_CONFLICTS" value="true" />
10
13
  <option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
@@ -16,7 +19,7 @@
16
19
  <component name="Git.Settings">
17
20
  <option name="RECENT_BRANCH_BY_REPOSITORY">
18
21
  <map>
19
- <entry key="$PROJECT_DIR$" value="feature-mcleanb-7468-newMorpFormat" />
22
+ <entry key="$PROJECT_DIR$" value="develop" />
20
23
  </map>
21
24
  </option>
22
25
  <option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
@@ -41,7 +44,7 @@
41
44
  "keyToString": {
42
45
  "Git.Branch.Popup.ShowAllRemotes": "true",
43
46
  "WebServerToolWindowFactoryState": "false",
44
- "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",
45
48
  "node.js.detected.package.eslint": "true",
46
49
  "node.js.selected.package.eslint": "(autodetect)",
47
50
  "nodejs.jest.jest_package": "/Users/blm/Development/Electron/word-aligner/node_modules/jest",
@@ -55,8 +58,11 @@
55
58
  <key name="CopyFile.RECENT_KEYS">
56
59
  <recent name="$PROJECT_DIR$/__tests__/fixtures/SR" />
57
60
  </key>
61
+ <key name="MoveFile.RECENT_KEYS">
62
+ <recent name="$PROJECT_DIR$/__tests__/fixtures/morphs/SR" />
63
+ </key>
58
64
  </component>
59
- <component name="RunManager">
65
+ <component name="RunManager" selected="Jest.MorphUtils tests.Greek.Test MorphUtils.getMorphLocalizationKeys() - test SR Οὐκ">
60
66
  <configuration default="true" type="Applet" factoryName="Applet">
61
67
  <option name="WIDTH" value="400" />
62
68
  <option name="HEIGHT" value="300" />
@@ -77,6 +83,19 @@
77
83
  <option name="Make" enabled="true" />
78
84
  </method>
79
85
  </configuration>
86
+ <configuration name="MorphUtils tests" type="JavaScriptTestRunnerJest" temporary="true" nameIsGenerated="true">
87
+ <node-interpreter value="project" />
88
+ <node-options value="" />
89
+ <jest-package value="$PROJECT_DIR$/node_modules/jest" />
90
+ <working-dir value="$PROJECT_DIR$" />
91
+ <envs />
92
+ <scope-kind value="SUITE" />
93
+ <test-file value="$PROJECT_DIR$/__tests__/MorphUtils.test.js" />
94
+ <test-names>
95
+ <test-name value="MorphUtils tests" />
96
+ </test-names>
97
+ <method v="2" />
98
+ </configuration>
80
99
  <configuration name="MorphUtils tests.Greek" type="JavaScriptTestRunnerJest" temporary="true" nameIsGenerated="true">
81
100
  <node-interpreter value="project" />
82
101
  <node-options value="" />
@@ -91,7 +110,7 @@
91
110
  </test-names>
92
111
  <method v="2" />
93
112
  </configuration>
94
- <configuration name="MorphUtils tests.Greek.Test MorphUtils.getMorphLocalizationKeys() - test ἐπιδιορθώσῃ" type="JavaScriptTestRunnerJest" temporary="true" nameIsGenerated="true">
113
+ <configuration name="MorphUtils tests.Greek.Test MorphUtils.getMorphLocalizationKeys() - test SR Οὐκ" type="JavaScriptTestRunnerJest" temporary="true" nameIsGenerated="true">
95
114
  <node-interpreter value="project" />
96
115
  <node-options value="" />
97
116
  <jest-package value="$PROJECT_DIR$/node_modules/jest" />
@@ -102,11 +121,11 @@
102
121
  <test-names>
103
122
  <test-name value="MorphUtils tests" />
104
123
  <test-name value="Greek" />
105
- <test-name value="Test MorphUtils.getMorphLocalizationKeys() - test ἐπιδιορθώσῃ" />
124
+ <test-name value="Test MorphUtils.getMorphLocalizationKeys() - test SR Οὐκ" />
106
125
  </test-names>
107
126
  <method v="2" />
108
127
  </configuration>
109
- <configuration name="MorphUtils tests.Greek.Test MorphUtils.getMorphLocalizationKeys() - test ἐκλεκτῶν" type="JavaScriptTestRunnerJest" temporary="true" nameIsGenerated="true">
128
+ <configuration name="MorphUtils tests.Greek.Test MorphUtils.getMorphLocalizationKeys() - test ἐπιδιορθώσῃ" type="JavaScriptTestRunnerJest" temporary="true" nameIsGenerated="true">
110
129
  <node-interpreter value="project" />
111
130
  <node-options value="" />
112
131
  <jest-package value="$PROJECT_DIR$/node_modules/jest" />
@@ -117,7 +136,7 @@
117
136
  <test-names>
118
137
  <test-name value="MorphUtils tests" />
119
138
  <test-name value="Greek" />
120
- <test-name value="Test MorphUtils.getMorphLocalizationKeys() - test ἐκλεκτῶν" />
139
+ <test-name value="Test MorphUtils.getMorphLocalizationKeys() - test ἐπιδιορθώσῃ" />
121
140
  </test-names>
122
141
  <method v="2" />
123
142
  </configuration>
@@ -165,11 +184,11 @@
165
184
  </configuration>
166
185
  <recent_temporary>
167
186
  <list>
187
+ <item itemvalue="Jest.MorphUtils tests.Greek.Test MorphUtils.getMorphLocalizationKeys() - test SR Οὐκ" />
188
+ <item itemvalue="Jest.MorphUtils tests" />
168
189
  <item itemvalue="Jest.MorphUtils.test.js" />
169
190
  <item itemvalue="Jest.MorphUtils tests.test whole book" />
170
191
  <item itemvalue="Jest.MorphUtils tests.Greek" />
171
- <item itemvalue="Jest.MorphUtils tests.Greek.Test MorphUtils.getMorphLocalizationKeys() - test ἐπιδιορθώσῃ" />
172
- <item itemvalue="Jest.MorphUtils tests.Greek.Test MorphUtils.getMorphLocalizationKeys() - test ἐκλεκτῶν" />
173
192
  </list>
174
193
  </recent_temporary>
175
194
  </component>
@@ -194,7 +213,9 @@
194
213
  <workItem from="1669944724896" duration="599000" />
195
214
  <workItem from="1670113884923" duration="599000" />
196
215
  <workItem from="1670186707404" duration="587000" />
197
- <workItem from="1672950758072" duration="17043000" />
216
+ <workItem from="1672950758072" duration="18262000" />
217
+ <workItem from="1673270950468" duration="599000" />
218
+ <workItem from="1675266715594" duration="4013000" />
198
219
  </task>
199
220
  <task id="LOCAL-00001" summary="Added support for new SR morph format">
200
221
  <created>1672962554084</created>
@@ -223,8 +244,37 @@
223
244
  <component name="TypeScriptGeneratedFilesManager">
224
245
  <option name="version" value="3" />
225
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>
226
258
  <component name="VcsManagerConfiguration">
227
259
  <MESSAGE value="Added support for new SR morph format" />
228
260
  <option name="LAST_COMMIT_MESSAGE" value="Added support for new SR morph format" />
229
261
  </component>
262
+ <component name="XDebuggerManager">
263
+ <breakpoint-manager>
264
+ <breakpoints>
265
+ <line-breakpoint enabled="true" type="javascript">
266
+ <url>file://$PROJECT_DIR$/src/js/utils/MorphUtils.js</url>
267
+ <line>148</line>
268
+ <properties lambdaOrdinal="-1" />
269
+ <option name="timeStamp" value="8" />
270
+ </line-breakpoint>
271
+ <line-breakpoint enabled="true" type="javascript">
272
+ <url>file://$PROJECT_DIR$/__tests__/MorphUtils.test.js</url>
273
+ <line>159</line>
274
+ <properties lambdaOrdinal="-1" />
275
+ <option name="timeStamp" value="10" />
276
+ </line-breakpoint>
277
+ </breakpoints>
278
+ </breakpoint-manager>
279
+ </component>
230
280
  </project>
@@ -248,6 +248,13 @@ var morphCodeLocalizationMapSrGrk = exports.morphCodeLocalizationMapSrGrk = {
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",
3
+ "version": "1.0.2-alpha",
4
4
  "description": "A library for handling word alignment",
5
5
  "main": "lib/index.js",
6
6
  "scripts": {
@@ -242,6 +242,13 @@ export const morphCodeLocalizationMapSrGrk = {
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',