pycrossword  0.4
Pure-Python implementation of a crossword puzzle generator and editor
Public Member Functions | Public Attributes | Private Member Functions | List of all members
pycross.dbapi.HunspellImportTask Class Reference
Inheritance diagram for pycross.dbapi.HunspellImportTask:

Public Member Functions

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)
 

Public Attributes

 signals
 
 lang
 
 dicfile
 
 posrules
 
 posrules_strict
 
 posdelim
 
 lcase
 
 replacements
 
 remove_hyphens
 
 filter_out
 
 rows
 
 commit_each
 
 on_stopcheck
 
 id
 

Private Member Functions

def _delete_db (self, db)
 
def _get_pos (self, cur)
 Retrieves the list of parts of speech present in the DB. More...
 

Constructor & Destructor Documentation

◆ __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 
)

Member Function Documentation

◆ _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)

Member Data Documentation

◆ 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: