Dataset Viewer
The dataset viewer is not available for this dataset.
The JWT signature verification failed. Check the signing key and the algorithm.
Error code:   JWTInvalidSignature
Exception:    InvalidSignatureError
Message:      Signature verification failed
Traceback:    Traceback (most recent call last):
                File "/src/libs/libapi/src/libapi/jwt_token.py", line 286, in validate_jwt
                  decoded = jwt.decode(
                      jwt=token,
                  ...<2 lines>...
                      options=options,
                  )
                File "/usr/local/lib/python3.14/site-packages/jwt/api_jwt.py", line 368, in decode
                  decoded = self.decode_complete(
                      jwt,
                  ...<8 lines>...
                      leeway=leeway,
                  )
                File "/usr/local/lib/python3.14/site-packages/jwt/api_jwt.py", line 265, in decode_complete
                  decoded = self._jws.decode_complete(
                      jwt,
                  ...<3 lines>...
                      detached_payload=detached_payload,
                  )
                File "/usr/local/lib/python3.14/site-packages/jwt/api_jws.py", line 270, in decode_complete
                  self._verify_signature(
                  ~~~~~~~~~~~~~~~~~~~~~~^
                      signing_input,
                      ^^^^^^^^^^^^^^
                  ...<4 lines>...
                      options=merged_options,
                      ^^^^^^^^^^^^^^^^^^^^^^^
                  )
                  ^
                File "/usr/local/lib/python3.14/site-packages/jwt/api_jws.py", line 417, in _verify_signature
                  raise InvalidSignatureError("Signature verification failed")
              jwt.exceptions.InvalidSignatureError: Signature verification failed

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

Dataset Card for "domsdatabasen"

Dataset Summary

Domsdatabasen is a database where you can find and read selected judgments delivered by the Danish Courts.

Each judgment/case consists of tabular data and a case-descriptive PDF. This dataset collects all these cases, with each sample describing a specific judgment/case.

The PDFs are anonymized to protect sensitive information. Therefore, each sample includes two text versions:

  • text_anon (with anonymization tags: <anonym>"Some sensitive text"</anonym>).
  • text (without anonymization tags).

text_anon is read with Easyocr.

text is read with Easyocr or Tika-python depending on the PDF and the anonymization method used.

text_anon will be empty if no anonymization is detected in the PDF.

Languages

The dataset is available in Danish (da).

Dataset Structure

An example from the dataset looks as follows.

{
  "case_id": "id of case/judgment",
  ... The tabualar string data ...,
  "text": "pdf text",
  "text_anon": "anonymized pdf text"
  "text_len": <number of chars in text>,
  "text_anon_len": <number of chars in anonymized text>
}

Data Fields

  • case_id: a string feature.
  • text: a string feature.
  • text_anon: a string feature.
  • text_len: an int feature.
  • text_anon_len: an int feature.

Dataset Statistics

Size of dataset

With the PDF texts being provided in two versions, text and text_anon, the total size of all PDF texts is approximately ~199//2 MB.

Number of samples

  • 3919

PDF Text Length Distribution

Statistics based on text.

  • Minimum length: 192
  • Maximum length: 2101736

image/png

Potential Dataset Issues

See open issues.

Dataset Creation

Curation Rationale

There are not many large-scale law datasets in Danish.

Source Data

The dataset has been scraped from Domsdatabasen.

Additional Information

Dataset Curators

Oliver Kinch from the The Alexandra Institute

Downloads last month
48