geepers-corpus

TotalClaw 作者 totalclaw

查询 COCA(当代美国英语语料库)语言学 API 的词频、搭配、索引和历史使用趋势。用于语言研究、写作帮助或了解美式英语中单词的实际使用方式。

安装 / 下载方式

TotalClaw CLI推荐
totalclaw install totalclaw:totalclaw~lukeslp-geepers-corpus
cURL直接下载,无需登录
curl -fsSL https://skills.taituai.com/api/skills/totalclaw%3Atotalclaw~lukeslp-geepers-corpus/file -o lukeslp-geepers-corpus.md
## 概述(中文)

查询 COCA(当代美国英语语料库)语言学 API 的词频、搭配、索引和历史使用趋势。用于语言研究、写作帮助或了解美式英语中单词的实际使用方式。

## 原文

# Dreamer Corpus

Access the COCA corpus API at `https://api.dr.eamer.dev`.

COCA contains 1+ billion words of contemporary American English from spoken, fiction, magazine, newspaper, and academic sources.

## Authentication

```bash
export DREAMER_API_KEY=your_key_here
```

## Endpoints

### Word Search / Concordance
```
GET https://api.dr.eamer.dev/v1/corpus/search?word=serendipity&limit=20
```
Returns KWIC (keyword-in-context) examples showing the word in actual usage.

### Collocations
```
GET https://api.dr.eamer.dev/v1/corpus/collocations?word=run&pos=verb&limit=20
```
Returns words that statistically co-occur with the target word (MI score, frequency).

### Frequency
```
GET https://api.dr.eamer.dev/v1/corpus/frequency?word=algorithm&genre=academic
```
Returns frequency per million words, with optional genre filter: `spoken`, `fiction`, `magazine`, `newspaper`, `academic`.

## When to Use
- Checking how formal or common a word is in real American English
- Finding natural collocations for writing assistance
- Linguistic research on word usage patterns
- Historical frequency trends across decades

## Don't Use When
- You need non-English corpora
- You need corpora other than contemporary American English (COCA is 1990-present)