paralex 2.3.0__tar.gz → 2.3.2__tar.gz
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.
- {paralex-2.3.0 → paralex-2.3.2}/PKG-INFO +1 -1
- {paralex-2.3.0 → paralex-2.3.2}/paralex/__init__.py +1 -1
- {paralex-2.3.0 → paralex-2.3.2}/paralex/docs/changelog.md +6 -1
- {paralex-2.3.0 → paralex-2.3.2}/paralex/docs/index.md +1 -1
- {paralex-2.3.0 → paralex-2.3.2}/paralex/docs/specs.md +1 -1
- {paralex-2.3.0 → paralex-2.3.2}/paralex/meta.py +13 -0
- {paralex-2.3.0 → paralex-2.3.2}/paralex/standard/paralex.package.json +1 -1
- {paralex-2.3.0 → paralex-2.3.2}/paralex/validate.py +2 -0
- {paralex-2.3.0 → paralex-2.3.2}/paralex.egg-info/PKG-INFO +1 -1
- {paralex-2.3.0 → paralex-2.3.2}/README.md +0 -0
- {paralex-2.3.0 → paralex-2.3.2}/paralex/docs/advanced-metadata.md +0 -0
- {paralex-2.3.0 → paralex-2.3.2}/paralex/docs/css/extra.css +0 -0
- {paralex-2.3.0 → paralex-2.3.2}/paralex/docs/datasets.md +0 -0
- {paralex-2.3.0 → paralex-2.3.2}/paralex/docs/examples.md +0 -0
- {paralex-2.3.0 → paralex-2.3.2}/paralex/docs/faq.md +0 -0
- {paralex-2.3.0 → paralex-2.3.2}/paralex/docs/graph-paralex.png +0 -0
- {paralex-2.3.0 → paralex-2.3.2}/paralex/docs/known-datasets.csv +0 -0
- {paralex-2.3.0 → paralex-2.3.2}/paralex/docs/language_stats.csv +0 -0
- {paralex-2.3.0 → paralex-2.3.2}/paralex/docs/long-form.md +0 -0
- {paralex-2.3.0 → paralex-2.3.2}/paralex/docs/mapframe.html +0 -0
- {paralex-2.3.0 → paralex-2.3.2}/paralex/docs/metadata.md +0 -0
- {paralex-2.3.0 → paralex-2.3.2}/paralex/docs/owl2html.xsl +0 -0
- {paralex-2.3.0 → paralex-2.3.2}/paralex/docs/paralex.png +0 -0
- {paralex-2.3.0 → paralex-2.3.2}/paralex/docs/paralex_blk.png +0 -0
- {paralex-2.3.0 → paralex-2.3.2}/paralex/docs/paralex_ontology.xml +0 -0
- {paralex-2.3.0 → paralex-2.3.2}/paralex/docs/principles.md +0 -0
- {paralex-2.3.0 → paralex-2.3.2}/paralex/docs/result.geojson +0 -0
- {paralex-2.3.0 → paralex-2.3.2}/paralex/docs/specs.md.orig +0 -0
- {paralex-2.3.0 → paralex-2.3.2}/paralex/docs/specs.pdf +0 -0
- {paralex-2.3.0 → paralex-2.3.2}/paralex/docs/specs.tex +0 -0
- {paralex-2.3.0 → paralex-2.3.2}/paralex/docs/standard.md +0 -0
- {paralex-2.3.0 → paralex-2.3.2}/paralex/docs/tutorial.md +0 -0
- {paralex-2.3.0 → paralex-2.3.2}/paralex/explorer.py +0 -0
- {paralex-2.3.0 → paralex-2.3.2}/paralex/gendoc.py +0 -0
- {paralex-2.3.0 → paralex-2.3.2}/paralex/main.py +0 -0
- {paralex-2.3.0 → paralex-2.3.2}/paralex/markdown.py +0 -0
- {paralex-2.3.0 → paralex-2.3.2}/paralex/paths.py +0 -0
- {paralex-2.3.0 → paralex-2.3.2}/paralex/standard/columns_spec.json +0 -0
- {paralex-2.3.0 → paralex-2.3.2}/paralex/standard/data_sheet.md +0 -0
- {paralex-2.3.0 → paralex-2.3.2}/paralex/standard/files_spec.json +0 -0
- {paralex-2.3.0 → paralex-2.3.2}/paralex/standard/package_spec.json +0 -0
- {paralex-2.3.0 → paralex-2.3.2}/paralex/strategies.py +0 -0
- {paralex-2.3.0 → paralex-2.3.2}/paralex/templates/__init__.py +0 -0
- {paralex-2.3.0 → paralex-2.3.2}/paralex/templates/field.md +0 -0
- {paralex-2.3.0 → paralex-2.3.2}/paralex/templates/package.md +0 -0
- {paralex-2.3.0 → paralex-2.3.2}/paralex/templates/resource.md +0 -0
- {paralex-2.3.0 → paralex-2.3.2}/paralex/utils.py +0 -0
- {paralex-2.3.0 → paralex-2.3.2}/paralex.egg-info/SOURCES.txt +0 -0
- {paralex-2.3.0 → paralex-2.3.2}/paralex.egg-info/dependency_links.txt +0 -0
- {paralex-2.3.0 → paralex-2.3.2}/paralex.egg-info/entry_points.txt +0 -0
- {paralex-2.3.0 → paralex-2.3.2}/paralex.egg-info/requires.txt +0 -0
- {paralex-2.3.0 → paralex-2.3.2}/paralex.egg-info/top_level.txt +0 -0
- {paralex-2.3.0 → paralex-2.3.2}/setup.cfg +0 -0
- {paralex-2.3.0 → paralex-2.3.2}/setup.py +0 -0
|
@@ -1,10 +1,15 @@
|
|
|
1
|
-
## Version 3
|
|
1
|
+
## Version 2.3
|
|
2
2
|
|
|
3
3
|
### Added
|
|
4
4
|
|
|
5
5
|
- Support for a `pos` keyword (**SHOULD**).
|
|
6
6
|
- Possibility to set more than one POS for cells and features-values using ';' separated values..
|
|
7
7
|
|
|
8
|
+
### Hotfix
|
|
9
|
+
|
|
10
|
+
- 2.3.1: relax requirements for the frequencies table.
|
|
11
|
+
- 2.3.2: temporary fix for foreign keys deleted by the frequencies table ([#42](https://gitlab.com/sbeniamine/paralex/-/work_items/42))
|
|
12
|
+
|
|
8
13
|
## Version 2.2
|
|
9
14
|
|
|
10
15
|
### Removed
|
|
@@ -28,5 +28,5 @@ then convert the result into the standardized structure for publishing and shari
|
|
|
28
28
|
|
|
29
29
|
<iframe src="mapframe.html" height="650" width="100%" marginheight="0" frameborder="0" border="0"></iframe>
|
|
30
30
|
|
|
31
|
-
**Contributors to the standard:** Sacha Beniamine, Cormac Anderson, Mae Carroll, Borja Herce, Matías Guzmán Naranjo, Matteo Pellegrini, Erich Round, Helen Sims-Williams.
|
|
31
|
+
**Contributors to the standard include:** Sacha Beniamine, Jules Bouton, Cormac Anderson, Mae Carroll, Borja Herce, Matías Guzmán Naranjo, Matteo Pellegrini, Erich Round, Helen Sims-Williams.
|
|
32
32
|
|
|
@@ -284,7 +284,20 @@ def paralex_factory(title, files=None, tables=None, **kwargs):
|
|
|
284
284
|
constraints = cell_id.constraints
|
|
285
285
|
constraints["pattern"] = _to_pattern(features, sep=r"\.")
|
|
286
286
|
|
|
287
|
+
# BEGIN HACK (1) to fix #42
|
|
288
|
+
# TODO: fix upstream (frictionless-py) and remove
|
|
289
|
+
if p.has_resource('frequencies'):
|
|
290
|
+
forms_fk = p.get_resource('forms').schema.foreign_keys
|
|
291
|
+
# END
|
|
292
|
+
|
|
287
293
|
p.infer()
|
|
294
|
+
|
|
295
|
+
# BEGIN HACK (2) to fix #42
|
|
296
|
+
if p.has_resource('frequencies'):
|
|
297
|
+
forms = p.get_resource('forms')
|
|
298
|
+
forms.schema.foreign_keys = forms_fk
|
|
299
|
+
# END
|
|
300
|
+
|
|
288
301
|
p.custom["paralex-version"] = VERSION
|
|
289
302
|
|
|
290
303
|
# Find information about POS.
|
|
@@ -185,6 +185,8 @@ class ParalexValidator(object):
|
|
|
185
185
|
suggestion = "Re-generate metadata using the paralex package"
|
|
186
186
|
invalid_keys = []
|
|
187
187
|
for table_name in self.resource_types['table']:
|
|
188
|
+
if table_name == "frequencies": # Don't check for frequencies, schema can be very variable and is not fixed.
|
|
189
|
+
continue
|
|
188
190
|
table = self.p.get_resource(table_name)
|
|
189
191
|
table_def = paralex.get_resource(table_name)
|
|
190
192
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|