Skip to content

storage of SBX resource metadata files (yaml) which are automatically published on the data page

Notifications You must be signed in to change notification settings

spraakbanken/metadata

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Metadata

This repository is used for storing Språkbanken Text's resource metadata as YAML files. When creating a new resource, please place the YAML file in the correct directory under /yaml. You can use one of the available YAML templates to get started. It is recommended to use a tool to perform a syntax check on your YAML document (e.g., this one) to avoid general errors in the YAML markup.

If you are comfortable with using the terminal, we also recommend that you use a JSON schema validation tool (e.g., boon) to validate your file against the provided JSON schema.

Please do not use this repository for storing data files (e.g., corpora, lexicons, etc.). Refer to the instructions on the Språkbanken Text web page for information on where to store data files instead.

Documentation

Information about some metadata fields

Collections

A collection is a "meta" metadata entry used to summarize multiple resources. Collections are provided as YAML files. The resource IDs belonging to a collection can either be supplied as a list in the YAML file (using the resources key) or each resource can specify which collection(s) it belongs to in its YAML file (using the in_collections key, which holds a list of collection IDs). The size of the collection is calculated automatically.

Unlisted

Resources with the attribute "unlisted": true will not be listed in the data list on the web page, but they can be accessed directly via their URL. This is used as a quick and "dirty" versioning system.

Successors

The successors attribute can be used for resources that have been superseded by one or more other resources (e.g., newer versions). This attribute holds a list of resource IDs.

Hide resources

If "hide_resources": true is set, the resources belonging to this collection will not be listed in a table on the collection web page.

About

storage of SBX resource metadata files (yaml) which are automatically published on the data page

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages