KennethEnevoldsen commited on
Commit
fddf8b4
·
unverified ·
1 Parent(s): 8b59592
README.md CHANGED
@@ -17,6 +17,22 @@ configs:
17
  data_files:
18
  - split: train
19
  path: data/danske-taler/*.parquet
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
20
  - config_name: eur-lex-sum-da
21
  data_files:
22
  - split: train
@@ -174,9 +190,9 @@ https://github.com/huggingface/datasets/blob/main/templates/README_guide.md
174
  <!-- START README TABLE -->
175
  | | |
176
  | ------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------- |
177
- | **Version** | 1.0.12 ([Changelog](/CHANGELOG.md)) |
178
  | **Language** | dan, dansk, Danish |
179
- | **License** | Openly Licensed, See the respective dataset |
180
  | **Models** | For model trained used this data see [danish-foundation-models](https://huggingface.co/danish-foundation-models) |
181
  | **Contact** | If you have question about this project please create an issue [here](https://huggingface.co/datasets/danish-foundation-models/danish-dynaword/discussions) |
182
 
@@ -311,39 +327,39 @@ This data generally contains no annotation besides the metadata attached to each
311
  Below follows a brief overview of the sources in the corpus along with their individual license.
312
 
313
  <!-- START-MAIN TABLE -->
314
- | Source | Description | Domain | N. Tokens | License |
315
- |:--------------------|:----------------------------------------------------------------------------------------------------------------------------------------------|:--------------|:------------|:-----------------------|
316
- | **Total** | | | 3.36B | |
317
- | [cellar] | The official digital repository for European Union legal documents and open data | Legal | 1.15B | [CC-BY-SA 4.0] |
318
- | [retsinformationdk] | [retsinformation.dk](https://www.retsinformation.dk) (legal-information.dk) the official legal information system of Denmark | Legal | 516.35M | [Danish Copyright Law] |
319
- | [hest] | Samples from the Danish debate forum www.heste-nettet.dk | Social Media | 389.32M | [CC-0] |
320
- | [opensubtitles] | Danish subsection of [OpenSubtitles](https://opus.nlpl.eu/OpenSubtitles/corpus/version/OpenSubtitles) | Conversations | 271.60M | [CC-0] |
321
- | [ai-aktindsigt] | Multiple web scrapes from municipality websites collected as a part of the [AI-aktindsigt](https://ai-aktindsigt.dk) project | Web | 139.23M | [Apache 2.0] |
322
- | [miljoeportalen] | Data from [Danmarks Miljøportalen](https://www.miljoeportal.dk/om-danmarks-miljoeportal/) (Denmark's Environment Portal) | Web | 127.38M | [CC-0] |
323
- | [skat] | Skat is the Danish tax authority. This dataset contains content from its website skat.dk | Legal | 122.11M | [CC-0] |
324
- | [wiki] | The Danish subsection of [wikipedia](https://en.wikipedia.org/wiki/Main_Page) | Encyclopedic | 122.00M | [CC-0] |
325
- | [ft] | Records from all meetings of The Danish parliament (Folketinget) in the parliament hall | Conversation | 114.09M | [CC-0] |
326
- | [ep] | The Danish subsection of [Europarl](https://aclanthology.org/2005.mtsummit-papers.11/) | Conversation | 100.84M | [CC-0] |
327
- | [adl] | Danish literature from 1700-2023 from the Archive for Danish Literature (ADL) | Books | 58.49M | [CC-0] |
328
- | [retspraksis] | Case law or judical practice in Denmark derived from [Retspraksis](https://da.wikipedia.org/wiki/Retspraksis) | Legal | 56.26M | [CC-0] |
329
- | [fm-udgivelser] | The official publication series of the Danish Ministry of Finance containing economic analyses, budget proposals, and fiscal policy documents | Legal | 50.34M | [CC-BY-SA 4.0] |
330
- | [nordjyllandnews] | Articles from the Danish Newspaper [TV2 Nord](https://www.tv2nord.dk) | News | 37.90M | [CC-0] |
331
- | [eur-lex-sum-da] | The Danish subsection of EUR-lex SUM consisting of EU legislation paired with professionally written summaries | Legal | 31.37M | [CC-BY-SA 4.0] |
332
- | [tv2r] | Contemporary Danish newswire articles published between 2010 and 2019 | News | 21.67M | [CC-BY-SA 4.0] |
333
- | [memo] | The MeMo corpus comprising almost all Danish novels from the period 1870-1899, known as the Modern Breakthrough | Books | 9.28M | [CC-BY-SA 4.0] |
334
- | [danske-taler] | Danish Speeches from [dansketaler.dk](https://www.dansketaler.dk) | Speeches | 8.23M | [CC-0] |
335
- | [nota] | The text only part of the [Nota lyd- og tekstdata](https://sprogteknologi.dk/dataset/nota-lyd-og-tekstdata) dataset | Readaloud | 7.30M | [CC-0] |
336
- | [gutenberg] | The Danish subsection from Project [Gutenberg](https://www.gutenberg.org) | Books | 6.76M | [Gutenberg] |
337
- | [wikibooks] | The Danish Subsection of [Wikibooks](https://www.wikibooks.org) | Encyclopedic | 6.24M | [CC-0] |
338
- | [wikisource] | The Danish subsection of [Wikisource](https://en.wikisource.org/wiki/Main_Page) | Encyclopedic | 5.34M | [CC-0] |
339
- | [jvj] | The works of the Danish author and poet, [Johannes V. Jensen](https://da.wikipedia.org/wiki/Johannes_V._Jensen) | Books | 3.55M | [CC-BY-SA 4.0] |
340
- | [spont] | Conversational samples collected as a part of research projects at Aarhus University | Conversations | 1.56M | [CC-0] |
341
- | [dannet] | [DanNet](https://cst.ku.dk/projekter/dannet) is a Danish WordNet | Other | 1.48M | [DanNet 1.0] |
342
- | [relig] | Danish religious text from the 1700-2022 | Books | 1.24M | [CC-0] |
343
- | [botxt] | The Bornholmsk Ordbog Dictionary Project | Dialect | 847.97K | [CC-0] |
344
- | [naat] | Danish speeches from 1930-2022 | Conversations | 286.68K | [CC-0] |
345
- | [depbank] | The Danish subsection of the [Universal Dependencies Treebank](https://github.com/UniversalDependencies/UD_Danish-DDT) | Other | 185.45K | [CC-BY-SA 4.0] |
346
- | [synne] | Dataset collected from [synnejysk forening's website](https://www.synnejysk.dk), covering the Danish dialect sønderjysk | Other | 52.02K | [CC-0] |
347
 
348
  [ai-aktindsigt]: data/ai-aktindsigt/ai-aktindsigt.md
349
  [cellar]: data/cellar/cellar.md
 
17
  data_files:
18
  - split: train
19
  path: data/danske-taler/*.parquet
20
+ - config_name: ncc_books
21
+ data_files:
22
+ - split: train
23
+ path: data/ncc_books/*.parquet
24
+ - config_name: ncc_newspapers
25
+ data_files:
26
+ - split: train
27
+ path: data/ncc_newspapers/*.parquet
28
+ - config_name: ncc_maalfrid
29
+ data_files:
30
+ - split: train
31
+ path: data/ncc_maalfrid/*.parquet
32
+ - config_name: ncc_parliament
33
+ data_files:
34
+ - split: train
35
+ path: data/ncc_parliament/*.parquet
36
  - config_name: eur-lex-sum-da
37
  data_files:
38
  - split: train
 
190
  <!-- START README TABLE -->
191
  | | |
192
  | ------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------- |
193
+ | **Version** | 1.1.0 ([Changelog](/CHANGELOG.md)) |
194
  | **Language** | dan, dansk, Danish |
195
+ | **License** | Openly Licensed, See the respective dataset |
196
  | **Models** | For model trained used this data see [danish-foundation-models](https://huggingface.co/danish-foundation-models) |
197
  | **Contact** | If you have question about this project please create an issue [here](https://huggingface.co/datasets/danish-foundation-models/danish-dynaword/discussions) |
198
 
 
327
  Below follows a brief overview of the sources in the corpus along with their individual license.
328
 
329
  <!-- START-MAIN TABLE -->
330
+ | Source | Description | Domain | N. Tokens | License |
331
+ | :------------------ | :-------------------------------------------------------------------------------------------------------------------------------------------- | :------------ | :-------- | :--------------------- |
332
+ | **Total** | | | 3.36B | |
333
+ | [cellar] | The official digital repository for European Union legal documents and open data | Legal | 1.15B | [CC-BY-SA 4.0] |
334
+ | [retsinformationdk] | [retsinformation.dk](https://www.retsinformation.dk) (legal-information.dk) the official legal information system of Denmark | Legal | 516.35M | [Danish Copyright Law] |
335
+ | [hest] | Samples from the Danish debate forum www.heste-nettet.dk | Social Media | 389.32M | [CC-0] |
336
+ | [opensubtitles] | Danish subsection of [OpenSubtitles](https://opus.nlpl.eu/OpenSubtitles/corpus/version/OpenSubtitles) | Conversations | 271.60M | [CC-0] |
337
+ | [ai-aktindsigt] | Multiple web scrapes from municipality websites collected as a part of the [AI-aktindsigt](https://ai-aktindsigt.dk) project | Web | 139.23M | [Apache 2.0] |
338
+ | [miljoeportalen] | Data from [Danmarks Miljøportalen](https://www.miljoeportal.dk/om-danmarks-miljoeportal/) (Denmark's Environment Portal) | Web | 127.38M | [CC-0] |
339
+ | [skat] | Skat is the Danish tax authority. This dataset contains content from its website skat.dk | Legal | 122.11M | [CC-0] |
340
+ | [wiki] | The Danish subsection of [wikipedia](https://en.wikipedia.org/wiki/Main_Page) | Encyclopedic | 122.00M | [CC-0] |
341
+ | [ft] | Records from all meetings of The Danish parliament (Folketinget) in the parliament hall | Conversation | 114.09M | [CC-0] |
342
+ | [ep] | The Danish subsection of [Europarl](https://aclanthology.org/2005.mtsummit-papers.11/) | Conversation | 100.84M | [CC-0] |
343
+ | [adl] | Danish literature from 1700-2023 from the Archive for Danish Literature (ADL) | Books | 58.49M | [CC-0] |
344
+ | [retspraksis] | Case law or judical practice in Denmark derived from [Retspraksis](https://da.wikipedia.org/wiki/Retspraksis) | Legal | 56.26M | [CC-0] |
345
+ | [fm-udgivelser] | The official publication series of the Danish Ministry of Finance containing economic analyses, budget proposals, and fiscal policy documents | Legal | 50.34M | [CC-BY-SA 4.0] |
346
+ | [nordjyllandnews] | Articles from the Danish Newspaper [TV2 Nord](https://www.tv2nord.dk) | News | 37.90M | [CC-0] |
347
+ | [eur-lex-sum-da] | The Danish subsection of EUR-lex SUM consisting of EU legislation paired with professionally written summaries | Legal | 31.37M | [CC-BY-SA 4.0] |
348
+ | [tv2r] | Contemporary Danish newswire articles published between 2010 and 2019 | News | 21.67M | [CC-BY-SA 4.0] |
349
+ | [memo] | The MeMo corpus comprising almost all Danish novels from the period 1870-1899, known as the Modern Breakthrough | Books | 9.28M | [CC-BY-SA 4.0] |
350
+ | [danske-taler] | Danish Speeches from [dansketaler.dk](https://www.dansketaler.dk) | Speeches | 8.23M | [CC-0] |
351
+ | [nota] | The text only part of the [Nota lyd- og tekstdata](https://sprogteknologi.dk/dataset/nota-lyd-og-tekstdata) dataset | Readaloud | 7.30M | [CC-0] |
352
+ | [gutenberg] | The Danish subsection from Project [Gutenberg](https://www.gutenberg.org) | Books | 6.76M | [Gutenberg] |
353
+ | [wikibooks] | The Danish Subsection of [Wikibooks](https://www.wikibooks.org) | Encyclopedic | 6.24M | [CC-0] |
354
+ | [wikisource] | The Danish subsection of [Wikisource](https://en.wikisource.org/wiki/Main_Page) | Encyclopedic | 5.34M | [CC-0] |
355
+ | [jvj] | The works of the Danish author and poet, [Johannes V. Jensen](https://da.wikipedia.org/wiki/Johannes_V._Jensen) | Books | 3.55M | [CC-BY-SA 4.0] |
356
+ | [spont] | Conversational samples collected as a part of research projects at Aarhus University | Conversations | 1.56M | [CC-0] |
357
+ | [dannet] | [DanNet](https://cst.ku.dk/projekter/dannet) is a Danish WordNet | Other | 1.48M | [DanNet 1.0] |
358
+ | [relig] | Danish religious text from the 1700-2022 | Books | 1.24M | [CC-0] |
359
+ | [botxt] | The Bornholmsk Ordbog Dictionary Project | Dialect | 847.97K | [CC-0] |
360
+ | [naat] | Danish speeches from 1930-2022 | Conversations | 286.68K | [CC-0] |
361
+ | [depbank] | The Danish subsection of the [Universal Dependencies Treebank](https://github.com/UniversalDependencies/UD_Danish-DDT) | Other | 185.45K | [CC-BY-SA 4.0] |
362
+ | [synne] | Dataset collected from [synnejysk forening's website](https://www.synnejysk.dk), covering the Danish dialect sønderjysk | Other | 52.02K | [CC-0] |
363
 
364
  [ai-aktindsigt]: data/ai-aktindsigt/ai-aktindsigt.md
365
  [cellar]: data/cellar/cellar.md
clean_and_deduplicate.py CHANGED
@@ -6,10 +6,10 @@ from datasets import Dataset, load_dataset
6
 
7
  from dynaword.datasheet import DataSheet
8
  from dynaword.process_dataset import (
 
9
  ensure_column_order,
10
- # add_token_count,
11
- # remove_duplicate_text,
12
- # remove_empty_texts,
13
  )
14
 
15
  logger = logging.getLogger(__name__)
@@ -30,14 +30,17 @@ for dataset_cfg in sheet.frontmatter["configs"][1:]:
30
  ds = load_dataset(_data_path.as_posix(), split="train")
31
 
32
  ds = cast(Dataset, ds)
 
 
 
33
 
34
  cols_to_remove = [
35
  c for c in ds.column_names if c in ["license", "metadata", "domain"]
36
  ]
37
  ds = ds.remove_columns(cols_to_remove)
38
- # ds = add_token_count(ds)
39
- # ds = remove_empty_texts(ds)
40
- # ds = remove_duplicate_text(ds)
41
  ds = ensure_column_order(ds)
42
 
43
  # save dataset
 
6
 
7
  from dynaword.datasheet import DataSheet
8
  from dynaword.process_dataset import (
9
+ add_token_count,
10
  ensure_column_order,
11
+ remove_duplicate_text,
12
+ remove_empty_texts,
 
13
  )
14
 
15
  logger = logging.getLogger(__name__)
 
30
  ds = load_dataset(_data_path.as_posix(), split="train")
31
 
32
  ds = cast(Dataset, ds)
33
+ if "token_count" in ds.column_names:
34
+ logger.info("Token count already exists, skipping")
35
+ continue
36
 
37
  cols_to_remove = [
38
  c for c in ds.column_names if c in ["license", "metadata", "domain"]
39
  ]
40
  ds = ds.remove_columns(cols_to_remove)
41
+ ds = add_token_count(ds)
42
+ ds = remove_empty_texts(ds)
43
+ ds = remove_duplicate_text(ds)
44
  ds = ensure_column_order(ds)
45
 
46
  # save dataset
data/ncc_books/ncc_books.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:573d5383e77c46433c8d311dc82decad28171ca5a93fbc794c746d5c19622ee1
3
- size 978600075
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4b3f2cc7fbfc6fdf31ee760d65a38f489846b89c22ea87ba4b444c9ebfe56bd1
3
+ size 978761307
data/ncc_maalfrid/ncc_maalfrid.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:cbd78231ab0d8bf217d43e74fff25f6746f1667219002242ab9fe93e8f660ae2
3
- size 54719348
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:61c5d07f6634386872cc94aa6e2f670bb5d928364360fa934565c35b8fd1ba5d
3
+ size 54970623
data/ncc_newspapers/ncc_newspapers.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:9b7c44c949f42d2fee6cab10b6b565511374592e57ce6f12aa1c1e3f3f57f485
3
- size 427218
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:670fd0207f7b1a24b0f0fdaba4c78690067b078ecd17a87496be49359a74eb0d
3
+ size 428063
data/ncc_parliament/ncc_parliament.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:2d95c88eb66289cd0cee6396a0003c848a62065adaf5e7343e80045b1b62d7a3
3
- size 540988412
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:41256bd4001d87fc05c81a4757b5203c01cb7bb9b7ea7d7d3ac89c3c5c393951
3
+ size 541074238
pyproject.toml CHANGED
@@ -1,6 +1,6 @@
1
  [project]
2
  name = "dynaword"
3
- version = "1.0.11"
4
  description = "project code for the danish dynaword project"
5
  readme = "README.md"
6
  requires-python = ">=3.12,<3.13" # 3.13 have issues with spacy and pytorch
@@ -13,6 +13,8 @@ dependencies = [
13
  "plotnine>=0.14.5", # figures
14
  "tomlkit>=0.13.2", # reading toml
15
  "transformers>=4.47.1", # tokenization
 
 
16
  ]
17
 
18
  [dependency-groups]
 
1
  [project]
2
  name = "dynaword"
3
+ version = "1.1.0"
4
  description = "project code for the danish dynaword project"
5
  readme = "README.md"
6
  requires-python = ">=3.12,<3.13" # 3.13 have issues with spacy and pytorch
 
13
  "plotnine>=0.14.5", # figures
14
  "tomlkit>=0.13.2", # reading toml
15
  "transformers>=4.47.1", # tokenization
16
+ "plotly>=6.0.1",
17
+ "nbformat>=4.2.0",
18
  ]
19
 
20
  [dependency-groups]
src/dynaword/plots.py CHANGED
@@ -2,17 +2,35 @@ import logging
2
  from pathlib import Path
3
 
4
  import pandas as pd
 
5
  import plotnine as pn
6
  from datasets import Dataset
7
 
 
 
8
  logger = logging.getLogger(__name__)
9
 
10
 
11
- # TODO:
12
- # make double pie chart
13
- # inner layer: Domains
14
- # Outer layer: source
 
 
 
 
 
 
15
 
 
 
 
 
 
 
 
 
 
16
 
17
  def create_descriptive_statistics_plots(
18
  dataset: Dataset,
 
2
  from pathlib import Path
3
 
4
  import pandas as pd
5
+ import plotly.express as px
6
  import plotnine as pn
7
  from datasets import Dataset
8
 
9
+ from dynaword.tables import create_overview_table
10
+
11
  logger = logging.getLogger(__name__)
12
 
13
 
14
+ def create_domain_distribution_plot(
15
+ save_dir: Path,
16
+ ):
17
+ df = create_overview_table(
18
+ add_readable_tokens=False, add_total_row=False, add_readme_references=False
19
+ )
20
+ fig = px.sunburst(df, path=["Domain", "Source"], values="N. Tokens")
21
+
22
+ fig.update_traces(textinfo="label+percent entry")
23
+ fig.update_layout(title="Dataset Distribution by Domain and Source")
24
 
25
+ img_path = save_dir / "images"
26
+ img_path.mkdir(parents=False, exist_ok=True)
27
+ save_path = img_path / "domain_distribution.png"
28
+ fig.write_image(
29
+ save_path,
30
+ width=800,
31
+ height=800,
32
+ scale=2,
33
+ )
34
 
35
  def create_descriptive_statistics_plots(
36
  dataset: Dataset,
uv.lock CHANGED
@@ -258,11 +258,13 @@ wheels = [
258
 
259
  [[package]]
260
  name = "dynaword"
261
- version = "1.0.11"
262
  source = { editable = "." }
263
  dependencies = [
264
  { name = "datasets" },
265
  { name = "gitpython" },
 
 
266
  { name = "plotnine" },
267
  { name = "pydantic" },
268
  { name = "tabulate" },
@@ -282,6 +284,8 @@ dev = [
282
  requires-dist = [
283
  { name = "datasets", specifier = ">=3.0.0" },
284
  { name = "gitpython", specifier = ">=3.1.43" },
 
 
285
  { name = "plotnine", specifier = ">=0.14.5" },
286
  { name = "pydantic", specifier = ">=2.10.4" },
287
  { name = "tabulate", specifier = ">=0.9.0" },
@@ -306,6 +310,15 @@ wheels = [
306
  { url = "https://files.pythonhosted.org/packages/b5/fd/afcd0496feca3276f509df3dbd5dae726fcc756f1a08d9e25abe1733f962/executing-2.1.0-py2.py3-none-any.whl", hash = "sha256:8d63781349375b5ebccc3142f4b30350c0cd9c79f921cde38be2be4637e98eaf", size = 25805 },
307
  ]
308
 
 
 
 
 
 
 
 
 
 
309
  [[package]]
310
  name = "filelock"
311
  version = "3.16.1"
@@ -486,6 +499,33 @@ wheels = [
486
  { url = "https://files.pythonhosted.org/packages/c0/5a/9cac0c82afec3d09ccd97c8b6502d48f165f9124db81b4bcb90b4af974ee/jedi-0.19.2-py2.py3-none-any.whl", hash = "sha256:a8ef22bde8490f57fe5c7681a3c83cb58874daf72b4784de3cce5b6ef6edb5b9", size = 1572278 },
487
  ]
488
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
489
  [[package]]
490
  name = "jupyter-client"
491
  version = "8.6.3"
@@ -631,6 +671,30 @@ wheels = [
631
  { url = "https://files.pythonhosted.org/packages/da/d9/f7f9379981e39b8c2511c9e0326d212accacb82f12fbfdc1aa2ce2a7b2b6/multiprocess-0.70.16-py39-none-any.whl", hash = "sha256:a0bafd3ae1b732eac64be2e72038231c1ba97724b60b09400d68f229fcc2fbf3", size = 133351 },
632
  ]
633
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
634
  [[package]]
635
  name = "nest-asyncio"
636
  version = "1.6.0"
@@ -758,6 +822,19 @@ wheels = [
758
  { url = "https://files.pythonhosted.org/packages/3c/a6/bc1012356d8ece4d66dd75c4b9fc6c1f6650ddd5991e421177d9f8f671be/platformdirs-4.3.6-py3-none-any.whl", hash = "sha256:73e575e1408ab8103900836b97580d5307456908a03e92031bab39e4554cc3fb", size = 18439 },
759
  ]
760
 
 
 
 
 
 
 
 
 
 
 
 
 
 
761
  [[package]]
762
  name = "plotnine"
763
  version = "0.14.5"
@@ -1021,6 +1098,20 @@ wheels = [
1021
  { url = "https://files.pythonhosted.org/packages/5f/0e/eb16ff731632d30554bf5af4dbba3ffcd04518219d82028aea4ae1b02ca5/pyzmq-26.2.0-cp312-cp312-win_arm64.whl", hash = "sha256:4d29ab8592b6ad12ebbf92ac2ed2bedcfd1cec192d8e559e2e099f648570e19b", size = 540675 },
1022
  ]
1023
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1024
  [[package]]
1025
  name = "regex"
1026
  version = "2024.11.6"
@@ -1059,6 +1150,27 @@ wheels = [
1059
  { url = "https://files.pythonhosted.org/packages/f9/9b/335f9764261e915ed497fcdeb11df5dfd6f7bf257d4a6a2a686d80da4d54/requests-2.32.3-py3-none-any.whl", hash = "sha256:70761cfe03c773ceb22aa2f671b4757976145175cdfca038c02654d061d6dcc6", size = 64928 },
1060
  ]
1061
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1062
  [[package]]
1063
  name = "ruff"
1064
  version = "0.8.5"
 
258
 
259
  [[package]]
260
  name = "dynaword"
261
+ version = "1.1.0"
262
  source = { editable = "." }
263
  dependencies = [
264
  { name = "datasets" },
265
  { name = "gitpython" },
266
+ { name = "nbformat" },
267
+ { name = "plotly" },
268
  { name = "plotnine" },
269
  { name = "pydantic" },
270
  { name = "tabulate" },
 
284
  requires-dist = [
285
  { name = "datasets", specifier = ">=3.0.0" },
286
  { name = "gitpython", specifier = ">=3.1.43" },
287
+ { name = "nbformat", specifier = ">=4.2.0" },
288
+ { name = "plotly", specifier = ">=6.0.1" },
289
  { name = "plotnine", specifier = ">=0.14.5" },
290
  { name = "pydantic", specifier = ">=2.10.4" },
291
  { name = "tabulate", specifier = ">=0.9.0" },
 
310
  { url = "https://files.pythonhosted.org/packages/b5/fd/afcd0496feca3276f509df3dbd5dae726fcc756f1a08d9e25abe1733f962/executing-2.1.0-py2.py3-none-any.whl", hash = "sha256:8d63781349375b5ebccc3142f4b30350c0cd9c79f921cde38be2be4637e98eaf", size = 25805 },
311
  ]
312
 
313
+ [[package]]
314
+ name = "fastjsonschema"
315
+ version = "2.21.1"
316
+ source = { registry = "https://pypi.org/simple" }
317
+ sdist = { url = "https://files.pythonhosted.org/packages/8b/50/4b769ce1ac4071a1ef6d86b1a3fb56cdc3a37615e8c5519e1af96cdac366/fastjsonschema-2.21.1.tar.gz", hash = "sha256:794d4f0a58f848961ba16af7b9c85a3e88cd360df008c59aac6fc5ae9323b5d4", size = 373939 }
318
+ wheels = [
319
+ { url = "https://files.pythonhosted.org/packages/90/2b/0817a2b257fe88725c25589d89aec060581aabf668707a8d03b2e9e0cb2a/fastjsonschema-2.21.1-py3-none-any.whl", hash = "sha256:c9e5b7e908310918cf494a434eeb31384dd84a98b57a30bcb1f535015b554667", size = 23924 },
320
+ ]
321
+
322
  [[package]]
323
  name = "filelock"
324
  version = "3.16.1"
 
499
  { url = "https://files.pythonhosted.org/packages/c0/5a/9cac0c82afec3d09ccd97c8b6502d48f165f9124db81b4bcb90b4af974ee/jedi-0.19.2-py2.py3-none-any.whl", hash = "sha256:a8ef22bde8490f57fe5c7681a3c83cb58874daf72b4784de3cce5b6ef6edb5b9", size = 1572278 },
500
  ]
501
 
502
+ [[package]]
503
+ name = "jsonschema"
504
+ version = "4.23.0"
505
+ source = { registry = "https://pypi.org/simple" }
506
+ dependencies = [
507
+ { name = "attrs" },
508
+ { name = "jsonschema-specifications" },
509
+ { name = "referencing" },
510
+ { name = "rpds-py" },
511
+ ]
512
+ sdist = { url = "https://files.pythonhosted.org/packages/38/2e/03362ee4034a4c917f697890ccd4aec0800ccf9ded7f511971c75451deec/jsonschema-4.23.0.tar.gz", hash = "sha256:d71497fef26351a33265337fa77ffeb82423f3ea21283cd9467bb03999266bc4", size = 325778 }
513
+ wheels = [
514
+ { url = "https://files.pythonhosted.org/packages/69/4a/4f9dbeb84e8850557c02365a0eee0649abe5eb1d84af92a25731c6c0f922/jsonschema-4.23.0-py3-none-any.whl", hash = "sha256:fbadb6f8b144a8f8cf9f0b89ba94501d143e50411a1278633f56a7acf7fd5566", size = 88462 },
515
+ ]
516
+
517
+ [[package]]
518
+ name = "jsonschema-specifications"
519
+ version = "2025.4.1"
520
+ source = { registry = "https://pypi.org/simple" }
521
+ dependencies = [
522
+ { name = "referencing" },
523
+ ]
524
+ sdist = { url = "https://files.pythonhosted.org/packages/bf/ce/46fbd9c8119cfc3581ee5643ea49464d168028cfb5caff5fc0596d0cf914/jsonschema_specifications-2025.4.1.tar.gz", hash = "sha256:630159c9f4dbea161a6a2205c3011cc4f18ff381b189fff48bb39b9bf26ae608", size = 15513 }
525
+ wheels = [
526
+ { url = "https://files.pythonhosted.org/packages/01/0e/b27cdbaccf30b890c40ed1da9fd4a3593a5cf94dae54fb34f8a4b74fcd3f/jsonschema_specifications-2025.4.1-py3-none-any.whl", hash = "sha256:4653bffbd6584f7de83a67e0d620ef16900b390ddc7939d56684d6c81e33f1af", size = 18437 },
527
+ ]
528
+
529
  [[package]]
530
  name = "jupyter-client"
531
  version = "8.6.3"
 
671
  { url = "https://files.pythonhosted.org/packages/da/d9/f7f9379981e39b8c2511c9e0326d212accacb82f12fbfdc1aa2ce2a7b2b6/multiprocess-0.70.16-py39-none-any.whl", hash = "sha256:a0bafd3ae1b732eac64be2e72038231c1ba97724b60b09400d68f229fcc2fbf3", size = 133351 },
672
  ]
673
 
674
+ [[package]]
675
+ name = "narwhals"
676
+ version = "1.38.2"
677
+ source = { registry = "https://pypi.org/simple" }
678
+ sdist = { url = "https://files.pythonhosted.org/packages/dd/fa/f4c2b2524b6b1e7475af933849ecaad280822eab5631151ccb1993d600ce/narwhals-1.38.2.tar.gz", hash = "sha256:7c5fbc9f2b8e1d5d95f49dcef9c2d94bf17810de68c87ff195dc7d22f7b3eeb5", size = 277368 }
679
+ wheels = [
680
+ { url = "https://files.pythonhosted.org/packages/56/45/59251121eb801f033ffdd56d8893a0f20ec661bdc362f8d52a4e4d547f91/narwhals-1.38.2-py3-none-any.whl", hash = "sha256:a33a182e32f18d794a04e7828a5c401fb26ce9083f609993e7e5064aace641c7", size = 338437 },
681
+ ]
682
+
683
+ [[package]]
684
+ name = "nbformat"
685
+ version = "5.10.4"
686
+ source = { registry = "https://pypi.org/simple" }
687
+ dependencies = [
688
+ { name = "fastjsonschema" },
689
+ { name = "jsonschema" },
690
+ { name = "jupyter-core" },
691
+ { name = "traitlets" },
692
+ ]
693
+ sdist = { url = "https://files.pythonhosted.org/packages/6d/fd/91545e604bc3dad7dca9ed03284086039b294c6b3d75c0d2fa45f9e9caf3/nbformat-5.10.4.tar.gz", hash = "sha256:322168b14f937a5d11362988ecac2a4952d3d8e3a2cbeb2319584631226d5b3a", size = 142749 }
694
+ wheels = [
695
+ { url = "https://files.pythonhosted.org/packages/a9/82/0340caa499416c78e5d8f5f05947ae4bc3cba53c9f038ab6e9ed964e22f1/nbformat-5.10.4-py3-none-any.whl", hash = "sha256:3b48d6c8fbca4b299bf3982ea7db1af21580e4fec269ad087b9e81588891200b", size = 78454 },
696
+ ]
697
+
698
  [[package]]
699
  name = "nest-asyncio"
700
  version = "1.6.0"
 
822
  { url = "https://files.pythonhosted.org/packages/3c/a6/bc1012356d8ece4d66dd75c4b9fc6c1f6650ddd5991e421177d9f8f671be/platformdirs-4.3.6-py3-none-any.whl", hash = "sha256:73e575e1408ab8103900836b97580d5307456908a03e92031bab39e4554cc3fb", size = 18439 },
823
  ]
824
 
825
+ [[package]]
826
+ name = "plotly"
827
+ version = "6.0.1"
828
+ source = { registry = "https://pypi.org/simple" }
829
+ dependencies = [
830
+ { name = "narwhals" },
831
+ { name = "packaging" },
832
+ ]
833
+ sdist = { url = "https://files.pythonhosted.org/packages/c7/cc/e41b5f697ae403f0b50e47b7af2e36642a193085f553bf7cc1169362873a/plotly-6.0.1.tar.gz", hash = "sha256:dd8400229872b6e3c964b099be699f8d00c489a974f2cfccfad5e8240873366b", size = 8094643 }
834
+ wheels = [
835
+ { url = "https://files.pythonhosted.org/packages/02/65/ad2bc85f7377f5cfba5d4466d5474423a3fb7f6a97fd807c06f92dd3e721/plotly-6.0.1-py3-none-any.whl", hash = "sha256:4714db20fea57a435692c548a4eb4fae454f7daddf15f8d8ba7e1045681d7768", size = 14805757 },
836
+ ]
837
+
838
  [[package]]
839
  name = "plotnine"
840
  version = "0.14.5"
 
1098
  { url = "https://files.pythonhosted.org/packages/5f/0e/eb16ff731632d30554bf5af4dbba3ffcd04518219d82028aea4ae1b02ca5/pyzmq-26.2.0-cp312-cp312-win_arm64.whl", hash = "sha256:4d29ab8592b6ad12ebbf92ac2ed2bedcfd1cec192d8e559e2e099f648570e19b", size = 540675 },
1099
  ]
1100
 
1101
+ [[package]]
1102
+ name = "referencing"
1103
+ version = "0.36.2"
1104
+ source = { registry = "https://pypi.org/simple" }
1105
+ dependencies = [
1106
+ { name = "attrs" },
1107
+ { name = "rpds-py" },
1108
+ { name = "typing-extensions" },
1109
+ ]
1110
+ sdist = { url = "https://files.pythonhosted.org/packages/2f/db/98b5c277be99dd18bfd91dd04e1b759cad18d1a338188c936e92f921c7e2/referencing-0.36.2.tar.gz", hash = "sha256:df2e89862cd09deabbdba16944cc3f10feb6b3e6f18e902f7cc25609a34775aa", size = 74744 }
1111
+ wheels = [
1112
+ { url = "https://files.pythonhosted.org/packages/c1/b1/3baf80dc6d2b7bc27a95a67752d0208e410351e3feb4eb78de5f77454d8d/referencing-0.36.2-py3-none-any.whl", hash = "sha256:e8699adbbf8b5c7de96d8ffa0eb5c158b3beafce084968e2ea8bb08c6794dcd0", size = 26775 },
1113
+ ]
1114
+
1115
  [[package]]
1116
  name = "regex"
1117
  version = "2024.11.6"
 
1150
  { url = "https://files.pythonhosted.org/packages/f9/9b/335f9764261e915ed497fcdeb11df5dfd6f7bf257d4a6a2a686d80da4d54/requests-2.32.3-py3-none-any.whl", hash = "sha256:70761cfe03c773ceb22aa2f671b4757976145175cdfca038c02654d061d6dcc6", size = 64928 },
1151
  ]
1152
 
1153
+ [[package]]
1154
+ name = "rpds-py"
1155
+ version = "0.24.0"
1156
+ source = { registry = "https://pypi.org/simple" }
1157
+ sdist = { url = "https://files.pythonhosted.org/packages/0b/b3/52b213298a0ba7097c7ea96bee95e1947aa84cc816d48cebb539770cdf41/rpds_py-0.24.0.tar.gz", hash = "sha256:772cc1b2cd963e7e17e6cc55fe0371fb9c704d63e44cacec7b9b7f523b78919e", size = 26863 }
1158
+ wheels = [
1159
+ { url = "https://files.pythonhosted.org/packages/1a/e0/1c55f4a3be5f1ca1a4fd1f3ff1504a1478c1ed48d84de24574c4fa87e921/rpds_py-0.24.0-cp312-cp312-macosx_10_12_x86_64.whl", hash = "sha256:d8551e733626afec514b5d15befabea0dd70a343a9f23322860c4f16a9430205", size = 366945 },
1160
+ { url = "https://files.pythonhosted.org/packages/39/1b/a3501574fbf29118164314dbc800d568b8c1c7b3258b505360e8abb3902c/rpds_py-0.24.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:0e374c0ce0ca82e5b67cd61fb964077d40ec177dd2c4eda67dba130de09085c7", size = 351935 },
1161
+ { url = "https://files.pythonhosted.org/packages/dc/47/77d3d71c55f6a374edde29f1aca0b2e547325ed00a9da820cabbc9497d2b/rpds_py-0.24.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:d69d003296df4840bd445a5d15fa5b6ff6ac40496f956a221c4d1f6f7b4bc4d9", size = 390817 },
1162
+ { url = "https://files.pythonhosted.org/packages/4e/ec/1e336ee27484379e19c7f9cc170f4217c608aee406d3ae3a2e45336bff36/rpds_py-0.24.0-cp312-cp312-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:8212ff58ac6dfde49946bea57474a386cca3f7706fc72c25b772b9ca4af6b79e", size = 401983 },
1163
+ { url = "https://files.pythonhosted.org/packages/07/f8/39b65cbc272c635eaea6d393c2ad1ccc81c39eca2db6723a0ca4b2108fce/rpds_py-0.24.0-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:528927e63a70b4d5f3f5ccc1fa988a35456eb5d15f804d276709c33fc2f19bda", size = 451719 },
1164
+ { url = "https://files.pythonhosted.org/packages/32/05/05c2b27dd9c30432f31738afed0300659cb9415db0ff7429b05dfb09bbde/rpds_py-0.24.0-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:a824d2c7a703ba6daaca848f9c3d5cb93af0505be505de70e7e66829affd676e", size = 442546 },
1165
+ { url = "https://files.pythonhosted.org/packages/7d/e0/19383c8b5d509bd741532a47821c3e96acf4543d0832beba41b4434bcc49/rpds_py-0.24.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:44d51febb7a114293ffd56c6cf4736cb31cd68c0fddd6aa303ed09ea5a48e029", size = 393695 },
1166
+ { url = "https://files.pythonhosted.org/packages/9d/15/39f14e96d94981d0275715ae8ea564772237f3fa89bc3c21e24de934f2c7/rpds_py-0.24.0-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:3fab5f4a2c64a8fb64fc13b3d139848817a64d467dd6ed60dcdd6b479e7febc9", size = 427218 },
1167
+ { url = "https://files.pythonhosted.org/packages/22/b9/12da7124905a680f690da7a9de6f11de770b5e359f5649972f7181c8bf51/rpds_py-0.24.0-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:9be4f99bee42ac107870c61dfdb294d912bf81c3c6d45538aad7aecab468b6b7", size = 568062 },
1168
+ { url = "https://files.pythonhosted.org/packages/88/17/75229017a2143d915f6f803721a6d721eca24f2659c5718a538afa276b4f/rpds_py-0.24.0-cp312-cp312-musllinux_1_2_i686.whl", hash = "sha256:564c96b6076a98215af52f55efa90d8419cc2ef45d99e314fddefe816bc24f91", size = 596262 },
1169
+ { url = "https://files.pythonhosted.org/packages/aa/64/8e8a1d8bd1b6b638d6acb6d41ab2cec7f2067a5b8b4c9175703875159a7c/rpds_py-0.24.0-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:75a810b7664c17f24bf2ffd7f92416c00ec84b49bb68e6a0d93e542406336b56", size = 564306 },
1170
+ { url = "https://files.pythonhosted.org/packages/68/1c/a7eac8d8ed8cb234a9b1064647824c387753343c3fab6ed7c83481ed0be7/rpds_py-0.24.0-cp312-cp312-win32.whl", hash = "sha256:f6016bd950be4dcd047b7475fdf55fb1e1f59fc7403f387be0e8123e4a576d30", size = 224281 },
1171
+ { url = "https://files.pythonhosted.org/packages/bb/46/b8b5424d1d21f2f2f3f2d468660085318d4f74a8df8289e3dd6ad224d488/rpds_py-0.24.0-cp312-cp312-win_amd64.whl", hash = "sha256:998c01b8e71cf051c28f5d6f1187abbdf5cf45fc0efce5da6c06447cba997034", size = 239719 },
1172
+ ]
1173
+
1174
  [[package]]
1175
  name = "ruff"
1176
  version = "0.8.5"