Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Moonshile/ChineseWordSegmentation
/ types & classes
Types & classes
5 in github.com/Moonshile/ChineseWordSegmentation
⨍
Functions
34
◇
Types & classes
5
↓ 2 callers
Class
HashTree
Note that all bags must be sorted
wordseg/hashtree.py:72
↓ 2 callers
Class
HashTreeNode
wordseg/hashtree.py:9
↓ 1 callers
Class
FreqItem
wordseg/freqitem.py:14
↓ 1 callers
Class
WordInfo
Store information of each word, including its freqency, left neighbors and right neighbors
wordseg/wordseg.py:30
↓ 1 callers
Class
WordSegment
Main class for Chinese word segmentation 1. Generate words from a long enough document 2. Do the segmentation work with the document
wordseg/wordseg.py:72