Skip to content

Commit

Permalink
formparts<->forms
Browse files Browse the repository at this point in the history
  • Loading branch information
fmatter committed Feb 21, 2024
1 parent 94856dc commit cb5bd67
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 17 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Fixed
* `forms.csv` reference to `formparts.csv`

## [0.0.8] - 2023-11-07

### Added
Expand Down
9 changes: 5 additions & 4 deletions etc/foreignkeys.csv
Original file line number Diff line number Diff line change
Expand Up @@ -10,27 +10,28 @@
"exampleparts","Wordform_ID","wordforms",""
"examples","Text_ID","texts",""
"formparts","Wordform_ID","wordforms",""
"formparts","Form_ID","forms",""
"inflectionalvalues","Category_ID","inflectionalcategories",""
"inflectionalvalues","Gloss_ID","glosses",""
"inflections","Form_ID","forms",""
"inflections","Stem_ID","stems",""
"inflections","Value_ID","inflectionalvalues",""
"inflections","Wordformpart_ID","wordformparts",""
"lexemes","Parameter_ID","ParameterTable",""
"morphemes","Part_Of_Speech","partsofspeech",""
"morphemes","Parameter_ID","ParameterTable",""
"morphemes","Language_ID","LanguageTable",""
"morphemes","Parameter_ID","ParameterTable",""
"morphemes","Part_Of_Speech","partsofspeech",""
"morphs","Language_ID","LanguageTable",""
"morphs","Morpheme_ID","morphemes",""
"morphs","Parameter_ID","ParameterTable",""
"morphs","Part_Of_Speech","partsofspeech",""
"stemparts","Gloss_ID","glosses",""
"stemparts","Morph_ID","morphs",""
"stemparts","Stem_ID","stems",""
"stems","Parameter_ID","ParameterTable",""
"stems","Lexeme_ID","lexemes",""
"stems","Language_ID","LanguageTable",""
"stems","Part_Of_Speech","partsofspeech",""
"stems","Lexeme_ID","lexemes",""
"stems","Parameter_ID","ParameterTable",""
"wordformparts","Wordform_ID","wordforms",""
"wordformparts","Gloss_ID","glosses",""
"wordformparts","Morph_ID","morphs",""
Expand Down
2 changes: 1 addition & 1 deletion src/cldf_ldd/components/formparts/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ An association table between [wordforms](../wordforms) and larger [forms](https:
Name/Property | Datatype | Cardinality | Description
--- | --- | --- | ---
[ID](http://cldf.clld.org/v1.0/terms.rdf#id) | `string` | <div> <p>A unique identifier for a row in a table.</p> <p> To allow usage of identifiers as path components of URLs IDs must only contain alphanumeric characters, underscore and hyphen. </p> </div> <br>Primary key
`Form_ID` | `string` | The associated form.
`Form_ID` | `string` | The associated form.<br>References forms.csv.
`Wordform_ID` | `string` | The associated wordform.<br>References wordforms.csv.
`Index` | `string` | Specifies the position of a morph in a wordform.
28 changes: 16 additions & 12 deletions src/cldf_ldd/components/keys.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,10 @@
- Wordform_ID
- wordforms.csv
- ID
- - formparts.csv
- Form_ID
- forms.csv
- ID
- - inflectionalvalues.csv
- Category_ID
- inflectionalcategories.csv
Expand Down Expand Up @@ -71,16 +75,16 @@
- ParameterTable
- ID
- - morphemes.csv
- Part_Of_Speech
- partsofspeech.csv
- Language_ID
- LanguageTable
- ID
- - morphemes.csv
- Parameter_ID
- ParameterTable
- ID
- - morphemes.csv
- Language_ID
- LanguageTable
- Part_Of_Speech
- partsofspeech.csv
- ID
- - morphs.csv
- Language_ID
Expand Down Expand Up @@ -111,20 +115,20 @@
- stems.csv
- ID
- - stems.csv
- Language_ID
- LanguageTable
- ID
- - stems.csv
- Part_Of_Speech
- partsofspeech.csv
- Parameter_ID
- ParameterTable
- ID
- - stems.csv
- Lexeme_ID
- lexemes.csv
- ID
- - stems.csv
- Parameter_ID
- ParameterTable
- Language_ID
- LanguageTable
- ID
- - stems.csv
- Part_Of_Speech
- partsofspeech.csv
- ID
- - wordformparts.csv
- Wordform_ID
Expand Down

0 comments on commit cb5bd67

Please sign in to comment.