ODNZSL / nzsl-dictionary-scripts

Scripts needed to support the NZSL mobile applications
MIT License
3 stars 2 forks source link

Extract private, non-published assets from Signbank, then prune unused asssets #24

Closed joshmcarthur closed 8 months ago

joshmcarthur commented 8 months ago

This pull request adds two features:

  1. Requests private, non-public assets from Signbank (this requires https://github.com/ODNZSL/NZSL-signbank/pull/130 to work, but it doesn't make the script break, it just only gets public assets - i.e. what it does without this PR)
  2. Prunes any assets that don't have a corresponding entry in the words table.

This makes the export a little simpler, because the word extraction can have whatever filters and rules we need to get the right data for the environment, then we can over-request assets for those words, and just strip any assets that we don't use.