Add distributed corpora yaml option #339

Merged
merged 23 commits into from Jul 29, 2016

Conversation

Projects
None yet
3 participants
@kylepjohnson
Member

kylepjohnson commented Jul 29, 2016

This PR allows users to define repositories/corpora that are not hosted at https://github.com/cltk. They can do so by putting a file at ~/cltk_data/distributed_corpora.yaml with markup like so for each repo:

example_distributed_latin_corpus:
    git_remote: git@github.com:kylepjohnson/latin_corpus_newton_example.git
    language: latin
    type: text

@kylepjohnson kylepjohnson self-assigned this Jul 29, 2016

@coveralls

This comment has been minimized.

Show comment
Hide comment
@coveralls

coveralls Jul 29, 2016

Coverage Status

Coverage increased (+0.9%) to 81.406% when pulling 7ad4287 on kylepjohnson:master into e37cb2e on cltk:master.

Coverage Status

Coverage increased (+0.9%) to 81.406% when pulling 7ad4287 on kylepjohnson:master into e37cb2e on cltk:master.

@codecov-io

This comment has been minimized.

Show comment
Hide comment
@codecov-io

codecov-io Jul 29, 2016

Current coverage is 81.40% (diff: 92.01%)

Merging #339 into master will increase coverage by 0.93%

@@             master       #339   diff @@
==========================================
  Files            74         75     +1   
  Lines          4075       4523   +448   
  Methods           0          0          
  Messages          0          0          
  Branches          0          0          
==========================================
+ Hits           3279       3682   +403   
- Misses          796        841    +45   
  Partials          0          0          

Powered by Codecov. Last update e37cb2e...7ad4287

Current coverage is 81.40% (diff: 92.01%)

Merging #339 into master will increase coverage by 0.93%

@@             master       #339   diff @@
==========================================
  Files            74         75     +1   
  Lines          4075       4523   +448   
  Methods           0          0          
  Messages          0          0          
  Branches          0          0          
==========================================
+ Hits           3279       3682   +403   
- Misses          796        841    +45   
  Partials          0          0          

Powered by Codecov. Last update e37cb2e...7ad4287

@kylepjohnson kylepjohnson merged commit 4056792 into cltk:master Jul 29, 2016

3 checks passed

codecov/project 81.40% (+0.93%) compared to e37cb2e
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
coverage/coveralls Coverage increased (+0.9%) to 81.406%
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment