A dict or list
|
relations_2(synsetObj,
rel_name=None,
word_match=False)
Return a dict of relations or a list of word match pairs for
synsetObj. |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
str
|
pg(word,
body)
Return a HTML page of NLTK Browser format constructed from the word
and body |
source code
|
|
|
|
|
|
int
|
uniq_cntr()
Return a unique counter, a state is kept to ensure that the same
counter is not provided multiple times. |
source code
|
|
|
|
str
|
|
|
|
|
|
|
|
str
|
|
|
|
|
|
|
_word_ul_structure(word,
synset,
rel_name,
synset_keys) |
source code
|
|
|
_relation_section(rel_name,
word,
synset_keys) |
source code
|
|
|
|
Tuple (str,str)
|
new_word_and_body(word)
Return a 2-tuple of a new word and the HTML body consisting of all
the synsets for all the POS that the word was found in |
source code
|
|
|
|
A tuple (str,str)
|
page_word(page,
word,
href)
Returns a tuple of the HTML page built and the new current word |
source code
|
|
|
get_static_page_by_path(path)
Return a static HTML page from the path given. |
source code
|
|
|
get_static_web_help_page()
Return the static web help page. |
source code
|
|
|
get_static_wx_help_page()
Return static WX help page. |
source code
|
|
|
get_static_start_page()
Get the static start page. |
source code
|
|
|
get_static_index_page(with_shutdown)
Get the static index page. |
source code
|
|
|
|
|
_pos_tuples = [ ( <nltk.wordnet.dictionary.Dictionary instance f...
|
|
implemented_rel_names = [ ' antonym ' , ' attribute ' , ' cause ' , ' der ...
|
|
rel_order = [ ( ' hyponym ' , ' direct hyponym/full hyponym ' ) , ( ' hyp ...
|
|
html_header = ' \n<!DOCTYPE html PUBLIC \'-//W3C//DTD HTML 4.01 ...
|
|
html_trailer = ' \n</body>\n</html>\n '
|
|
explanation = ' \n<h3>Search Help</h3>\n<ul><li>The display bel ...
|
|
full_hyponym_cont_text = ' <ul><li><i>(has full hyponym continu ...
|
|
_uniq_cntr = 0
|
|
abbreviations = ' adverb adv adv. r '
|
|
pos = ' adv '
|
|
token = ' r '
|
|
tokens = [ ' adverb ' , ' adv ' , ' adv. ' , ' r ' ]
|