{"id":32157486,"url":"https://github.com/juliatext/corpusloaders.jl","last_synced_at":"2025-10-21T12:49:48.325Z","repository":{"id":46343540,"uuid":"66628944","full_name":"JuliaText/CorpusLoaders.jl","owner":"JuliaText","description":"A variety of loaders for various NLP corpora.","archived":false,"fork":false,"pushed_at":"2022-09-17T19:15:16.000Z","size":597,"stargazers_count":32,"open_issues_count":11,"forks_count":12,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-10-21T12:49:39.283Z","etag":null,"topics":["corpora","nlp"],"latest_commit_sha":null,"homepage":null,"language":"Julia","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/JuliaText.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-08-26T08:02:52.000Z","updated_at":"2023-04-05T16:32:22.000Z","dependencies_parsed_at":"2022-09-05T14:30:55.748Z","dependency_job_id":null,"html_url":"https://github.com/JuliaText/CorpusLoaders.jl","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/JuliaText/CorpusLoaders.jl","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JuliaText%2FCorpusLoaders.jl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JuliaText%2FCorpusLoaders.jl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JuliaText%2FCorpusLoaders.jl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JuliaText%2FCorpusLoaders.jl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JuliaText","download_url":"https://codeload.github.com/JuliaText/CorpusLoaders.jl/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JuliaText%2FCorpusLoaders.jl/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280264173,"owners_count":26300771,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-21T02:00:06.614Z","response_time":58,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["corpora","nlp"],"created_at":"2025-10-21T12:49:45.284Z","updated_at":"2025-10-21T12:49:48.320Z","avatar_url":"https://github.com/JuliaText.png","language":"Julia","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CorpusLoaders\nA collection of various means for loading various different corpora used in NLP.\n\n## Installation\nAs per the standard [Julia package installation](https://julialang.github.io/Pkg.jl/dev/managing-packages/#Adding-registered-packages-1):\n\n```julia\njulia\u003e Pkg.add(\"CorpusLoaders\")\n```\nAlso, in the Pkg REPL, the package can be added with the add command, as: \n```julia\npkg\u003e add CorpusLoaders\n```\n\n## Common Structure\nFor some corpus which we will say has type `Corpus`,\nit will have a constructior `Corpus(path)` where `path` argument is a path to the files describing it.\nThat path will default to a predefined data dependency, if not provided.\nThe data dependency will be downloaded the first time you call `Corpus()`.\nWhen the datadep resolves it will give full bibliograpghic details on the corpus etc.\nFor more on that like configuration details, see [DataDeps.jl](https://github.com/oxinabox/DataDeps.jl).\n\n\nEach corpus has a function `load(::Corpus)`.\nThis will return some iterator of data.\nIt is often lazy, e.g. using a `Channel`, as many corpora are too large to fit in memory comfortably.\nIt will often be an iterator of iterators of iterators ...\nDesigned to be manipulated by using [MultiResolutionIterators.jl](https://github.com/oxinabox/MultiResolutionIterators.jl).\nThe corpus type is an indexer for using named levels with MultiResolutionInterators.jl.\nso `lvls(Corpus, :para)` works.\n\n## Corpora\nFollow the links below for full docs on the usage of the corpora.\n\n - [WikiCorpus](docs/src/WikiCorpus.md)\n - [SemCor](docs/src/SemCor.md)\n - [Senseval3](docs/src/Senseval3.md)\n - [CoNLL](docs/src/CoNLL.md)\n - [IMDB movie reviews](docs/src/IMDB.md)\n - [Twitter sentiment dataset](docs/src/Twitter.md)\n - [Stanford Sentiment Treebank](docs/src/StanfordSentimentTreebank.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjuliatext%2Fcorpusloaders.jl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjuliatext%2Fcorpusloaders.jl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjuliatext%2Fcorpusloaders.jl/lists"}