Skip to content

Add Urdu GAD-7 example instrument - #147

Open
roshaneyshah wants to merge 2 commits into
harmonydata:mainfrom
roshaneyshah:feat/urdu-gad7-example
Open

roshaneyshah wants to merge 2 commits into
harmonydata:mainfrom
roshaneyshah:feat/urdu-gad7-example

Conversation

@roshaneyshah

Copy link
Copy Markdown
Contributor

Description

Adds the Urdu GAD-7 as an example instrument ("language": "ur"), with Urdu answer options.

Source: the official PHQ Screeners site (Pfizer), which allows free reproduction. The published PDF mixes Arabic and Urdu forms of yeh and heh, so these were normalised to the Urdu letters.

Only examples.py is changed. No new dependencies.

Note on Urdu negation: I tested three Urdu negation approaches against English vs Urdu PHQ-9 and GAD-7 with three models (paraphrase-multilingual-MiniLM, LaBSE, multilingual-e5). None beat the current behaviour, so I have not added Urdu negation rules. Turning negation off (is_negate=False) gave the best Urdu matching (PHQ-9 top-1 89% to 100% with the default model).

Type of change

  • New feature (non-breaking change which adds functionality)

Checklist

  • My PR is for one issue, rather than for multiple unrelated fixes.
  • I have performed a self-review of my own code
  • I add third party dependencies only when necessary.

discordapp.com/users/1065327340994969671

Add Urdu GAD-7 example instrument
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant