Fredrik Sitje commited on
Commit
110375c
·
1 Parent(s): 3fb85e6

Updated for iso standard language and country code

Browse files
Files changed (1) hide show
  1. README.md +6 -2
README.md CHANGED
@@ -46,8 +46,12 @@ TransLegal/grading-answers/
46
  To add a new jurisdiction to the repository:
47
 
48
  1. **Create jurisdiction subdirectory** in the [TransLegal/grading-answers](https://huggingface.co/datasets/TransLegal/grading-answers) repository:
49
- - Use format: `{language-code}-{country-code}` (e.g., `sv-se`, `fr-fr`, `es-es`)
50
- - Example: Create `sv-se/` directory
 
 
 
 
51
 
52
  2. **Add grading template file:**
53
  - Upload `grading_template.parquet` to `{jurisdiction}/grading_template.parquet`
 
46
  To add a new jurisdiction to the repository:
47
 
48
  1. **Create jurisdiction subdirectory** in the [TransLegal/grading-answers](https://huggingface.co/datasets/TransLegal/grading-answers) repository:
49
+ - **Format:** `{language-code}-{country-code}` following ISO standards:
50
+ - Language code: ISO 639-1 (2-letter lowercase, e.g., `hr`, `en`, `sv`)
51
+ - Country code: ISO 3166-1 alpha-2 (2-letter lowercase, e.g., `hr`, `us`, `se`)
52
+ - Combined format: lowercase language code, hyphen, lowercase country code (e.g., `hr-hr`, `en-us`, `sv-se`)
53
+ - The app automatically converts these codes to display names (e.g., "Croatian-Croatia", "English-United States", "Swedish-Sweden")
54
+ - Example: Create `sv-se/` directory for Swedish-Sweden
55
 
56
  2. **Add grading template file:**
57
  - Upload `grading_template.parquet` to `{jurisdiction}/grading_template.parquet`