--- license: cc-by-nc-sa-4.0 language: - sv pretty_name: Selma Lagerlof N-gram Counts configs: - config_name: unigrams data_files: - split: train path: "unigrams.jsonl" - config_name: bigrams data_files: - split: train path: "bigrams.jsonl" - config_name: trigrams data_files: - split: train path: "trigrams.jsonl" dataset_info: features: - name: ngram list: string - name: count dtype: int64 --- # Selma Lagerlof n-gram counts This dataset was produced for Language Technology Assignment 2 from the course's Swedish Selma Lagerlof corpus. Each JSONL row has an `ngram` string array and its integer `count`. The three configurations expose unigram, bigram, and trigram counts respectively. The files were generated by `2-language_models.ipynb` using Unicode-aware tokenization and explicit `` / `` sentence markers.