N-grams from NBdigital 2021
- Datasets
- Public access
Publicly available to everyone. Access may still require registration and an API key request, as long as anyone can request such registration and/or API keys.
- Open data
Description
This resource contains n-grams - i.e. unigrams, bigrams and trigrams - from all books and newspapers that had been digitized at the National Library of Norway up to July 2021. The n-grams have been extracted from a material consisting of approximately 580,000 books and 3,400,000 newspapers, amounting to a total of 122 billion tokens (words and punctuation). The n-grams are offered as CSV files (UTF-8-encoded).
Columns in the n-gram CSV files:
- first - the first word (in uni-, bi- and trigrams)
- second - the second word (in bi- and trigrams)
- third - the third word (in trigrams)
- lang - the language of the n-gram (only regarding books, newspapers have no language classification as for now)
- freq - the total frequency of the n-gram in the collection of books or newspapers
- json - a dictionary with raw frequency for each year
totals.json contains aggregated frequencies per year in the book and newspaper corpora. Using these numbers, relative frequencies can be calculated in order to compare frequencies over time as in NB N-gram.
metadata-digibok.csv and metadata-digavis.csv contain simple metadata for the books and newspapers. If you need more extensive metadata, you could use Oria or the APIs at https://api.nb.no/.
See the documentation files for further information.
Distributions1
Nameless distribution- gz
- gz
- Description:
- Not provided
- Access URL:
- https://hdl.handle.net/21.11146/70
- Status:
- Not provided
- Direct download:
- API:
- Not provided
- Documentation:
- Not provided
- License:
- Conforms to:
- Not provided
- Rights for use:
- Not provided
APIs providing this dataset0
Similar datasets
| Norwegian Conversation Speech Corpus | Public access | |
| Translation memory from Nynorsk News Press Agency 2022 | Public access | |
| bokselskap.no 2023 | Public access | |
| Målfrid 2021 - Freely Available Documents from Norwegian State Institutions | Public access | |
| Norwegian Parliamentary Speech Corpus 2.0 | Public access |
Distributions1
Nameless distribution- gz
- gz
- Description:
- Not provided
- Access URL:
- https://hdl.handle.net/21.11146/70
- Status:
- Not provided
- Direct download:
- API:
- Not provided
- Documentation:
- Not provided
- License:
- Conforms to:
- Not provided
- Rights for use:
- Not provided
APIs providing this dataset0
Contact information
- Contact point:
- Not provided
- Website:
- https://www.nb.no/sprakbanken/
- Email:
- sprakbanken@nb.no
- Telephone:
- Not provided
About the data
- Language:
- , Lule Sami, , , , Southern Sami
- Content providers:
- Not provided
- Provenance:
- Not provided
- Update frequency:
- Not provided
- First issued:
This date indicates when the data in this dataset was first released. It may have happened before the dataset was published on data.norge.no.
- June 1, 2021
- Last updated:
- October 28, 2021
- Geographical scope:
- Not provided
- Temporal scope:
- Not provided
- Conforms to:
Reference to an implementation rule or other specification that forms the basis for the dataset.
- Not provided
- Quality annotations:
- Not provided
Applicable legislation
Concepts used in the dataset
References
Fees
About this dataset
- Publisher:
- Nasjonalbiblioteket
- Published:
This date indicates when the dataset was harvested by data.norge.no. It may have been available earlier elsewhere.
- May 2, 2022
- Last updated:
- March 13, 2026
- Landing page:
- Not provided
- Documentation:
- Not provided
- Dataset type:
- Not provided
- Metadata Quality:
Metadata quality is an indicator of how well the datasets are described using metadata.
- Good (59%)
- URI:
Themes
Keywords
Discussions on Datalandsbyen0
What is Datalandsbyen?
Datalandsbyen is our online forum where you can request data, share experiences, and ask for advice related to data sharing and information management.
Resource Description Framework (RDF)All URLs to resources on data.norge.no can provide RDF metadata in various formats, depending on the Accept header sent with the request.
All URLs to resources on data.norge.no can provide RDF metadata in various formats, depending on the Accept header sent with the request.