word-aligner 1.0.2-alpha → 1.0.3-beta
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/.idea/misc.xml +0 -1
- package/package.json +5 -5
- package/.idea/workspace.xml +0 -280
package/.idea/misc.xml
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "word-aligner",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.3-beta",
|
|
4
4
|
"description": "A library for handling word alignment",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -51,18 +51,18 @@
|
|
|
51
51
|
"eslint": "^5.12.1",
|
|
52
52
|
"eslint-config-google": "^0.12.0",
|
|
53
53
|
"eslint-plugin-jest": "^22.1.3",
|
|
54
|
+
"fs-extra": "6.0.1",
|
|
54
55
|
"json-stringify-safe": "5.0.1",
|
|
55
56
|
"jest": "^23.6.0",
|
|
56
57
|
"ospath": "1.2.2",
|
|
58
|
+
"path": "0.12.7",
|
|
59
|
+
"path-extra": "^4.2.1",
|
|
60
|
+
"rimraf": "^2.6.2",
|
|
57
61
|
"usfm-js": "2.1.0"
|
|
58
62
|
},
|
|
59
63
|
"dependencies": {
|
|
60
64
|
"babel-runtime": "^6.26.0",
|
|
61
|
-
"fs-extra": "6.0.1",
|
|
62
65
|
"lodash": "^4.17.11",
|
|
63
|
-
"path": "0.12.7",
|
|
64
|
-
"path-extra": "^4.2.1",
|
|
65
|
-
"rimraf": "^2.6.2",
|
|
66
66
|
"string-punctuation-tokenizer": "2.0.0",
|
|
67
67
|
"transform-runtime": "0.0.0"
|
|
68
68
|
}
|
package/.idea/workspace.xml
DELETED
|
@@ -1,280 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<project version="4">
|
|
3
|
-
<component name="AutoImportSettings">
|
|
4
|
-
<option name="autoReloadType" value="ALL" />
|
|
5
|
-
</component>
|
|
6
|
-
<component name="ChangeListManager">
|
|
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>
|
|
11
|
-
<option name="SHOW_DIALOG" value="false" />
|
|
12
|
-
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
|
13
|
-
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
|
|
14
|
-
<option name="LAST_RESOLUTION" value="IGNORE" />
|
|
15
|
-
</component>
|
|
16
|
-
<component name="ComposerSettings">
|
|
17
|
-
<execution />
|
|
18
|
-
</component>
|
|
19
|
-
<component name="Git.Settings">
|
|
20
|
-
<option name="RECENT_BRANCH_BY_REPOSITORY">
|
|
21
|
-
<map>
|
|
22
|
-
<entry key="$PROJECT_DIR$" value="develop" />
|
|
23
|
-
</map>
|
|
24
|
-
</option>
|
|
25
|
-
<option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
|
|
26
|
-
</component>
|
|
27
|
-
<component name="GithubProjectSettings">
|
|
28
|
-
<option name="branchProtectionPatterns">
|
|
29
|
-
<list>
|
|
30
|
-
<option value="develop" />
|
|
31
|
-
<option value="master" />
|
|
32
|
-
</list>
|
|
33
|
-
</option>
|
|
34
|
-
</component>
|
|
35
|
-
<component name="MarkdownSettingsMigration">
|
|
36
|
-
<option name="stateVersion" value="1" />
|
|
37
|
-
</component>
|
|
38
|
-
<component name="ProjectId" id="1lYS6RA6wMLDN0hx29OTPOVl0gg" />
|
|
39
|
-
<component name="ProjectViewState">
|
|
40
|
-
<option name="showLibraryContents" value="true" />
|
|
41
|
-
<option name="showMembers" value="true" />
|
|
42
|
-
</component>
|
|
43
|
-
<component name="PropertiesComponent"><![CDATA[{
|
|
44
|
-
"keyToString": {
|
|
45
|
-
"Git.Branch.Popup.ShowAllRemotes": "true",
|
|
46
|
-
"WebServerToolWindowFactoryState": "false",
|
|
47
|
-
"last_opened_file_path": "/Users/blm/translationCore/resources/el-x-koine/bibles/ugnt/v0.35-SR_photonomad0",
|
|
48
|
-
"node.js.detected.package.eslint": "true",
|
|
49
|
-
"node.js.selected.package.eslint": "(autodetect)",
|
|
50
|
-
"nodejs.jest.jest_package": "/Users/blm/Development/Electron/word-aligner/node_modules/jest",
|
|
51
|
-
"nodejs_package_manager_path": "npm"
|
|
52
|
-
}
|
|
53
|
-
}]]></component>
|
|
54
|
-
<component name="PyCoverageOptionsProvider">
|
|
55
|
-
<option name="myUseBundledCoveragePy" value="true" />
|
|
56
|
-
</component>
|
|
57
|
-
<component name="RecentsManager">
|
|
58
|
-
<key name="CopyFile.RECENT_KEYS">
|
|
59
|
-
<recent name="$PROJECT_DIR$/__tests__/fixtures/SR" />
|
|
60
|
-
</key>
|
|
61
|
-
<key name="MoveFile.RECENT_KEYS">
|
|
62
|
-
<recent name="$PROJECT_DIR$/__tests__/fixtures/morphs/SR" />
|
|
63
|
-
</key>
|
|
64
|
-
</component>
|
|
65
|
-
<component name="RunManager" selected="Jest.MorphUtils tests.Greek.Test MorphUtils.getMorphLocalizationKeys() - test SR Οὐκ">
|
|
66
|
-
<configuration default="true" type="Applet" factoryName="Applet">
|
|
67
|
-
<option name="WIDTH" value="400" />
|
|
68
|
-
<option name="HEIGHT" value="300" />
|
|
69
|
-
<option name="POLICY_FILE" value="$APPLICATION_HOME_DIR$/bin/appletviewer.policy" />
|
|
70
|
-
<module />
|
|
71
|
-
<method />
|
|
72
|
-
</configuration>
|
|
73
|
-
<configuration default="true" type="Application" factoryName="Application">
|
|
74
|
-
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$" />
|
|
75
|
-
<method v="2">
|
|
76
|
-
<option name="Make" enabled="true" />
|
|
77
|
-
</method>
|
|
78
|
-
</configuration>
|
|
79
|
-
<configuration default="true" type="JUnit" factoryName="JUnit">
|
|
80
|
-
<option name="TEST_OBJECT" value="class" />
|
|
81
|
-
<option name="WORKING_DIRECTORY" value="$MODULE_DIR$" />
|
|
82
|
-
<method v="2">
|
|
83
|
-
<option name="Make" enabled="true" />
|
|
84
|
-
</method>
|
|
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>
|
|
99
|
-
<configuration name="MorphUtils tests.Greek" type="JavaScriptTestRunnerJest" temporary="true" nameIsGenerated="true">
|
|
100
|
-
<node-interpreter value="project" />
|
|
101
|
-
<node-options value="" />
|
|
102
|
-
<jest-package value="$PROJECT_DIR$/node_modules/jest" />
|
|
103
|
-
<working-dir value="$PROJECT_DIR$" />
|
|
104
|
-
<envs />
|
|
105
|
-
<scope-kind value="SUITE" />
|
|
106
|
-
<test-file value="$PROJECT_DIR$/__tests__/MorphUtils.test.js" />
|
|
107
|
-
<test-names>
|
|
108
|
-
<test-name value="MorphUtils tests" />
|
|
109
|
-
<test-name value="Greek" />
|
|
110
|
-
</test-names>
|
|
111
|
-
<method v="2" />
|
|
112
|
-
</configuration>
|
|
113
|
-
<configuration name="MorphUtils tests.Greek.Test MorphUtils.getMorphLocalizationKeys() - test SR Οὐκ" type="JavaScriptTestRunnerJest" temporary="true" nameIsGenerated="true">
|
|
114
|
-
<node-interpreter value="project" />
|
|
115
|
-
<node-options value="" />
|
|
116
|
-
<jest-package value="$PROJECT_DIR$/node_modules/jest" />
|
|
117
|
-
<working-dir value="$PROJECT_DIR$" />
|
|
118
|
-
<envs />
|
|
119
|
-
<scope-kind value="TEST" />
|
|
120
|
-
<test-file value="$PROJECT_DIR$/__tests__/MorphUtils.test.js" />
|
|
121
|
-
<test-names>
|
|
122
|
-
<test-name value="MorphUtils tests" />
|
|
123
|
-
<test-name value="Greek" />
|
|
124
|
-
<test-name value="Test MorphUtils.getMorphLocalizationKeys() - test SR Οὐκ" />
|
|
125
|
-
</test-names>
|
|
126
|
-
<method v="2" />
|
|
127
|
-
</configuration>
|
|
128
|
-
<configuration name="MorphUtils tests.Greek.Test MorphUtils.getMorphLocalizationKeys() - test ἐπιδιορθώσῃ" type="JavaScriptTestRunnerJest" temporary="true" nameIsGenerated="true">
|
|
129
|
-
<node-interpreter value="project" />
|
|
130
|
-
<node-options value="" />
|
|
131
|
-
<jest-package value="$PROJECT_DIR$/node_modules/jest" />
|
|
132
|
-
<working-dir value="$PROJECT_DIR$" />
|
|
133
|
-
<envs />
|
|
134
|
-
<scope-kind value="TEST" />
|
|
135
|
-
<test-file value="$PROJECT_DIR$/__tests__/MorphUtils.test.js" />
|
|
136
|
-
<test-names>
|
|
137
|
-
<test-name value="MorphUtils tests" />
|
|
138
|
-
<test-name value="Greek" />
|
|
139
|
-
<test-name value="Test MorphUtils.getMorphLocalizationKeys() - test ἐπιδιορθώσῃ" />
|
|
140
|
-
</test-names>
|
|
141
|
-
<method v="2" />
|
|
142
|
-
</configuration>
|
|
143
|
-
<configuration name="MorphUtils tests.test whole book" type="JavaScriptTestRunnerJest" temporary="true" nameIsGenerated="true">
|
|
144
|
-
<node-interpreter value="project" />
|
|
145
|
-
<node-options value="" />
|
|
146
|
-
<jest-package value="$PROJECT_DIR$/node_modules/jest" />
|
|
147
|
-
<working-dir value="$PROJECT_DIR$" />
|
|
148
|
-
<envs />
|
|
149
|
-
<scope-kind value="TEST" />
|
|
150
|
-
<test-file value="$PROJECT_DIR$/__tests__/MorphUtils.test.js" />
|
|
151
|
-
<test-names>
|
|
152
|
-
<test-name value="MorphUtils tests" />
|
|
153
|
-
<test-name value="test whole book" />
|
|
154
|
-
</test-names>
|
|
155
|
-
<method v="2" />
|
|
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>
|
|
167
|
-
<configuration default="true" type="TestNG">
|
|
168
|
-
<option name="TEST_OBJECT" value="CLASS" />
|
|
169
|
-
<option name="WORKING_DIRECTORY" value="$MODULE_DIR$" />
|
|
170
|
-
<properties />
|
|
171
|
-
<listeners />
|
|
172
|
-
<method v="2">
|
|
173
|
-
<option name="Make" enabled="true" />
|
|
174
|
-
</method>
|
|
175
|
-
</configuration>
|
|
176
|
-
<configuration default="true" type="#org.jetbrains.idea.devkit.run.PluginConfigurationType">
|
|
177
|
-
<module name="" />
|
|
178
|
-
<option name="VM_PARAMETERS" value="-Xmx512m -Xms256m -XX:MaxPermSize=250m -ea" />
|
|
179
|
-
<option name="PROGRAM_PARAMETERS" />
|
|
180
|
-
<predefined_log_file enabled="true" id="idea.log" />
|
|
181
|
-
<method v="2">
|
|
182
|
-
<option name="Make" enabled="true" />
|
|
183
|
-
</method>
|
|
184
|
-
</configuration>
|
|
185
|
-
<recent_temporary>
|
|
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" />
|
|
191
|
-
<item itemvalue="Jest.MorphUtils tests.Greek" />
|
|
192
|
-
</list>
|
|
193
|
-
</recent_temporary>
|
|
194
|
-
</component>
|
|
195
|
-
<component name="SpellCheckerSettings" RuntimeDictionaries="0" Folders="0" CustomDictionaries="0" DefaultDictionary="application-level" UseSingleDictionary="true" transferred="true" />
|
|
196
|
-
<component name="TaskManager">
|
|
197
|
-
<task active="true" id="Default" summary="Default task">
|
|
198
|
-
<changelist id="0557423a-f59a-40db-af07-9e6f26fd3bd6" name="Default Changelist" comment="" />
|
|
199
|
-
<created>1607772356243</created>
|
|
200
|
-
<option name="number" value="Default" />
|
|
201
|
-
<option name="presentableId" value="Default" />
|
|
202
|
-
<updated>1607772356243</updated>
|
|
203
|
-
<workItem from="1607772357632" duration="829000" />
|
|
204
|
-
<workItem from="1607818082198" duration="1689000" />
|
|
205
|
-
<workItem from="1607853465330" duration="2024000" />
|
|
206
|
-
<workItem from="1607894197915" duration="602000" />
|
|
207
|
-
<workItem from="1634297398636" duration="1368000" />
|
|
208
|
-
<workItem from="1634548519554" duration="1242000" />
|
|
209
|
-
<workItem from="1669227932079" duration="750000" />
|
|
210
|
-
<workItem from="1669842210403" duration="588000" />
|
|
211
|
-
<workItem from="1669851149700" duration="587000" />
|
|
212
|
-
<workItem from="1669904980177" duration="2458000" />
|
|
213
|
-
<workItem from="1669944724896" duration="599000" />
|
|
214
|
-
<workItem from="1670113884923" duration="599000" />
|
|
215
|
-
<workItem from="1670186707404" duration="587000" />
|
|
216
|
-
<workItem from="1672950758072" duration="18262000" />
|
|
217
|
-
<workItem from="1673270950468" duration="599000" />
|
|
218
|
-
<workItem from="1675266715594" duration="4013000" />
|
|
219
|
-
</task>
|
|
220
|
-
<task id="LOCAL-00001" summary="Added support for new SR morph format">
|
|
221
|
-
<created>1672962554084</created>
|
|
222
|
-
<option name="number" value="00001" />
|
|
223
|
-
<option name="presentableId" value="LOCAL-00001" />
|
|
224
|
-
<option name="project" value="LOCAL" />
|
|
225
|
-
<updated>1672962554084</updated>
|
|
226
|
-
</task>
|
|
227
|
-
<task id="LOCAL-00002" summary="Added support for new SR morph format">
|
|
228
|
-
<created>1672963360800</created>
|
|
229
|
-
<option name="number" value="00002" />
|
|
230
|
-
<option name="presentableId" value="LOCAL-00002" />
|
|
231
|
-
<option name="project" value="LOCAL" />
|
|
232
|
-
<updated>1672963360800</updated>
|
|
233
|
-
</task>
|
|
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" />
|
|
242
|
-
<servers />
|
|
243
|
-
</component>
|
|
244
|
-
<component name="TypeScriptGeneratedFilesManager">
|
|
245
|
-
<option name="version" value="3" />
|
|
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>
|
|
258
|
-
<component name="VcsManagerConfiguration">
|
|
259
|
-
<MESSAGE value="Added support for new SR morph format" />
|
|
260
|
-
<option name="LAST_COMMIT_MESSAGE" value="Added support for new SR morph format" />
|
|
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>
|
|
280
|
-
</project>
|