support

funNLP

中英文敏感词、语言检测、中外手机/电话归属地/运营商查询、名字推断性别、手机号抽取、身份证抽取、邮箱抽取、中日文人名库、中文缩写库、拆字词典、词汇情感值、停用词、反动词表、暴恐词表、繁简体转换、英文模拟中文发音、汪峰歌词生成器、职业名称词库、同义词库、反义词库、否定词库、汽车品牌词库、汽车零件词库、连续英文切割、各种中文词向量、公司名字大全、古诗词库、IT词库、财经词库、成语词库、地名词库、…
82,743 stars15,277 forksPythonUpdated 5/10/2024100% free · open source
What it does

funNLP is a Python toolbox that bundles dozens of Chinese‑English NLP utilities (sensitive‑word filtering, language detection, ID/phone/email extraction, name‑gender guessing, word vectors, synonym/antonym lookup, etc.) for quick integration into your apps.

When to use it
  • You need to scrub user‑generated Chinese text for prohibited or sensitive terms before storing or publishing it.
  • Your product must automatically extract structured data (phone numbers, emails, ID numbers) from free‑form Chinese messages.
  • You want a lightweight, all‑in‑one library for Chinese lexical resources (synonyms, idioms, brand names) without wiring multiple third‑party APIs.
Ready-to-paste prompt
```python
from funnlp import SensitiveWordFilter, PhoneInfoExtractor, NameGenderGuesser

# 1️⃣ Detect and mask sensitive words
filter = SensitiveWordFilter()
text = "这是一段包含政治敏感词的文本"
clean, hits = filter.mask(text, mask_char='*')
print('Cleaned:', clean)
print('Hits:', hits)

# 2️⃣ Pull phone‑number details
phone = PhoneInfoExtractor().query('13912345678')
print('Phone info:', phone)

# 3️⃣ Guess gender from a Chinese name
gender = NameGenderGuesser().guess('王丽')
print('Guessed gender:', gender)
```
Heads up: funNLP’s lexical resources (sensitive‑word list, name‑gender database, synonym dictionaries) are not bundled in the wheel; you must run the first‑time `download_resources()` call (or set the `FUNNLP_DATA_PATH` env var) while connected to the internet, otherwise the APIs will raise `ResourceNotFoundError`.
Saves to your device
Use with Claude
New

Skip the builder — one click puts this in Claude, Cursor, Antigravity and more.

⚡ Runs out of the box

A prompt/skill package — nothing to install beyond adding it to your AI tool.

Try it instantly — no install
Claude Code
mkdir -p ~/.claude/skills/funnlp && curl -fsSL https://workflowstacks.com/api/skills/funnlp/claude-skill -o ~/.claude/skills/funnlp/SKILL.md
Open in another AI app

Opens the app with this repo with the prompt ready to go — no copy-paste needed.

Connect the whole catalog (MCP)
claude mcp add --transport http workflowstacks https://workflowstacks.com/api/mcp

Adds a WorkflowStacks connector to Claude Code: search and load any skill here by chatting.

How funNLP works
Codeflow
Free to inspect

FunNLP is mostly documents (86 doc files, 1 small script) — something you read, not something you run. There is nothing to install. Last commit 28 months ago, no license file.

Size
Mostly documents
86 documents · 1 small script · days to read — use, don't read
Setup
Nothing to install
A guide / curated list. Just read it and follow the links.
Runs on
Nowhere — you read it
A reading resource, not a program.
Python 100%
Where to start reading
  1. 1
    README.md
    Start here — what it does and how to install it
READMEDocumentedNo licenseLast update 28 mo ago
Quick Actions
Details
Creator
fighting41love
Language
Python
Category
support
Published
8/21/2018

Are you the creator of this tool? Claim your listing → and earn 85% of every sale.

Ready-to-run pack · one-time $29

Review Watchdog

Catch every bad review the day it lands — with a reply ready.

Includes the tested workflow and a written setup playbook. Needs: Google Places API key (free tier).

See what you get