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.
Files changed (54) hide show
  1. {paralex-2.3.0 → paralex-2.3.2}/PKG-INFO +1 -1
  2. {paralex-2.3.0 → paralex-2.3.2}/paralex/__init__.py +1 -1
  3. {paralex-2.3.0 → paralex-2.3.2}/paralex/docs/changelog.md +6 -1
  4. {paralex-2.3.0 → paralex-2.3.2}/paralex/docs/index.md +1 -1
  5. {paralex-2.3.0 → paralex-2.3.2}/paralex/docs/specs.md +1 -1
  6. {paralex-2.3.0 → paralex-2.3.2}/paralex/meta.py +13 -0
  7. {paralex-2.3.0 → paralex-2.3.2}/paralex/standard/paralex.package.json +1 -1
  8. {paralex-2.3.0 → paralex-2.3.2}/paralex/validate.py +2 -0
  9. {paralex-2.3.0 → paralex-2.3.2}/paralex.egg-info/PKG-INFO +1 -1
  10. {paralex-2.3.0 → paralex-2.3.2}/README.md +0 -0
  11. {paralex-2.3.0 → paralex-2.3.2}/paralex/docs/advanced-metadata.md +0 -0
  12. {paralex-2.3.0 → paralex-2.3.2}/paralex/docs/css/extra.css +0 -0
  13. {paralex-2.3.0 → paralex-2.3.2}/paralex/docs/datasets.md +0 -0
  14. {paralex-2.3.0 → paralex-2.3.2}/paralex/docs/examples.md +0 -0
  15. {paralex-2.3.0 → paralex-2.3.2}/paralex/docs/faq.md +0 -0
  16. {paralex-2.3.0 → paralex-2.3.2}/paralex/docs/graph-paralex.png +0 -0
  17. {paralex-2.3.0 → paralex-2.3.2}/paralex/docs/known-datasets.csv +0 -0
  18. {paralex-2.3.0 → paralex-2.3.2}/paralex/docs/language_stats.csv +0 -0
  19. {paralex-2.3.0 → paralex-2.3.2}/paralex/docs/long-form.md +0 -0
  20. {paralex-2.3.0 → paralex-2.3.2}/paralex/docs/mapframe.html +0 -0
  21. {paralex-2.3.0 → paralex-2.3.2}/paralex/docs/metadata.md +0 -0
  22. {paralex-2.3.0 → paralex-2.3.2}/paralex/docs/owl2html.xsl +0 -0
  23. {paralex-2.3.0 → paralex-2.3.2}/paralex/docs/paralex.png +0 -0
  24. {paralex-2.3.0 → paralex-2.3.2}/paralex/docs/paralex_blk.png +0 -0
  25. {paralex-2.3.0 → paralex-2.3.2}/paralex/docs/paralex_ontology.xml +0 -0
  26. {paralex-2.3.0 → paralex-2.3.2}/paralex/docs/principles.md +0 -0
  27. {paralex-2.3.0 → paralex-2.3.2}/paralex/docs/result.geojson +0 -0
  28. {paralex-2.3.0 → paralex-2.3.2}/paralex/docs/specs.md.orig +0 -0
  29. {paralex-2.3.0 → paralex-2.3.2}/paralex/docs/specs.pdf +0 -0
  30. {paralex-2.3.0 → paralex-2.3.2}/paralex/docs/specs.tex +0 -0
  31. {paralex-2.3.0 → paralex-2.3.2}/paralex/docs/standard.md +0 -0
  32. {paralex-2.3.0 → paralex-2.3.2}/paralex/docs/tutorial.md +0 -0
  33. {paralex-2.3.0 → paralex-2.3.2}/paralex/explorer.py +0 -0
  34. {paralex-2.3.0 → paralex-2.3.2}/paralex/gendoc.py +0 -0
  35. {paralex-2.3.0 → paralex-2.3.2}/paralex/main.py +0 -0
  36. {paralex-2.3.0 → paralex-2.3.2}/paralex/markdown.py +0 -0
  37. {paralex-2.3.0 → paralex-2.3.2}/paralex/paths.py +0 -0
  38. {paralex-2.3.0 → paralex-2.3.2}/paralex/standard/columns_spec.json +0 -0
  39. {paralex-2.3.0 → paralex-2.3.2}/paralex/standard/data_sheet.md +0 -0
  40. {paralex-2.3.0 → paralex-2.3.2}/paralex/standard/files_spec.json +0 -0
  41. {paralex-2.3.0 → paralex-2.3.2}/paralex/standard/package_spec.json +0 -0
  42. {paralex-2.3.0 → paralex-2.3.2}/paralex/strategies.py +0 -0
  43. {paralex-2.3.0 → paralex-2.3.2}/paralex/templates/__init__.py +0 -0
  44. {paralex-2.3.0 → paralex-2.3.2}/paralex/templates/field.md +0 -0
  45. {paralex-2.3.0 → paralex-2.3.2}/paralex/templates/package.md +0 -0
  46. {paralex-2.3.0 → paralex-2.3.2}/paralex/templates/resource.md +0 -0
  47. {paralex-2.3.0 → paralex-2.3.2}/paralex/utils.py +0 -0
  48. {paralex-2.3.0 → paralex-2.3.2}/paralex.egg-info/SOURCES.txt +0 -0
  49. {paralex-2.3.0 → paralex-2.3.2}/paralex.egg-info/dependency_links.txt +0 -0
  50. {paralex-2.3.0 → paralex-2.3.2}/paralex.egg-info/entry_points.txt +0 -0
  51. {paralex-2.3.0 → paralex-2.3.2}/paralex.egg-info/requires.txt +0 -0
  52. {paralex-2.3.0 → paralex-2.3.2}/paralex.egg-info/top_level.txt +0 -0
  53. {paralex-2.3.0 → paralex-2.3.2}/setup.cfg +0 -0
  54. {paralex-2.3.0 → paralex-2.3.2}/setup.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: paralex
3
- Version: 2.3.0
3
+ Version: 2.3.2
4
4
  Summary: Standard for lexicons of inflected paradigms
5
5
  Author: Sacha Beniamine
6
6
  Classifier: Operating System :: OS Independent
@@ -1,4 +1,4 @@
1
- VERSION = "2.3.0"
1
+ VERSION = "2.3.2"
2
2
 
3
3
  from .paths import templates_path, standard_path, docs_path
4
4
  from .meta import paralex_factory
@@ -1,10 +1,15 @@
1
- ## Version 3.2
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
 
@@ -41,7 +41,7 @@ was generated automatically.
41
41
  - [9]
42
42
  - `title` Helen Sims-Williams
43
43
  - `role` contributor
44
- - `version` 2.3.0
44
+ - `version` 2.3.2
45
45
  - `languages_iso639` []
46
46
  - `pos` []
47
47
 
@@ -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.
@@ -54,7 +54,7 @@
54
54
  "morphology",
55
55
  "paradigms"
56
56
  ],
57
- "version": "2.3.0",
57
+ "version": "2.3.2",
58
58
  "resources": [
59
59
  {
60
60
  "name": "forms",
@@ -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
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: paralex
3
- Version: 2.3.0
3
+ Version: 2.3.2
4
4
  Summary: Standard for lexicons of inflected paradigms
5
5
  Author: Sacha Beniamine
6
6
  Classifier: Operating System :: OS Independent
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