|
def | __init__ (self, lang, dicfile=None, posrules=None, posrules_strict=False, posdelim='/', lcase=True, replacements=None, remove_hyphens=True, filter_out=None, rows=None, commit_each=1000, on_stopcheck=None, id=0) |
|
def | run (self) |
|
◆ __init__()
def pycross.dbapi.HunspellImportTask.__init__ |
( |
|
self, |
|
|
|
lang, |
|
|
|
dicfile = None , |
|
|
|
posrules = None , |
|
|
|
posrules_strict = False , |
|
|
|
posdelim = '/' , |
|
|
|
lcase = True , |
|
|
|
replacements = None , |
|
|
|
remove_hyphens = True , |
|
|
|
filter_out = None , |
|
|
|
rows = None , |
|
|
|
commit_each = 1000 , |
|
|
|
on_stopcheck = None , |
|
|
|
id = 0 |
|
) |
| |
◆ _delete_db()
def pycross.dbapi.HunspellImportTask._delete_db |
( |
|
self, |
|
|
|
db |
|
) |
| |
|
private |
◆ _get_pos()
def pycross.dbapi.HunspellImportTask._get_pos |
( |
|
self, |
|
|
|
cur |
|
) |
| |
|
private |
Retrieves the list of parts of speech present in the DB.
- Returns
list
parts of speech in the short form, e.g. ['N', 'V']
◆ run()
def pycross.dbapi.HunspellImportTask.run |
( |
|
self | ) |
|
◆ commit_each
pycross.dbapi.HunspellImportTask.commit_each |
◆ dicfile
pycross.dbapi.HunspellImportTask.dicfile |
◆ filter_out
pycross.dbapi.HunspellImportTask.filter_out |
◆ id
pycross.dbapi.HunspellImportTask.id |
◆ lang
pycross.dbapi.HunspellImportTask.lang |
◆ lcase
pycross.dbapi.HunspellImportTask.lcase |
◆ on_stopcheck
pycross.dbapi.HunspellImportTask.on_stopcheck |
◆ posdelim
pycross.dbapi.HunspellImportTask.posdelim |
◆ posrules
pycross.dbapi.HunspellImportTask.posrules |
◆ posrules_strict
pycross.dbapi.HunspellImportTask.posrules_strict |
◆ remove_hyphens
pycross.dbapi.HunspellImportTask.remove_hyphens |
◆ replacements
pycross.dbapi.HunspellImportTask.replacements |
◆ rows
pycross.dbapi.HunspellImportTask.rows |
◆ signals
pycross.dbapi.HunspellImportTask.signals |
The documentation for this class was generated from the following file: