Skip to content

Compress csv - #418

Merged
drammock merged 5 commits into
phoible:masterfrom
varunghat:compress-csv
Dec 1, 2026
Merged

drammock merged 5 commits into
phoible:masterfrom
varunghat:compress-csv

Conversation

@varunghat

Copy link
Copy Markdown
Contributor

Added script to compress phoible.csv to phoible.csv.zip to reduce tracked file size.
Updated tests and .md files to point to the .zip file instead.
phoible.csv is removed from the repo.

@drammock Please hold off on merging before the InventoryID PR #417 is merged. I will then rebase this branch, update phoible.csv.zip with the updated InventoryIDs

Closes #408

@github-actions

Copy link
Copy Markdown

phonemes:
Phonemes: .
Features: ..1

══ Failed ══════════════════════════════════════════════════════════════════════
── 1. Failure ('test-phonemes.R:140:5'): within inventories, phonemes have disti
PHONEMES WITH INDISTINCT FEATURE VECTORS:

A tibble: 50 × 2

Phonemes InventoryIDs

1 b̤̥ pʰ 17
2 d̤̥ tʰ 17
3 ɡ̤̥ kʰ 17
4 ə ɜ 130 224 560 576 1306 1374 1375 1412 1444 1956 1970 2213 2585
5 ɐ̆ ɐ̹̆ 428
6 kǀ͓ kǀ͓x 432
7 kǂ͓ˡ kǂ͓ˡx 432
8 ŋ̥ǃˠˀ ŋ̥ǃˀ 432
9 ɲc ɲcʲ 905
10 d̪ d̻ 998
11 n n̺ 1004
12 s s̺ 1004 1564 2278
13 b̰ p̰ 1020 1783
14 d̪z̪ d̻z̻ 1046
15 s̪ s̻ 1046
16 t̪s̪ t̻s̻ 1046
17 z̪ z̻ 1046
18 ə̃ ɜ̃ 1306
19 d̠ʒʰ t̠ʃʰ 1383
20 əː ɜː 1444
21 z z̺ 1564 2278
22 a ä 1730 2609
23 ë ë̞ 1730 1796
24 ö ö̞ 1730
25 c̤ ɟ̤ 1749 1786
26 i̯œ i̯œ̞ 2167
27 b̥ː pː 2260
28 d̥z̥ ts 2260
29 d̥z̥ʲ tsʲ 2260
30 d̥ʑ̥ tɕ 2260 2287
31 d̥ː tː 2260
32 ɡ̊ː kː 2260
33 ɯ ɯ̝ 2267
34 b̥ p 2272 2283 2287 2324 2351 2389 2408 2424 2432 2476 2509 2579 2590 26…
35 d̥ t 2272 2287
36 f v̥ 2272
37 ɡ̊ k 2272 2283 2287 2296 2324 2351 2389 2408 2424 2432 2476 2509 2590 26…
38 s z̥ 2272
39 ɣ̊ x 2272
40 ʃ ʒ̊ 2272
41 eu̯ e̞u̯ 2278
42 oi̯ o̞i̯ 2278
43 d̺̥ t̺ 2283 2324 2351 2389 2408 2424 2432 2476 2509 2590 2626
44 ɡ̊ʷ kʷ 2283 2324 2351 2389 2408 2424 2476 2509 2590 2626
45 e̞ ɛ̝ 2287
46 s̺̠ ʃ 2308
47 d̥ʒ̥ t̠ʃ 2324 2351 2389 2408 2424 2432 2626
48 d̺̥z̺̥ t̺s̺ 2324 2389 2408 2424 2432 2476 2590
49 d̪̥ t̪ 2579
50 aː äː 2599

══ DONE ════════════════════════════════════════════════════════════════════════

@github-actions

github-actions Bot commented Dec 1, 2026

Copy link
Copy Markdown

phonemes:
Phonemes: .
Features: ..1

══ Failed ══════════════════════════════════════════════════════════════════════
── 1. Failure ('test-phonemes.R:140:5'): within inventories, phonemes have disti
PHONEMES WITH INDISTINCT FEATURE VECTORS:

A tibble: 50 × 2

Phonemes InventoryIDs

1 c̤ ɟ̤ p09343 p2b310
2 s s̺ p1976c p9067e pb4387
3 z z̺ p1976c p9067e
4 ə ɜ p1a049 p288c4 p4a891 p4ce33 p62fd1 p67e31 p6f438 p7f861 pa597e pac5…
5 s̺̠ ʃ p1ae70
6 b̥ p p205ad p2a717 p546df p63f86 p97969 pa3c42 pa77d1 pae36d pbdc14 pcc0…
7 d̥ t p205ad pdb1b4
8 d̥ʑ̥ tɕ p205ad p70820
9 ɡ̊ k p205ad p2a717 p546df p63f86 pa3c42 pa77d1 pae36d pb04dc pbdc14 pcc0…
10 e̞ ɛ̝ p205ad
11 a ä p2215b p6d13b
12 d̥ʒ̥ t̠ʃ p2a717 pa3c42 pae36d pbdc14 pcc05c pe88ec pfe5e0
13 d̺̥ t̺ p2a717 p546df p63f86 pa3c42 pa77d1 pae36d pbdc14 pcc05c pe88ec pef4…
14 d̺̥z̺̥ t̺s̺ p2a717 p63f86 pbdc14 pcc05c pe88ec pef488 pfe5e0
15 ɡ̊ʷ kʷ p2a717 p546df p63f86 pa3c42 pa77d1 pae36d pcc05c pe88ec pef488 pfe5…
16 b̰ p̰ p2e8de p97af7
17 ë ë̞ p375e9 p6d13b
18 d̠ʒʰ t̠ʃʰ p3c449
19 kǀ͓ kǀ͓x p63ce1
20 kǂ͓ˡ kǂ͓ˡx p63ce1
21 ŋ̥ǃˠˀ ŋ̥ǃˀ p63ce1
22 ö ö̞ p6d13b
23 b̥ː pː p70820
24 d̥z̥ ts p70820
25 d̥z̥ʲ tsʲ p70820
26 d̥ː tː p70820
27 ɡ̊ː kː p70820
28 ɲc ɲcʲ p84c82
29 eu̯ e̞u̯ p9067e
30 oi̯ o̞i̯ p9067e
31 d̪̥ t̪ p97969
32 b̤̥ pʰ p98cb1
33 d̤̥ tʰ p98cb1
34 ɡ̤̥ kʰ p98cb1
35 ə̃ ɜ̃ pa597e
36 d̪z̪ d̻z̻ pa950d
37 s̪ s̻ pa950d
38 t̪s̪ t̻s̻ pa950d
39 z̪ z̻ pa950d
40 n n̺ pb4387
41 ɯ ɯ̝ pc4061
42 f v̥ pdb1b4
43 s z̥ pdb1b4
44 ɣ̊ x pdb1b4
45 ʃ ʒ̊ pdb1b4
46 ɐ̆ ɐ̹̆ peaf05
47 əː ɜː pef7a4
48 aː äː pf3eb5
49 i̯œ i̯œ̞ pf9ecf
50 d̪ d̻ pfeebd

══ DONE ════════════════════════════════════════════════════════════════════════

@varunghat
varunghat marked this pull request as ready for review December 1, 2026 13:06
@drammock
drammock merged commit 4db804c into phoible:master Dec 1, 2026
1 check passed
@agricolamz

Copy link
Copy Markdown

I am sorry, can I ask, why tracked file size is important? Does not it kill an ability to track changes in .csv?

I am asking because I kind of relied on the file being .csv not .zip.

@xrotwang

xrotwang commented Dec 3, 2026

Copy link
Copy Markdown
Contributor

As far as I understand, the CSV file became bigger than what's supported by GitHub.

@varunghat

Copy link
Copy Markdown
Contributor Author

Yes basically, adding new features to phoible resulted in the file getting larger than 100 MB: #408

If a csv diff is really important, we can generate one in the workflows and add it as a summarized comment on the PR. Could possibly open this as a discussion on another thread?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

aggregated data too large for GitHub

4 participants