-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #26 from Ayushk4/doc_fix_patch
Fixing documentation
- Loading branch information
Showing
13 changed files
with
86 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,5 +4,5 @@ | |
*.swp | ||
**.ipynb_checkpoints | ||
|
||
/docs/build | ||
/docs/site | ||
docs/build | ||
docs/site |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[deps] | ||
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4" | ||
CorpusLoaders = "214a0ac2-f95b-54f7-a80b-442ed9c2c9e8" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,21 @@ | ||
using Documenter | ||
using CorpusLoaders | ||
|
||
makedocs(modules=[CorpusLoaders]) | ||
makedocs(modules = [CorpusLoaders], | ||
sitename = "CorpusLoaders", | ||
pages = [ | ||
"Home" => "index.md", | ||
"CoNLL" => "CoNLL.md", | ||
"IMDB" => "IMDB.md", | ||
"SemCor" => "SemCor.md", | ||
"Senseval3" => "Senseval3.md", | ||
"StanfordSentimentTreebank" => "StanfordSentimentTreebank.md", | ||
"Twitter" => "Twitter.md", | ||
"WikiCorpus" => "WikiCorpus.md", | ||
"API References" => "APIReference.md" | ||
]) | ||
|
||
|
||
deploydocs(deps = Deps.pip("mkdocs", "python-markdown-math"), | ||
repo = "github.com/oxinabox/CorpusLoaders.jl.git", | ||
osname = "linux") | ||
deploydocs(deps = Deps.pip("mkdocs", "python-markdown-math"), | ||
repo = "github.com/oxinabox/CorpusLoaders.jl.git" | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# API References | ||
|
||
```@autodocs | ||
Modules = [CorpusLoaders] | ||
Order = [:function, :type] | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,26 @@ | ||
```@autodocs | ||
Modules = [CorpusLoaders] | ||
Order = [:function, :type] | ||
``` | ||
# CorpusLoaders.jl | ||
|
||
A collection of various means for loading various different corpora used in NLP. | ||
|
||
## Installation | ||
|
||
pkg> add https://github.com/JuliaText/CorpusLoaders.jl | ||
|
||
## Common Structure | ||
|
||
For some corpus which we will say has type `Corpus`, | ||
it will have a constructior `Corpus(path)`` | ||
where `path` argument is a path to the files describing it. | ||
That path will default to a predefined data dependency, if not provided. | ||
The data dependency will be downloaded the first time you call `Corpus()`. | ||
When the datadep resolves it will give full bibliograpghic details on the corpus etc. | ||
For more on that like configuration details, see [DataDeps.jl](https://github.com/oxinabox/DataDeps.jl). | ||
|
||
Each corpus has a function `load(::Corpus)`. | ||
This will return some iterator of data. | ||
It is often lazy, e.g. using a `Channel`, | ||
as many corpora are too large to fit in memory comfortably. | ||
It will often be an iterator of iterators of iterators ... | ||
Designed to be manipulated by using [MultiResolutionIterators.jl](https://github.com/oxinabox/MultiResolutionIterators.jl). | ||
The corpus type is an indexer for using named levels with MultiResolutionInterators.jl, | ||
so `lvls(Corpus, :para)` works |
e8d5d61
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@JuliaRegistrator register()
e8d5d61
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Registration pull request created: JuliaRegistries/General/2638
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if Julia TagBot is installed, or can be done manually through the github interface, or via:
Also, note the warning: This looks like a new registration that registers version 0.3.0.
Ideally, you should register an initial release with 0.0.1, 0.1.0 or 1.0.0 version numbers
This can be safely ignored. However, if you want to fix this you can do so. Call register() again after making the fix. This will update the Pull request.