コード例 #1
0
# vim: set fileencoding=utf8

import suggest

for word in ('foo', 'bar', 'baz'):
    suggest.add_word(word)

コード例 #2
0
# vim: set fileencoding=utf8

import suggest

for name in ('john', 'mike', 'alice', 'bob', 'foo', 'bar', 'baz'):
    suggest.add_word(name)