Show
Ignore:
Timestamp:
08/21/07 19:12:16 (11 months ago)
Author:
Tarek Ziad?? <tarek@…>
Message:

fixes

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • classifier/doc/storage.txt

    r157 r162  
    1010    >>> import settings 
    1111    >>> settings.SQLURI = 'sqlite:///%s' % db_file 
     12    >>> import os 
     13    >>> if os.path.exists(db_file): 
     14    ...     os.remove(db_file) 
     15 
    1216 
    1317It works with languages, words, categories, and words within categories:: 
     
    1822bayesian data:: 
    1923 
    20     >>> storage = SQLStorage('tarek') 
    21  
     24    >>> storage = SQLStorage('tester') 
    2225 
    2326Next we can store languages, since each word is in a given language::