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

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,8 +4,14 @@
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="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" />
8
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" />
9
15
  </list>
10
16
  <option name="SHOW_DIALOG" value="false" />
11
17
  <option name="HIGHLIGHT_CONFLICTS" value="true" />
@@ -43,7 +49,7 @@
43
49
  "keyToString": {
44
50
  "Git.Branch.Popup.ShowAllRemotes": "true",
45
51
  "WebServerToolWindowFactoryState": "false",
46
- "last_opened_file_path": "/Users/blm/Development/Electron/word-aligner",
52
+ "last_opened_file_path": "/Users/blm/Development/Electron/word-aligner/__tests__/fixtures/SR",
47
53
  "node.js.detected.package.eslint": "true",
48
54
  "node.js.selected.package.eslint": "(autodetect)",
49
55
  "nodejs.jest.jest_package": "/Users/blm/Development/Electron/word-aligner/node_modules/jest",
@@ -53,6 +59,11 @@
53
59
  <component name="PyCoverageOptionsProvider">
54
60
  <option name="myUseBundledCoveragePy" value="true" />
55
61
  </component>
62
+ <component name="RecentsManager">
63
+ <key name="CopyFile.RECENT_KEYS">
64
+ <recent name="$PROJECT_DIR$/__tests__/fixtures/SR" />
65
+ </key>
66
+ </component>
56
67
  <component name="RunManager" selected="Jest.MorphUtils tests.Greek">
57
68
  <configuration default="true" type="Applet" factoryName="Applet">
58
69
  <option name="WIDTH" value="400" />
@@ -197,7 +208,7 @@
197
208
  <workItem from="1669944724896" duration="599000" />
198
209
  <workItem from="1670113884923" duration="599000" />
199
210
  <workItem from="1670186707404" duration="587000" />
200
- <workItem from="1672950758072" duration="10654000" />
211
+ <workItem from="1672950758072" duration="14050000" />
201
212
  </task>
202
213
  <task id="LOCAL-00001" summary="Added support for new SR morph format">
203
214
  <created>1672962554084</created>
@@ -220,6 +220,9 @@ var morphCodeLocalizationMapSrGrk = exports.morphCodeLocalizationMapSrGrk = {
220
220
  key: 'adjective',
221
221
  4: formNADX
222
222
  },
223
+ S: {
224
+ key: 'substantive_adjective'
225
+ },
223
226
  V: {
224
227
  key: 'verb',
225
228
  4: formVI
@@ -238,9 +241,13 @@ var morphCodeLocalizationMapSrGrk = exports.morphCodeLocalizationMapSrGrk = {
238
241
  key: 'interjection',
239
242
  4: formVI
240
243
  },
241
- X: {
244
+ E: {
242
245
  key: 'determiner', // new
243
246
  4: formNADX
247
+ },
248
+ X: {
249
+ key: 'extraneous', // new
250
+ 4: formNADX
244
251
  }
245
252
  },
246
253
  5: { // Tense
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "word-aligner",
3
- "version": "1.0.1-alpha",
3
+ "version": "1.0.1-alpha.2",
4
4
  "description": "A library for handling word alignment",
5
5
  "main": "lib/index.js",
6
6
  "scripts": {
@@ -213,6 +213,9 @@ export const morphCodeLocalizationMapSrGrk = {
213
213
  key: 'adjective',
214
214
  4: formNADX,
215
215
  },
216
+ S: {
217
+ key: 'substantive_adjective'
218
+ },
216
219
  V: {
217
220
  key: 'verb',
218
221
  4: formVI,
@@ -231,10 +234,14 @@ export const morphCodeLocalizationMapSrGrk = {
231
234
  key: 'interjection',
232
235
  4: formVI,
233
236
  },
234
- X: {
237
+ E: {
235
238
  key: 'determiner', // new
236
239
  4: formNADX,
237
240
  },
241
+ X: {
242
+ key: 'extraneous', // new
243
+ 4: formNADX,
244
+ },
238
245
  },
239
246
  5: { // Tense
240
247
  P: 'present',