-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Canonical T-Res resources #278
Comments
Identify a canonical set of resourcesLatest and most complete resources (afaics) are to be found at:
|
Collect resources into a central storage location (with appropriate compression)Script for bundling up the resources: #!/bin/bash
# Script that creates a zip file of T-Res resources.
# Run this script from the resources/ directory and pass the output directory
# in which the file `resources.zip` will be created.
zip "$1/resources.zip" publication_metadata.json
zip -ur "$1/resources.zip" deezymatch/
zip -ur "$1/resources.zip" models/
zip -ur "$1/resources.zip" rel_db/
zip -ur "$1/resources.zip" wikidata/
zip -ur "$1/resources.zip" wikipedia/
echo "Created T-Res resources.zip at $1/resources.zip" To be run from Note: this script takes several minutes to run because some subfolders contain many small files (e.g. Update: files now on Azure in |
With these resources in place (on Azure, at least), I'm now making sure all tests pass on Rosie's |
Script to fetch resources from AzureAdded to the existing PR as This is a stop-gap solution intended for internal use, pending public release of the resource files #279. |
All tests now pass on a new checkout (of
|
The
resources/
subdirectory is .gitignored due to the large size of the data files on which T-Res depends, but there is currently no shared storage location containing a canonical set of resources.This makes deployment more difficult and also causes problems with integration tests which depend on the resources and cannot be run with consistent results unless a common resources are used.
Steps:
resources/
subdirectory,tests/
subdirectory, for unit test fixtures,experiments/
subdirectory.The text was updated successfully, but these errors were encountered: