Datasets:
Use uv run shebang
Browse files- tools/04_generate_parquet.py +10 -1
- tools/05_validate_parquet.py +9 -1
tools/04_generate_parquet.py
CHANGED
|
@@ -1,4 +1,13 @@
|
|
| 1 |
-
#!/usr/bin/env
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
"""
|
| 3 |
Generate Parquet files from Universal Dependencies CoNLL-U data.
|
| 4 |
|
|
|
|
| 1 |
+
#!/usr/bin/env -S uv run --script
|
| 2 |
+
#
|
| 3 |
+
# /// script
|
| 4 |
+
# requires-python = ">=3.12"
|
| 5 |
+
# dependencies = [
|
| 6 |
+
# "conllu",
|
| 7 |
+
# "datasets",
|
| 8 |
+
# "load-dotenv",
|
| 9 |
+
# ]
|
| 10 |
+
# ///
|
| 11 |
"""
|
| 12 |
Generate Parquet files from Universal Dependencies CoNLL-U data.
|
| 13 |
|
tools/05_validate_parquet.py
CHANGED
|
@@ -1,4 +1,12 @@
|
|
| 1 |
-
#!/usr/bin/env
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
"""
|
| 3 |
Validate Parquet files by comparing with original CoNLL-U data.
|
| 4 |
|
|
|
|
| 1 |
+
#!/usr/bin/env -S uv run --script
|
| 2 |
+
#
|
| 3 |
+
# /// script
|
| 4 |
+
# requires-python = ">=3.12"
|
| 5 |
+
# dependencies = [
|
| 6 |
+
# "datasets",
|
| 7 |
+
# "load-dotenv",
|
| 8 |
+
# ]
|
| 9 |
+
# ///
|
| 10 |
"""
|
| 11 |
Validate Parquet files by comparing with original CoNLL-U data.
|
| 12 |
|