# Annotation guidelines These guidelines say what to label as personal information in Ghanaian text, where each label starts and ends, and what to leave alone. The synthetic corpus follows them, and so must any human annotation, so that every evaluation measures the same thing. A record is one piece of text, such as a chat message, a letter or a prompt. Each label covers one span of that text and says what kind of detail it is. Spans never overlap. When two labels could apply to the same text, pick the more specific one and record the other as a context label, as the brief requires for a phone number used as a mobile money wallet. ## Labels | Label | What it covers | Brief code | | --- | --- | --- | | `GH_MOBILE_NUMBER` | A Ghanaian mobile number in any written form, with its country code or trunk 0 and separators. Add the context label `MOBILE_MONEY` when the text uses it as a wallet. | §6.2, §6.3 | | `GH_LANDLINE_NUMBER` | A Ghanaian fixed-line number linked to a person, such as a home line | §6.2 | | `GH_GHANA_CARD_PIN` | A Ghana Card PIN, including when the text calls it a TIN or SSNIT number | §6.1, §6.3, §6.4 | | `GH_DIGITAL_ADDRESS` | A GhanaPost GPS digital address linked to a person | §6.2 | | `GH_TAX_IDENTIFIER` | An 11-character individual TIN starting `P00`. Company TINs (`C00`, `G00`, `Q00`, `V00`) aren't personal. | §6.3 | | `GH_VEHICLE_REGISTRATION` | A number plate linked to a private person | §6.7 | | `EMAIL_ADDRESS` | A personal email address | §6.2 | | `PAYMENT_CARD_PAN` | A payment card number | §6.3 | | `BANK_ACCOUNT_NUMBER` | A bank account number | §6.3 | | `IP_ADDRESS` | An IPv4 or IPv6 address linked to a person's device or session | §6.8 | | `PERSON_NAME` | A real-seeming person's name, given name, surname or both | §6.2 | | `PERSON_ALIAS` | A nickname or shortened name used for a person, such as "Akos" or "Kwabs" | §6.2 | | `ACCOUNT_HOLDER_NAME` | A name given as the holder of a bank or mobile money account | §6.3 | | `ADDRESS` | A residential or personal location in words, including informal landmark directions | §6.2 | | `PATIENT_ID` | A hospital or clinic's identifier for a patient | §6.6 | | `STUDENT_ID` | A school's or university's identifier for a student | §6.5 | | `EMPLOYEE_ID` | An employer's identifier for a staff member | §6.4 | Formats that issuers don't publish, such as passport, voter ID, NHIS and WAEC index numbers, aren't generated synthetically, because a made-up format would teach a model something false. Label them by context when they appear in real, consented data, and record the label as unverified. ## Where a span starts and ends - A span covers the value and nothing else. Leave out labels such as "Tel:" or "Ghana Card:", surrounding quotes and brackets, and the full stop that ends a sentence. - Keep the separators that belong to a value: the spaces in `024 123 4567`, the hyphens in `GHA-123456789-0`, and the `+` of `+233`. - Keep `(0)` inside an international number, as in `+233 (0)24 123 4567`. - A number read aloud is labelled like one written in figures, from its first digit word to its last, with the commas and words such as "double" between them: "zero two four, one two three, four five six seven" or "hwee abien anan…" in Twi. - For names, cover the name tokens only. Leave out titles and forms of address such as Mr, Mrs, Ms, Dr, Rev, Hon, Auntie, Uncle, Sister and Brother. Keep a name that includes a day name or a chieftaincy name, such as Nana Yaw Mensah, as one span. - Label a patient, student or staff ID by the institution it belongs to even when no word such as "student ID" names it, as in "Ward round: bed 4, Akosua Mensah (PT-204118)". The surrounding text says which institution it is. - For addresses in words, cover the whole description that locates the person, from the first landmark to the last detail, such as "behind the Presby church at Adenta Housing Down, the house with the green gate". - Offsets are half-open and recorded twice: in UTF-8 bytes, which Veil reports, and in Unicode code points, which most Python tools use. ## What isn't personal information Don't label these, even when they look like personal details. The synthetic corpus includes them as hard negatives. - Public business details: a company's switchboard number, a shop's address, a bank's head office, a public building or landmark mentioned on its own. - Fictional and folklore characters, such as Kweku Ananse, and public figures named in their public role in news text. - Order numbers, invoice and receipt references, SKUs, tracking numbers, product codes, flight numbers and ticket numbers. - Amounts of money, dates and times, percentages and quantities. - Postcodes on their own, such as `GA-183`, and digital addresses of public places. - A network prefix said on its own, as in "my number is 024", which millions of numbers share. - Ward, bed, room and exam-hall numbers, course codes and cost centres. - Company TINs and other organisational identifiers. - Number plates of public vehicles in news, such as a bus involved in an accident. - Code identifiers, hashes, version numbers and API paths, unless they contain a credential. When you can't tell whether something identifies a person, label it and add a note. The adjudication pass decides. ## Places named on their own A town, region or landmark named on its own isn't labelled, even next to a person, as in "she lives in Kumasi" or "I'm at Kaneshie market". A place becomes personal information when it locates someone's home or whereabouts closely enough to find them, and then the whole description is an `ADDRESS`. Thousands or millions of people share a town, so the town alone identifies no one, and redacting every place would strip the meaning from ordinary prompts about Ghana. This is why MasakhaNER's place labels, which mark every location in news text, aren't a target for Veil. Its place scores are reported to show what the model does with places, and a score of zero there is the intended behaviour, not a gap. ## Code-switched and Ghanaian-language text People write in English, Twi, Ga and Ewe, and often mix them in one message. Label the same details in the same way whatever the language around them. In "Me momo nɔma ne 024 123 4567", the number is a `GH_MOBILE_NUMBER` with the `MOBILE_MONEY` context label, just as it would be in English. Tag each record with every language it contains, using BCP 47 tags: `en` for English, `tw` for Twi (Akan), `ee` for Ewe, `gaa` for Ga, `fat` for Fante and `gpe` for Ghanaian Pidgin English. Mark informal Ghanaian English with the domain, not a separate language tag. ## Never use real people's details Annotation data comes from synthetic generation, from licensed corpora, or from real documents shared under an agreement with consent and review. Nothing scraped about real people goes into an annotation set, and nothing real ever goes into this repository.