N-grams from NBdigital 2022
- 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. uni-, bi- and trigrams - from all books and newspapers that had been digitized at the National Library of Norway up to July 15 2022. The n-grams have been extracted from a material consisting of approximately 610,000 books and 4,000,000 newspapers, amounting to a total of 138.5 billion tokens (words and punctuation). The file format is UTF-8-encoded CSV.
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 for books, the newspapers have no language classification as yet)
- freq - the total frequency of the n-gram in the collection of books and newspapers
- json - a dictionary with raw frequency for each year
totals.json contains aggregated frequencies per year in the book and newspaper corpora. Using them, 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. More extensive metadata can be obtained through 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/76
- 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/76
- 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:
- , Southern Sami, , Lule 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.
- July 15, 2022
- Last updated:
- December 21, 2022
- 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.
- December 21, 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.