researching-internet-slang-and-cultural-trends
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseResearching Internet Slang And Cultural Trends
研究网络俚语与文化趋势
Inputs
输入参数
| Parameter | Type | Required | Default | Notes |
|---|---|---|---|---|
| array | Optional | | Urban Dictionary search URLs |
| array | Optional | | Keywords/slang terms to search |
| number | Optional | Unlimited | Maximum definitions to return |
| string | Optional | — | JavaScript function to transform each output object |
| 参数 | 类型 | 是否必填 | 默认值 | 说明 |
|---|---|---|---|---|
| 数组 | 可选 | | Urban Dictionary的搜索URL |
| 数组 | 可选 | | 要搜索的关键词/俚语术语 |
| 数字 | 可选 | 无限制 | 要返回的最大定义数量 |
| 字符串 | 可选 | — | 用于转换每个输出对象的JavaScript函数 |
How to Run
运行方式
Using run_actor.js (recommended)
使用run_actor.js(推荐)
bash
undefinedbash
undefinedQuick answer (table)
快速输出(表格形式)
node scripts/run_actor.js --actor "apidojo~urbandictionary-scraper" --input '{"keywords": ["slay", "rizz", "no cap"], "maxItems": 5}'
node scripts/run_actor.js --actor "apidojo~urbandictionary-scraper" --input '{"keywords": ["slay", "rizz", "no cap"], "maxItems": 5}'
Save as CSV
保存为CSV文件
node scripts/run_actor.js --actor "apidojo~urbandictionary-scraper" --input '{"keywords": ["slay", "rizz", "no cap"], "maxItems": 5}' --output results.csv --format csv
node scripts/run_actor.js --actor "apidojo~urbandictionary-scraper" --input '{"keywords": ["slay", "rizz", "no cap"], "maxItems": 5}' --output results.csv --format csv
Save as JSON
保存为JSON文件
node scripts/run_actor.js --actor "apidojo~urbandictionary-scraper" --input '{"keywords": ["slay", "rizz", "no cap"], "maxItems": 5}' --output results.json --format json
undefinednode scripts/run_actor.js --actor "apidojo~urbandictionary-scraper" --input '{"keywords": ["slay", "rizz", "no cap"], "maxItems": 5}' --output results.json --format json
undefinedREST API fallback
备用REST API方式
bash
curl -X POST "https://api.apify.com/v2/acts/apidojo~urbandictionary-scraper/runs" \
-H "Authorization: Bearer $APIFY_TOKEN" \
-H "Content-Type: application/json" \
-d '{"keywords": ["slay", "rizz", "no cap"], "maxItems": 5}'If Apify MCP is available:
Use the Apify MCP tool with actor and the input above.
call_actorapidojo~urbandictionary-scraperbash
curl -X POST "https://api.apify.com/v2/acts/apidojo~urbandictionary-scraper/runs" \
-H "Authorization: Bearer $APIFY_TOKEN" \
-H "Content-Type: application/json" \
-d '{"keywords": ["slay", "rizz", "no cap"], "maxItems": 5}'如果Apify MCP可用:
使用Apify MCP的工具,指定actor为并传入上述输入参数。
call_actorapidojo~urbandictionary-scraperScoring & Ranking
评分与排名
Score each definition by:
- → weight 0.50
community_approval = thumbsUp / (thumbsUp + thumbsDown) - → normalized 0-1 (cap at 50K), weight 0.30
thumbsUp - (newer entries = higher score) → weight 0.20
recency
python
approval = thumbsUp / max(thumbsUp + thumbsDown, 1)
score = 0.50 * approval + 0.30 * min(thumbsUp / 50000, 1.0) + 0.20 * recency_score通过以下维度为每个定义评分:
- → 权重0.50
community_approval = thumbsUp / (thumbsUp + thumbsDown) - → 归一化至0-1(上限50000),权重0.30
thumbsUp - (条目越新,分数越高)→ 权重0.20
recency
python
approval = thumbsUp / max(thumbsUp + thumbsDown, 1)
score = 0.50 * approval + 0.30 * min(thumbsUp / 50000, 1.0) + 0.20 * recency_scoreClassification
分类
| Score | Tier | Label |
|---|---|---|
| ≥ 0.70 | A | CONSENSUS_DEFINITION |
| 0.40–0.69 | B | COMMUNITY_ACCEPTED |
| < 0.40 | C | DISPUTED |
| 分数 | 等级 | 标签 |
|---|---|---|
| ≥ 0.70 | A | CONSENSUS_DEFINITION(共识定义) |
| 0.40–0.69 | B | COMMUNITY_ACCEPTED(社区认可) |
| < 0.40 | C | DISPUTED(有争议) |
Edge Cases
边缘情况
- No results: Term not in Urban Dictionary — may be too new or too niche.
- NSFW content: Urban Dictionary is explicit by default — filter results downstream for professional use.
- Many definitions: Popular terms have 50+ entries — use maxItems to cap and focus on top voted.
- Brand as slang: Brands sometimes appear as slang entries — check if the definition is positive or negative.
- Evolving language: Definitions from 5+ years ago may be outdated — filter by createdAt if recency matters.
- 无结果:该术语未收录在Urban Dictionary中——可能过于新颖或小众。
- NSFW内容:Urban Dictionary默认包含露骨内容——专业使用时需在下游过滤结果。
- 大量定义:热门术语有50+条条目——使用maxItems限制数量,聚焦高赞内容。
- 品牌成为俚语:品牌有时会作为俚语条目出现——需检查定义的正负倾向。
- 语言演变:5年以上的定义可能已过时——若重视时效性,可按createdAt过滤。