Closed MrIbrahem closed 4 months ago
The recent updates primarily focus on enhancing path configurations and JSON handling in various scripts, improving code readability and efficiency. Changes include the introduction of a new file for handling Wikidata properties, updates to .gitignore
, and various path and variable adjustments across multiple files.
Files | Summary of Changes |
---|---|
.gitignore |
Added rules to ignore jsons , texts , texts_test directories. |
dump2/.../do_tab.py |
Replaced json.loads with ujson.loads for faster JSON parsing. |
dump2/.../do_text.py , dump2/.../do_text.py |
Updated file paths and conditions based on command line arguments. |
dump2/dump.sh , dump2/save.py |
Adjusted paths, modified export declarations, and updated function parameters. |
dump2/labels/.../do_text.py , dump2/labels/labels_old_values.py |
Updated string literals to double quotes, added new text cleaning function. |
dump2/most_props.py |
New functionality for handling Wikidata properties via SPARQL queries and saving results to JSON. |
dump2/read_d.py |
Optimized variable handling and removed unnecessary variable assignments. |
ππ»β¨
Oh hark! A change, a shift, a tweak,
In paths and loads, the data speaks.
A rabbit hops through lines of code,
Finding homes for bytes that roamed.
With every save, a small delight,
Our digital warren built just right.
πππ
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Summary by CodeRabbit
New Features
Enhancements
Bug Fixes
Chores
.gitignore
to exclude specific directories, enhancing confidentiality and cleanliness of the repository.