Skip to content

Commit 99c7d45

Browse files
committed
Merge remote-tracking branch 'upstream/master' into shellfish
2 parents d9a69f8 + 81fe7cc commit 99c7d45

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+9184
-65
lines changed

.github/workflows/test.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
11
name: Test
22

3-
on: [push, pull_request]
3+
on: [push, pull_request, workflow_dispatch]
44

55
jobs:
66
test:
7-
runs-on: ubuntu-18.04
7+
runs-on: ubuntu-latest
88

99
steps:
10-
- uses: actions/checkout@v2
10+
- uses: actions/checkout@v3
1111

1212
- name: Set up node
13-
uses: actions/setup-node@v1
13+
uses: actions/setup-node@v3
1414
with:
1515
python-version: '10.x'
1616

1717
- name: Set up Python
18-
uses: actions/setup-python@v1
18+
uses: actions/setup-python@v4
1919
with:
20-
python-version: '3.8'
20+
python-version: '3.x'
2121

2222
- name: Install dependencies
2323
run: |

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ This project is not meant to replace exhaustive APIs -- if you want nouns, and y
2020

2121
## What is Corpora?
2222

23-
* Corpora is repository of JSON files, meant to be language-neutral. If you want to create an NPM repo or whatever based on this, be my guest, but this repository will remain a collection of data files that can be interpreted by any language that can parse JSON.
23+
* Corpora is a repository of JSON files, meant to be language-neutral. If you want to create an NPM repo or whatever based on this, be my guest, but this repository will remain a collection of data files that can be interpreted by any language that can parse JSON.
2424
* Corpora is a collection of _small_ files. It is not meant to be an exhaustive source of anything: a list of resources should contain somewhere in the vicinity of 1000 items.
2525
* For example, Corpora will not contain any complete "dictionary" style files. Instead we host a sampling of 1000 common nouns, adjectives, and verbs.
2626
* Some lists are small enough by nature that we may contain a complete list of things in their category. For example, a list of heavily populated U.S. cities may only have 75 cities and be considered complete.
@@ -29,7 +29,7 @@ This project is not meant to replace exhaustive APIs -- if you want nouns, and y
2929

3030
* [corpora-project](https://www.npmjs.com/package/corpora-project), a Node.js NPM package for accessing corpora data offline.
3131
* [pycorpora](https://github.com/aparrish/pycorpora), a simple Python interface for corpora
32-
* [corpora-api](https://github.com/coleww/corpora-api), a Node.js server that offers up the corpora as a JSON API
32+
* [corpora-api](https://github.com/coleww/corpora-api), a Node.js server that offers up the corpora as a JSON API (now live at <https://corpora-api.glitch.me>)
3333

3434
## I have some data, how do I submit?
3535

data/animals/cats.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"description": "A list of cat breeds",
23
"cats":[
34
"Abyssinian",
45
"Aegean",
@@ -97,4 +98,4 @@
9798
"Turkish Van",
9899
"Ukrainian Levkoy"
99100
]
100-
}
101+
}

data/animals/common.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"description": "A list of common types of animals",
23
"animals":
34
[
45
"aardvark",

0 commit comments

Comments
 (0)