Skip to content

Commit

Permalink
DATA: Convert ISO code
Browse files Browse the repository at this point in the history
  • Loading branch information
dwhieb committed Jun 9, 2024
1 parent c0a1b02 commit 1c15ac1
Show file tree
Hide file tree
Showing 42 changed files with 12,032 additions and 12,028 deletions.
4 changes: 4 additions & 0 deletions data/Components.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ export default class Components extends Map {
firstCheck: `1st check done`,
gloss: `Translation`,
id: `ID`,
ISO: `ISO code`,
matchAI: `Match AI`,
matchII: `Match II`,
matchTA: `Match TA`,
Expand Down Expand Up @@ -163,6 +164,9 @@ export default class Components extends Map {
component.language = language
component.displayLanguage = languages.get(language).name

// ISO 639-3
component.ISO = record[cols.ISO]

// Only convert these fields if the orthography is known
if (ortho !== `UNK`) {

Expand Down
12 changes: 6 additions & 6 deletions data/json/components/Abenaki.ndjson
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{"componentID":"1","id":"Abenaki-1","language":"Abenaki","displayLanguage":"Abenaki","form":"ôben-","UR":"","PA":"*a·p-","definition":"","type":"initial","subcategory":"","tokens":[{"bibliography":"IG1965: 213","form":"ôben-","gloss":"untie","PA":"*a·p-","UR":""}]}
{"componentID":"2","id":"Abenaki-2","language":"Abenaki","displayLanguage":"Abenaki","form":"ôjemi-","UR":"","PA":"*a·t-","definition":"","type":"initial","subcategory":"","tokens":[{"bibliography":"IG1965: 214","form":"ôjemi-","gloss":"relate, declare","PA":"*a·t-","UR":""}]}
{"componentID":"3","id":"Abenaki-3","language":"Abenaki","displayLanguage":"Abenaki","form":"ôtl-","UR":"","PA":"*a·nt-","definition":"","type":"initial","subcategory":"","tokens":[{"bibliography":"IG1965: 214","form":"ôtl-","gloss":"move, change, afresh, anew","PA":"*a·nt-","UR":""}]}
{"componentID":"4","id":"Abenaki-4","language":"Abenaki","displayLanguage":"Abenaki","form":"ôtto-","UR":"","PA":"*a·nt-","definition":"","type":"initial","subcategory":"","tokens":[{"bibliography":"IG1965: 214","form":"ôtto-","gloss":"move, change, afresh, anew","PA":"*a·nt-","UR":""}]}
{"componentID":"5","id":"Abenaki-5","language":"Abenaki","displayLanguage":"Abenaki","form":"-gan̈bawi","UR":"","PA":"*-ka·pawi-","definition":"","type":"final","subcategory":"AI","tokens":[{"bibliography":"IG1965: 215","form":"-gan̈ba8i","gloss":"stand, be standing","PA":"*-ka·pawi-","UR":""}]}
{"componentID":"6","id":"Abenaki-6","language":"Abenaki","displayLanguage":"Abenaki","form":"-igan̈n","UR":"","PA":"","definition":"","type":"final","subcategory":"N","tokens":[{"bibliography":"IG1965: 219","form":"-igan̈n","gloss":"","PA":"","UR":""}]}
{"componentID":"1","id":"Abenaki-1","language":"Abenaki","displayLanguage":"Abenaki","ISO":"","form":"ôben-","UR":"","PA":"*a·p-","definition":"","type":"initial","subcategory":"","tokens":[{"bibliography":"IG1965: 213","form":"ôben-","gloss":"untie","PA":"*a·p-","UR":""}]}
{"componentID":"2","id":"Abenaki-2","language":"Abenaki","displayLanguage":"Abenaki","ISO":"","form":"ôjemi-","UR":"","PA":"*a·t-","definition":"","type":"initial","subcategory":"","tokens":[{"bibliography":"IG1965: 214","form":"ôjemi-","gloss":"relate, declare","PA":"*a·t-","UR":""}]}
{"componentID":"3","id":"Abenaki-3","language":"Abenaki","displayLanguage":"Abenaki","ISO":"","form":"ôtl-","UR":"","PA":"*a·nt-","definition":"","type":"initial","subcategory":"","tokens":[{"bibliography":"IG1965: 214","form":"ôtl-","gloss":"move, change, afresh, anew","PA":"*a·nt-","UR":""}]}
{"componentID":"4","id":"Abenaki-4","language":"Abenaki","displayLanguage":"Abenaki","ISO":"","form":"ôtto-","UR":"","PA":"*a·nt-","definition":"","type":"initial","subcategory":"","tokens":[{"bibliography":"IG1965: 214","form":"ôtto-","gloss":"move, change, afresh, anew","PA":"*a·nt-","UR":""}]}
{"componentID":"5","id":"Abenaki-5","language":"Abenaki","displayLanguage":"Abenaki","ISO":"","form":"-gan̈bawi","UR":"","PA":"*-ka·pawi-","definition":"","type":"final","subcategory":"AI","tokens":[{"bibliography":"IG1965: 215","form":"-gan̈ba8i","gloss":"stand, be standing","PA":"*-ka·pawi-","UR":""}]}
{"componentID":"6","id":"Abenaki-6","language":"Abenaki","displayLanguage":"Abenaki","ISO":"","form":"-igan̈n","UR":"","PA":"","definition":"","type":"final","subcategory":"N","tokens":[{"bibliography":"IG1965: 219","form":"-igan̈n","gloss":"","PA":"","UR":""}]}
102 changes: 51 additions & 51 deletions data/json/components/Abenaki_Eastern.ndjson

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion data/json/components/Abenaki_Western.ndjson
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"componentID":"1","id":"Abenaki_Western-1","language":"Abenaki_Western","displayLanguage":"Western Abenaki","form":"alən-","UR":"","PA":"*elen-","definition":"","type":"initial","subcategory":"","tokens":[{"bibliography":"IG1979a: 112","form":"alən-","gloss":"ordinary","PA":"*elen-","UR":""}]}
{"componentID":"1","id":"Abenaki_Western-1","language":"Abenaki_Western","displayLanguage":"Western Abenaki","ISO":"abe","form":"alən-","UR":"","PA":"*elen-","definition":"","type":"initial","subcategory":"","tokens":[{"bibliography":"IG1979a: 112","form":"alən-","gloss":"ordinary","PA":"*elen-","UR":""}]}
Loading

0 comments on commit 1c15ac1

Please sign in to comment.