# fighting41love/funnlp architecture

> Architecture diagram of the GitHub repository fighting41love/funnlp, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-09). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/fighting41love/funnlp
- Repository: https://github.com/fighting41love/funnlp

## Overview

FunNLP is a curated Chinese NLP resource library, not an integrated NLP application. The main user workflow is to browse the README’s topic catalog and follow its resource references; the repository also bundles corpora and lexicons. One small included script filters a segmentation dictionary into another text file. The README documents many capabilities, but the sampled source does not implement their processing workflows, so they are represented as catalog branches rather than a fabricated runtime pipeline.

Main entry points: [`data/中文分词词库整理/thirtyw.py`](https://github.com/fighting41love/funnlp/blob/master/data/%E4%B8%AD%E6%96%87%E5%88%86%E8%AF%8D%E8%AF%8D%E5%BA%93%E6%95%B4%E7%90%86/thirtyw.py) (Dictionary Filter), [`README.md`](https://github.com/fighting41love/funnlp/blob/master/README.md) (Resource Guide), [`data/中文分词词库整理/30wChinsesSeqDic.txt`](https://github.com/fighting41love/funnlp/blob/master/data/%E4%B8%AD%E6%96%87%E5%88%86%E8%AF%8D%E8%AF%8D%E5%BA%93%E6%95%B4%E7%90%86/30wChinsesSeqDic.txt) (Sequence Dictionary), [`data/中文分词词库整理/30wdict.txt`](https://github.com/fighting41love/funnlp/blob/master/data/%E4%B8%AD%E6%96%87%E5%88%86%E8%AF%8D%E8%AF%8D%E5%BA%93%E6%95%B4%E7%90%86/30wdict.txt) (Word Dictionary)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_catalog["Resource Catalog"]
  node_catalog_entry["Resource Guide<br/>[README.md]"]
  node_llm_resources["LLM Resources<br/>[README.md]"]
  node_language_tasks["Language Tasks<br/>[README.md]"]
  node_tools_domains["Tools &amp; Domains<br/>[README.md]"]
end

subgraph group_data["Bundled Data"]
  node_corpora[("Text Corpora")]
  node_lexicons[("Chinese Lexicons")]
  node_names[("Name Corpora")]
  node_stopwords[("Stopword Lists")]
  node_specialty_terms[("Domain Lexicons")]
  node_sequence_dict["Sequence Dictionary"]
  node_word_dict["Word Dictionary<br/>[30wdict.txt]"]
end

subgraph group_utility["Data Utility"]
  node_filter_script["Dictionary Filter<br/>[thirtyw.py]"]
end

node_user(("NLP User"))

node_user -->|"browses"| node_catalog_entry
node_filter_script -->|"reads"| node_sequence_dict
node_filter_script -->|"appends"| node_word_dict

click node_catalog_entry "https://github.com/fighting41love/funnlp/blob/master/README.md"
click node_llm_resources "https://github.com/fighting41love/funnlp/blob/master/README.md"
click node_language_tasks "https://github.com/fighting41love/funnlp/blob/master/README.md"
click node_tools_domains "https://github.com/fighting41love/funnlp/blob/master/README.md"
click node_corpora "https://github.com/fighting41love/funnlp/tree/master/data"
click node_lexicons "https://github.com/fighting41love/funnlp/tree/master/data/%E4%B8%AD%E6%96%87%E5%88%86%E8%AF%8D%E8%AF%8D%E5%BA%93%E6%95%B4%E7%90%86"
click node_names "https://github.com/fighting41love/funnlp/tree/master/data/%E4%B8%AD%E8%8B%B1%E6%97%A5%E6%96%87%E5%90%8D%E5%AD%97%E5%BA%93"
click node_stopwords "https://github.com/fighting41love/funnlp/tree/master/data/%E5%81%9C%E7%94%A8%E8%AF%8D"
click node_specialty_terms "https://github.com/fighting41love/funnlp/tree/master/data"
click node_filter_script "https://github.com/fighting41love/funnlp/blob/master/data/%E4%B8%AD%E6%96%87%E5%88%86%E8%AF%8D%E8%AF%8D%E5%BA%93%E6%95%B4%E7%90%86/thirtyw.py"
click node_sequence_dict "https://github.com/fighting41love/funnlp/blob/master/data/%E4%B8%AD%E6%96%87%E5%88%86%E8%AF%8D%E8%AF%8D%E5%BA%93%E6%95%B4%E7%90%86/30wChinsesSeqDic.txt"
click node_word_dict "https://github.com/fighting41love/funnlp/blob/master/data/%E4%B8%AD%E6%96%87%E5%88%86%E8%AF%8D%E8%AF%8D%E5%BA%93%E6%95%B4%E7%90%86/30wdict.txt"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_catalog_entry,node_llm_resources,node_language_tasks,node_tools_domains,node_user toneBlue
class node_corpora,node_lexicons,node_names,node_stopwords,node_specialty_terms,node_sequence_dict,node_word_dict toneAmber
class node_filter_script toneMint
```

## Components

### Resource Catalog

- [Resource Guide](https://github.com/fighting41love/funnlp/blob/master/README.md): `README.md`
- [LLM Resources](https://github.com/fighting41love/funnlp/blob/master/README.md): `README.md`
- [Language Tasks](https://github.com/fighting41love/funnlp/blob/master/README.md): `README.md`
- [Tools & Domains](https://github.com/fighting41love/funnlp/blob/master/README.md): `README.md`

### Bundled Data

- [Text Corpora](https://github.com/fighting41love/funnlp/tree/master/data): `data`
- [Chinese Lexicons](https://github.com/fighting41love/funnlp/tree/master/data/%E4%B8%AD%E6%96%87%E5%88%86%E8%AF%8D%E8%AF%8D%E5%BA%93%E6%95%B4%E7%90%86): `data/中文分词词库整理`
- [Name Corpora](https://github.com/fighting41love/funnlp/tree/master/data/%E4%B8%AD%E8%8B%B1%E6%97%A5%E6%96%87%E5%90%8D%E5%AD%97%E5%BA%93): `data/中英日文名字库`
- [Stopword Lists](https://github.com/fighting41love/funnlp/tree/master/data/%E5%81%9C%E7%94%A8%E8%AF%8D): `data/停用词`
- [Domain Lexicons](https://github.com/fighting41love/funnlp/tree/master/data): `data`
- [Sequence Dictionary](https://github.com/fighting41love/funnlp/blob/master/data/%E4%B8%AD%E6%96%87%E5%88%86%E8%AF%8D%E8%AF%8D%E5%BA%93%E6%95%B4%E7%90%86/30wChinsesSeqDic.txt): `data/中文分词词库整理/30wChinsesSeqDic.txt`
- [Word Dictionary](https://github.com/fighting41love/funnlp/blob/master/data/%E4%B8%AD%E6%96%87%E5%88%86%E8%AF%8D%E8%AF%8D%E5%BA%93%E6%95%B4%E7%90%86/30wdict.txt): `data/中文分词词库整理/30wdict.txt`

### Data Utility

- [Dictionary Filter](https://github.com/fighting41love/funnlp/blob/master/data/%E4%B8%AD%E6%96%87%E5%88%86%E8%AF%8D%E8%AF%8D%E5%BA%93%E6%95%B4%E7%90%86/thirtyw.py): `data/中文分词词库整理/thirtyw.py`

### Other components

- **NLP User**

## Connections

- NLP User → Resource Guide: browses (evidence: `README.md`)
- Dictionary Filter → Sequence Dictionary: reads (evidence: `data/中文分词词库整理/thirtyw.py`)
- Dictionary Filter → Word Dictionary: appends (evidence: `data/中文分词词库整理/thirtyw.py`)
