Logo Search packages:      
Sourcecode: ibus-pinyin version File versions

def pysqlitedb::PYSQLiteDB::init_shengmu_table (   self  ) 

create table shengmu that contains all shengmu of pinyin

Definition at line 178 of file pysqlitedb.py.

00178                                  :
        """create table shengmu that contains all shengmu of pinyin"""
        sqlstring = "INSERT INTO py_shengmu (shengmu) VALUES (?)"
        for shengmu in pydict.SHENGMU_DICT.keys ():
            self.db.execute (sqlstring, (unicode (shengmu),))
        self.flush (True)

    def add_phrases (self, phrases, database = "main"):


Generated by  Doxygen 1.6.0   Back to index