-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rename files from "phonemic"/"phonetic" to "broad"/"narrow" #402
Conversation
…es' files into 'data/phones/phones'. Moves relevant scripts from 'data/src' into 'data/phones/lib'. Updates paths in 'data/scrape/lib/codes.py'
…iption type (broad/narrow)
…akes minor stylistic changes to the same file
Is your plan for this PR that you'll also make this change to the scrape and testing code? |
The name change sort of involved some degree of reconceptualization of the phone-listing process, as expressed in |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All looks good to me. Still a failing black test, which should be easy to fix.
I didn't change |
|
Hey, thanks for taking this on. The annoying part of this is now going to be going through the |
I think I'm going to need some help with the stuff in |
Sure, you can issue a PR against a non-master/main branch. |
…ss, data/scrape/lib/generate_tsv_summary.py, and data/phones/lib/generate_phone_summary.tsv
I'm not sure what went wrong with the CircleCI tests/how to fix the problem. Any help? |
Hey, I'll take a more thorough look at this tomorrow but for now changing this line ought to resolve the current problem. |
Thanks for catching that, Lucas! |
Oh yay, all the tests are finally passing |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Submit away
* Rename files from "phonemic"/"phonetic" to "broad"/"narrow" (#402) * Adds subdirectories 'lib' and 'phones' to 'data/phones'. Moves '.phones' files into 'data/phones/phones'. Moves relevant scripts from 'data/src' into 'data/phones/lib'. Updates paths in 'data/scrape/lib/codes.py' * Updates 'data/phones/HOWTO.md' to reflect new locations of files * Fixes file path in 'data/phones/HOWTO.md' * Updates outdated components of 'data/phones/HOWTO.md' * Updates path to phones in 'tests/test_data/test_summary.py' * Updates changelog * Renames 'data/cg' to 'data/covering_grammar' * Renames covering grammar files to include script info and and transcription type (broad/narrow) * Moves covering grammar/error analysis scripts to 'data/covering_grammar/lib' * Adds placeholder README for 'data/covering_grammar/' * Adds script to make input files for error analysis * Removes superfluous comments from 'data/covering_grammar/lib/make_test_file.py' * Updates changelog * Makes (most of the) suggested edits to data/covering_grammar/lib/make_test_file.py * Adds logging config to data/covering_grammar/lib/make_test_file.py. Makes minor stylistic changes to the same file * Minor style fix * Adds French covering grammar. Reorganizes French phonelist. * Updates changelog * Fix extra line in French phonelist * Add end line to French covering grammar * Add final lines * Rename files from phonemic/phonetic to broad/narrow * Update changelog * Update code in data/ and tests/test_data to change phonemic/phonetic to broad/narrow * Fix formatting in data/frequencies/merge.py and data/phones/HOWTO.md * Updates wikipron/cli.py to reflect renaming * (Hopefully) fix summary generation code. Re-run data/scrape/postprocess, data/scrape/lib/generate_tsv_summary.py, and data/phones/lib/generate_phone_summary.tsv * Renames 'phonetic' to 'narrow' in wikipron/config.py * Finish renaming 'phonetic' to 'narrow' in wikipron/config.py * Update tests in tests/test_wikipron to reflect broad/narrow renaming * Fix and rerun data/scrape/lib/generate_tsv_summary.py * Fix line in data/scrape/scrape.py * Minor updates for new names, adds phones postprocess (#405) * minor updates for new names, adds phones postprocess * reflow * updates changelog * new sorting * updates sorting of both phones and TSVs to use path * adds top level data README * changes comment and import Co-authored-by: Aidan Malanoski <71616036+ajmalanoski@users.noreply.github.com> Co-authored-by: Lucas Ashby <lfeashby@gmail.com>
Unreleased
inCHANGELOG.md
to reflect the changes in code or data.Closes #389
I renamed the files with this script: link
I only changed the filenames, so I'm sure a lot of stuff is broken at the moment…