Home | Trees | Indices | Help |
|
---|
|
BrowServer is a server for browsing the NLTK Wordnet database It first launches a browser client to be used for browsing and then starts serving the requests of that and maybe other clients
Usage:
browserver.py -h browserver.py [-s] [-p <port>]
Options:
-h or --help Display this help message. -l <file> or --log-file <file> Logs messages to the given file, If this option is not specified messages are silently dropped. -p <port> or --port <port> Run the web server on this TCP port, defaults to 8000. -s or --server-mode Do not start a web browser, and do not allow a user to shotdown the server through the web interface.
|
|||
MyServerHandler |
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|
|||
page = None
|
|||
word = None
|
|||
firstClient = True
|
|||
viewed_pages =
|
|||
curr_page_num = 1
|
|||
uc_to_pn =
|
|||
uc_pat = re.compile(r'
|
|||
server_mode = None
|
|||
logfile = None
|
|||
FAVICON_BASE64_DATA =
|
|
Extract the unique counter from the URL if it has one. Otherwise return null. |
Run NLTK Wordnet Browser Server.
|
|
FAVICON_BASE64_DATA
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0beta1 on Wed Aug 27 15:08:51 2008 | http://epydoc.sourceforge.net |