MCPcopy Create free account

hub / github.com/The-Orizon/nlputils / functions

Functions77 in github.com/The-Orizon/nlputils

↓ 9 callersFunctionstream_tarfile
(filename)
tatoeba/tatoeba2db.py:26
↓ 8 callersMethodtranslate
(self, sentence)
WWStarClone.py:50
↓ 4 callersFunctionparse_page
(content)
iso639-to-calibre.py:15
↓ 3 callersFunctiondecode_escapes
(s)
csvcol.py:24
↓ 3 callersMethodload
(self, filename)
haodoo/pdbreader.py:28
↓ 3 callersFunctionsplitsentence
Split a piece of Chinese into sentences.
zhutil.py:96
↓ 2 callersFunctioncutandsplit
(s)
splitrecutfilter.py:48
↓ 2 callersFunctionf
(han, style, heteronym, errors='default')
libpinyin_bopomofo.py:59
↓ 2 callersMethodprocess_href
(self, link)
haodoo/fetchhaodoo.py:122
↓ 2 callersFunctions
(o,u)
zxcvbn.js:1
↓ 2 callersFunctionupdate_records
(stream, debug=False)
dump2db.py:21
↓ 1 callersFunction_test_fixsplit
()
zhutil.py:317
↓ 1 callersFunctionaddwallzone
Add walls and zones between punctuations for Moses.
zhutil.py:167
↓ 1 callersFunctioncalibre_iso639_po
(fin, fout, target, languages, replace=True)
iso639-to-calibre.py:44
↓ 1 callersFunctioncheck_wkt
(s)
csvsql.py:64
↓ 1 callersMethodcombine
(self, tokens)
phrasecombine.py:18
↓ 1 callersFunctioncontent_opf
(metadata, chapternum)
haodoo/pdb2epub.py:72
↓ 1 callersFunctionconvertepub
(filename, output, locale)
epubzhconv.py:11
↓ 1 callersFunctionconvertfunc
(s, locale, locale_only)
gettxtcollection.py:32
↓ 1 callersFunctiondecode_escapes
(s)
csvsql.py:58
↓ 1 callersFunctiondetect_convert
(filename)
gettxtcollection.py:46
↓ 1 callersMethoddump
(self, filename, big5=False)
haodoo/pdbreader.py:87
↓ 1 callersFunctionexptree2dot
(d)
pgexplaindot.py:21
↓ 1 callersFunctionfieldgetter
(fielddef)
csvcol.py:37
↓ 1 callersFunctionfilterlist
Get meaningful sentences.
zhutil.py:144
↓ 1 callersFunctionfixmissing
Fix missing quotes.
zhutil.py:136
↓ 1 callersFunctionget_all_codes
()
iso639-to-calibre.py:33
↓ 1 callersMethodget_tasks
(self)
haodoo/fetchhaodoo.py:405
↓ 1 callersMethodinit_db
(self)
haodoo/fetchhaodoo.py:59
↓ 1 callersFunctionlistfiles
(paths)
gettxtcollection.py:23
↓ 1 callersFunctionlistnodes
(plan, path=(0,), depth=0)
pgexplaindot.py:7
↓ 1 callersMethodload_file
(self, filename)
WWStarClone.py:35
↓ 1 callersFunctionmain
()
csvcol.py:60
↓ 1 callersFunctionmain
(dictfile)
phrasecombine.py:42
↓ 1 callersFunctionmain
()
csvsql.py:82
↓ 1 callersFunctionmain
(filename, update=None)
haodoo/getpdblink.py:10
↓ 1 callersFunctionmain
(src)
tatoeba/getsingle.py:17
↓ 1 callersFunctionmain
(src, tgt)
tatoeba/getparallel.py:17
↓ 1 callersFunctionmakehtml
(chapternum, title, txt)
haodoo/pdb2epub.py:157
↓ 1 callersFunctionpdb2epub
(pdbfile, epubfile, haodoodb=None)
haodoo/pdb2epub.py:225
↓ 1 callersMethodprocess_audio
(self, abookid, soup)
haodoo/fetchhaodoo.py:284
↓ 1 callersMethodprocess_cover
(self, url)
haodoo/fetchhaodoo.py:335
↓ 1 callersMethodprocess_download
(self, orignametype)
haodoo/fetchhaodoo.py:349
↓ 1 callersMethodprocess_page
(self, url, realurl=None)
haodoo/fetchhaodoo.py:132
↓ 1 callersFunctionprocess_result
(r)
simpdump.py:91
↓ 1 callersMethodprocess_result
(self, result)
haodoo/fetchhaodoo.py:374
↓ 1 callersMethodpunct_convert
(self, tovertical=False)
haodoo/pdbreader.py:76
↓ 1 callersFunctionsanitize
(s)
simpdump.py:39
↓ 1 callersMethodsave_txt
(self, filename, encoding='utf-8')
haodoo/pdbreader.py:125
↓ 1 callersMethodstart
(self)
haodoo/fetchhaodoo.py:460
↓ 1 callersFunctiontoc_html
(metadata, chapters)
haodoo/pdb2epub.py:139
↓ 1 callersFunctiontoc_ncx
(metadata, chapters)
haodoo/pdb2epub.py:117
↓ 1 callersFunctiontranslate_bopomofo
(pinyin)
libpinyin_bopomofo.py:43
↓ 1 callersFunctiontry_formats
(s)
simpdump.py:49
↓ 1 callersFunctionuniq
(seq)
getautodesk.py:10
↓ 1 callersFunctionupdate_md5
(stream)
dump2db.py:37
↓ 1 callersFunctionvacuum
()
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
Functionaddwalls
Add walls between punctuations for Moses.
zhutil.py:152
Functioncalctxtstat
Detect whether a string is modern or classical Chinese.
zhutil.py:197
Functionchecktxttype
(cscore, mscore)
zhutil.py:214
Functiondecode_match
(match)
csvcol.py:25
Functiondecode_match
(match)
csvsql.py:59
Functiondetect_convert_str
(filename)
gettxtcollection.py:66
Methoddo_fetch
(self, task)
haodoo/fetchhaodoo.py:446
Functionmain
rmdup.cpp:8
Functionnum2chinese
Converts numbers to Chinese representations. `big` : use financial characters. `simp` : use simplified characters instead of traditio
zhutil.py:223
Functionnum2chinese
Converts numbers to Chinese representations. `big` : use financial characters. `simp` : use simplified characters instead of traditio
num2chinese.py:10
Functionpinyin_bopomofo_factory
(pinyin)
libpinyin_bopomofo.py:58
Functionprocess_line
(l)
simpdump.py:106
Functionreplace_escape
(ex)
findbadlines.py:17
Functionsplithard
Forcely split a piece of Chinese into sentences with the limit of max sentence length.
zhutil.py:109
Functiontranslate_bopomofo_tone2
(syllable)
libpinyin_bopomofo.py:51