researching-internet-slang-and-cultural-trends

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Researching Internet Slang And Cultural Trends

研究网络俚语与文化趋势



Inputs

输入参数

ParameterTypeRequiredDefaultNotes
startUrls
arrayOptional
[]
Urban Dictionary search URLs
keywords
arrayOptional
[]
Keywords/slang terms to search
maxItems
numberOptionalUnlimitedMaximum definitions to return
customMapFunction
stringOptionalJavaScript function to transform each output object
参数类型是否必填默认值说明
startUrls
数组可选
[]
Urban Dictionary的搜索URL
keywords
数组可选
[]
要搜索的关键词/俚语术语
maxItems
数字可选无限制要返回的最大定义数量
customMapFunction
字符串可选用于转换每个输出对象的JavaScript函数

How to Run

运行方式

Using run_actor.js (recommended)

使用run_actor.js(推荐)

bash
undefined
bash
undefined

Quick 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
undefined
node scripts/run_actor.js --actor "apidojo~urbandictionary-scraper" --input '{"keywords": ["slay", "rizz", "no cap"], "maxItems": 5}' --output results.json --format json
undefined

REST 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
call_actor
tool with actor
apidojo~urbandictionary-scraper
and the input above.

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}'
如果Apify MCP可用: 使用Apify MCP的
call_actor
工具,指定actor为
apidojo~urbandictionary-scraper
并传入上述输入参数。

Scoring & Ranking

评分与排名

Score each definition by:
  • community_approval = thumbsUp / (thumbsUp + thumbsDown)
    → weight 0.50
  • thumbsUp
    → normalized 0-1 (cap at 50K), weight 0.30
  • recency
    (newer entries = higher score) → weight 0.20
python
approval = thumbsUp / max(thumbsUp + thumbsDown, 1)
score = 0.50 * approval + 0.30 * min(thumbsUp / 50000, 1.0) + 0.20 * recency_score

通过以下维度为每个定义评分:
  • community_approval = thumbsUp / (thumbsUp + thumbsDown)
    → 权重0.50
  • thumbsUp
    → 归一化至0-1(上限50000),权重0.30
  • recency
    (条目越新,分数越高)→ 权重0.20
python
approval = thumbsUp / max(thumbsUp + thumbsDown, 1)
score = 0.50 * approval + 0.30 * min(thumbsUp / 50000, 1.0) + 0.20 * recency_score

Classification

分类

ScoreTierLabel
≥ 0.70ACONSENSUS_DEFINITION
0.40–0.69BCOMMUNITY_ACCEPTED
< 0.40CDISPUTED

分数等级标签
≥ 0.70ACONSENSUS_DEFINITION(共识定义)
0.40–0.69BCOMMUNITY_ACCEPTED(社区认可)
< 0.40CDISPUTED(有争议)

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过滤。