Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/The-Orizon/nlputils
/ functions
Functions
77 in github.com/The-Orizon/nlputils
⨍
Functions
77
◇
Types & classes
6
↓ 9 callers
Function
stream_tarfile
(filename)
tatoeba/tatoeba2db.py:26
↓ 8 callers
Method
translate
(self, sentence)
WWStarClone.py:50
↓ 4 callers
Function
parse_page
(content)
iso639-to-calibre.py:15
↓ 3 callers
Function
decode_escapes
(s)
csvcol.py:24
↓ 3 callers
Method
load
(self, filename)
haodoo/pdbreader.py:28
↓ 3 callers
Function
splitsentence
Split a piece of Chinese into sentences.
zhutil.py:96
↓ 2 callers
Function
cutandsplit
(s)
splitrecutfilter.py:48
↓ 2 callers
Function
f
(han, style, heteronym, errors='default')
libpinyin_bopomofo.py:59
↓ 2 callers
Method
process_href
(self, link)
haodoo/fetchhaodoo.py:122
↓ 2 callers
Function
s
(o,u)
zxcvbn.js:1
↓ 2 callers
Function
update_records
(stream, debug=False)
dump2db.py:21
↓ 1 callers
Function
_test_fixsplit
()
zhutil.py:317
↓ 1 callers
Function
addwallzone
Add walls and zones between punctuations for Moses.
zhutil.py:167
↓ 1 callers
Function
calibre_iso639_po
(fin, fout, target, languages, replace=True)
iso639-to-calibre.py:44
↓ 1 callers
Function
check_wkt
(s)
csvsql.py:64
↓ 1 callers
Method
combine
(self, tokens)
phrasecombine.py:18
↓ 1 callers
Function
content_opf
(metadata, chapternum)
haodoo/pdb2epub.py:72
↓ 1 callers
Function
convertepub
(filename, output, locale)
epubzhconv.py:11
↓ 1 callers
Function
convertfunc
(s, locale, locale_only)
gettxtcollection.py:32
↓ 1 callers
Function
decode_escapes
(s)
csvsql.py:58
↓ 1 callers
Function
detect_convert
(filename)
gettxtcollection.py:46
↓ 1 callers
Method
dump
(self, filename, big5=False)
haodoo/pdbreader.py:87
↓ 1 callers
Function
exptree2dot
(d)
pgexplaindot.py:21
↓ 1 callers
Function
fieldgetter
(fielddef)
csvcol.py:37
↓ 1 callers
Function
filterlist
Get meaningful sentences.
zhutil.py:144
↓ 1 callers
Function
fixmissing
Fix missing quotes.
zhutil.py:136
↓ 1 callers
Function
get_all_codes
()
iso639-to-calibre.py:33
↓ 1 callers
Method
get_tasks
(self)
haodoo/fetchhaodoo.py:405
↓ 1 callers
Method
init_db
(self)
haodoo/fetchhaodoo.py:59
↓ 1 callers
Function
listfiles
(paths)
gettxtcollection.py:23
↓ 1 callers
Function
listnodes
(plan, path=(0,), depth=0)
pgexplaindot.py:7
↓ 1 callers
Method
load_file
(self, filename)
WWStarClone.py:35
↓ 1 callers
Function
main
()
csvcol.py:60
↓ 1 callers
Function
main
(dictfile)
phrasecombine.py:42
↓ 1 callers
Function
main
()
csvsql.py:82
↓ 1 callers
Function
main
(filename, update=None)
haodoo/getpdblink.py:10
↓ 1 callers
Function
main
(src)
tatoeba/getsingle.py:17
↓ 1 callers
Function
main
(src, tgt)
tatoeba/getparallel.py:17
↓ 1 callers
Function
makehtml
(chapternum, title, txt)
haodoo/pdb2epub.py:157
↓ 1 callers
Function
pdb2epub
(pdbfile, epubfile, haodoodb=None)
haodoo/pdb2epub.py:225
↓ 1 callers
Method
process_audio
(self, abookid, soup)
haodoo/fetchhaodoo.py:284
↓ 1 callers
Method
process_cover
(self, url)
haodoo/fetchhaodoo.py:335
↓ 1 callers
Method
process_download
(self, orignametype)
haodoo/fetchhaodoo.py:349
↓ 1 callers
Method
process_page
(self, url, realurl=None)
haodoo/fetchhaodoo.py:132
↓ 1 callers
Function
process_result
(r)
simpdump.py:91
↓ 1 callers
Method
process_result
(self, result)
haodoo/fetchhaodoo.py:374
↓ 1 callers
Method
punct_convert
(self, tovertical=False)
haodoo/pdbreader.py:76
↓ 1 callers
Function
sanitize
(s)
simpdump.py:39
↓ 1 callers
Method
save_txt
(self, filename, encoding='utf-8')
haodoo/pdbreader.py:125
↓ 1 callers
Method
start
(self)
haodoo/fetchhaodoo.py:460
↓ 1 callers
Function
toc_html
(metadata, chapters)
haodoo/pdb2epub.py:139
↓ 1 callers
Function
toc_ncx
(metadata, chapters)
haodoo/pdb2epub.py:117
↓ 1 callers
Function
translate_bopomofo
(pinyin)
libpinyin_bopomofo.py:43
↓ 1 callers
Function
try_formats
(s)
simpdump.py:49
↓ 1 callers
Function
uniq
(seq)
getautodesk.py:10
↓ 1 callers
Function
update_md5
(stream)
dump2db.py:37
↓ 1 callers
Function
vacuum
()
dump2db.py:48
Method
__del__
(self)
haodoo/fetchhaodoo.py:467
Method
__init__
(self, dictfile, char='')
phrasecombine.py:7
Method
__init__
(self, path)
WWStarClone.py:24
Method
__init__
(self, filename=None, fixpunct=False)
haodoo/pdbreader.py:17
Method
__init__
(self, db='haodoo.db', download=None, downloadtypes=None)
haodoo/fetchhaodoo.py:51
Function
addwalls
Add walls between punctuations for Moses.
zhutil.py:152
Function
calctxtstat
Detect whether a string is modern or classical Chinese.
zhutil.py:197
Function
checktxttype
(cscore, mscore)
zhutil.py:214
Function
decode_match
(match)
csvcol.py:25
Function
decode_match
(match)
csvsql.py:59
Function
detect_convert_str
(filename)
gettxtcollection.py:66
Method
do_fetch
(self, task)
haodoo/fetchhaodoo.py:446
Function
main
rmdup.cpp:8
Function
num2chinese
Converts numbers to Chinese representations. `big` : use financial characters. `simp` : use simplified characters instead of traditio
zhutil.py:223
Function
num2chinese
Converts numbers to Chinese representations. `big` : use financial characters. `simp` : use simplified characters instead of traditio
num2chinese.py:10
Function
pinyin_bopomofo_factory
(pinyin)
libpinyin_bopomofo.py:58
Function
process_line
(l)
simpdump.py:106
Function
replace_escape
(ex)
findbadlines.py:17
Function
splithard
Forcely split a piece of Chinese into sentences with the limit of max sentence length.
zhutil.py:109
Function
translate_bopomofo_tone2
(syllable)
libpinyin_bopomofo.py:51