Skip to content

Commit

Permalink
Update form spec
Browse files Browse the repository at this point in the history
  • Loading branch information
chrzyki committed Oct 25, 2021
1 parent 79f9387 commit 375e989
Show file tree
Hide file tree
Showing 9 changed files with 1,168 additions and 1,198 deletions.
4 changes: 2 additions & 2 deletions FORMS.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ These methods use the attributes of a `FormSpec` instance to configure their beh

- `brackets`: `{'(': ')'}`
Pairs of strings that should be recognized as brackets, specified as `dict` mapping opening string to closing string
- `separators`: `;/,`
- `separators`: `(';', '/', ',')`
Iterable of single character tokens that should be recognized as word separator
- `missing_data`: `('?', '-')`
Iterable of strings that are used to mark missing data
- `strip_inside_brackets`: `False`
- `strip_inside_brackets`: `True`
Flag signaling whether to strip content in brackets (**and** strip leading and trailing whitespace)
- `replacements`: `[]`
List of pairs (`source`, `target`) used to replace occurrences of `source` in formswith `target` (before stripping content in brackets)
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ This dataset is licensed under a CC-BY-4.0 license

- **Varieties:** 2,215
- **Concepts:** 168
- **Lexemes:** 30,371
- **Lexemes:** 30,345
- **Sources:** 322
- **Synonymy:** 1.09

Expand All @@ -42,7 +42,7 @@ This dataset is licensed under a CC-BY-4.0 license

Name | GitHub user | Description |Role
--- | --- | --- | ---
Russell Barlow | @barlowrussell |compiler, editor | Author
Russell Barlow | @barlowrussell | compiler, editor | Author
Christoph Rzymski | @chrzyki | patron, maintainer | Other


Expand All @@ -52,4 +52,4 @@ Christoph Rzymski | @chrzyki | patron, maintainer | Other

The following CLDF datasets are available in [cldf](cldf):

- CLDF [Wordlist](https://github.com/cldf/cldf/tree/master/modules/Wordlist) at [cldf/cldf-metadata.json](cldf/cldf-metadata.json)
- CLDF [Wordlist](https://github.com/cldf/cldf/tree/master/modules/Wordlist) at [cldf/cldf-metadata.json](cldf/cldf-metadata.json)
6 changes: 3 additions & 3 deletions cldf/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ property | value
[dc:conformsTo](http://purl.org/dc/terms/conformsTo) | [CLDF Wordlist](http://cldf.clld.org/v1.0/terms.rdf#Wordlist)
[dc:license](http://purl.org/dc/terms/license) | https://creativecommons.org/licenses/by/4.0/
[dcat:accessURL](http://www.w3.org/ns/dcat#accessURL) | https://github.com/numeralbank/barlowpacific
[prov:wasDerivedFrom](http://www.w3.org/ns/prov#wasDerivedFrom) | <ol><li><a href="https://github.com/numeralbank/barlowpacific/tree/ccd6c14">numeralbank/barlowpacific ccd6c14</a></li><li><a href="https://github.com/glottolog/glottolog/tree/7235e0249f">Glottolog v4.4-36-g7235e0249f</a></li><li><a href="https://github.com/concepticon/concepticon-data/tree/8a7321d">Concepticon v2.5.0-23-g8a7321d</a></li><li><a href="https://github.com/cldf-clts/clts/tree/v2.2.0">CLTS v2.2.0</a></li></ol>
[prov:wasGeneratedBy](http://www.w3.org/ns/prov#wasGeneratedBy) | <ol><li><strong>lingpy-rcParams</strong>: <a href="./lingpy-rcParams.json">lingpy-rcParams.json</a></li><li><strong>python</strong>: 3.8.10</li><li><strong>python-packages</strong>: <a href="./requirements.txt">requirements.txt</a></li></ol>
[prov:wasDerivedFrom](http://www.w3.org/ns/prov#wasDerivedFrom) | <ol><li><a href="https://github.com/numeralbank/barlowpacific/tree/79f9387">numeralbank/barlowpacific 79f9387</a></li><li><a href="https://github.com/glottolog/glottolog/tree/v4.4">Glottolog v4.4</a></li><li><a href="https://github.com/concepticon/concepticon-data/tree/fb4d452">Concepticon v2.5.0-21-gfb4d452</a></li><li><a href="https://github.com/cldf-clts/clts/tree/9fed08c">CLTS v2.1.0-32-g9fed08c</a></li></ol>
[prov:wasGeneratedBy](http://www.w3.org/ns/prov#wasGeneratedBy) | <ol><li><strong>lingpy-rcParams</strong>: <a href="./lingpy-rcParams.json">lingpy-rcParams.json</a></li><li><strong>python</strong>: 3.7.3</li><li><strong>python-packages</strong>: <a href="./requirements.txt">requirements.txt</a></li></ol>
[rdf:ID](http://www.w3.org/1999/02/22-rdf-syntax-ns#ID) | barlowpacific
[rdf:type](http://www.w3.org/1999/02/22-rdf-syntax-ns#type) | http://www.w3.org/ns/dcat#Distribution

Expand All @@ -23,7 +23,7 @@ property | value
property | value
--- | ---
[dc:conformsTo](http://purl.org/dc/terms/conformsTo) | [CLDF FormTable](http://cldf.clld.org/v1.0/terms.rdf#FormTable)
[dc:extent](http://purl.org/dc/terms/extent) | 30371
[dc:extent](http://purl.org/dc/terms/extent) | 30345


### Columns
Expand Down
12 changes: 6 additions & 6 deletions cldf/cldf-metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,25 +13,25 @@
{
"rdf:about": "https://github.com/numeralbank/barlowpacific",
"rdf:type": "prov:Entity",
"dc:created": "ccd6c14",
"dc:created": "79f9387",
"dc:title": "Repository"
},
{
"rdf:about": "https://github.com/glottolog/glottolog",
"rdf:type": "prov:Entity",
"dc:created": "v4.4-36-g7235e0249f",
"dc:created": "v4.4",
"dc:title": "Glottolog"
},
{
"rdf:about": "https://github.com/concepticon/concepticon-data",
"rdf:type": "prov:Entity",
"dc:created": "v2.5.0-23-g8a7321d",
"dc:created": "v2.5.0-21-gfb4d452",
"dc:title": "Concepticon"
},
{
"rdf:about": "https://github.com/cldf-clts/clts",
"rdf:type": "prov:Entity",
"dc:created": "v2.2.0",
"dc:created": "v2.1.0-32-g9fed08c",
"dc:title": "CLTS"
}
],
Expand All @@ -42,7 +42,7 @@
},
{
"dc:title": "python",
"dc:description": "3.8.10"
"dc:description": "3.7.3"
},
{
"dc:title": "python-packages",
Expand All @@ -57,7 +57,7 @@
"tables": [
{
"dc:conformsTo": "http://cldf.clld.org/v1.0/terms.rdf#FormTable",
"dc:extent": 30371,
"dc:extent": 30345,
"tableSchema": {
"columns": [
{
Expand Down
Loading

0 comments on commit 375e989

Please sign in to comment.