Module Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad Str body Expr Str TryExcept body ImportFrom alias handlers ExceptHandler type NameLoad body Raise Call NameLoad Str Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr If NameLoad body Assign NameStore Call NameLoad Call NameLoad AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad Call NameLoad AttributeLoad NameLoad attr NameLoad orelse Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore ListComp TupleLoad NameLoad NameLoad comprehension NameStore Call NameLoad Call NameLoad NameLoad comprehension NameStore Call NameLoad Call NameLoad NameLoad CompareEq SubscriptLoad NameLoad Index NameLoad SubscriptLoad NameLoad Index NameLoad If NameLoad body Assign TupleStore NameStore NameStore Call NameLoad Call NameLoad NameLoad orelse Assign NameStore NameStore TupleLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Str keyword Num Expr Call AttributeLoad NameLoad attr Call NameLoad Call NameLoad Call NameLoad NameLoad NameLoad keyword Str Expr Call AttributeLoad NameLoad attr Num Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr decorator_list If CompareEq NameLoad Str body Import alias ImportFrom alias Assign NameStore ListLoad Str Str Str Str Expr Call NameLoad Call AttributeLoad NameLoad attr Str NameLoad
N/A N/A 
A utility for displaying lexical dispersion.
 dispersion_plot N/A N/A text words ignore_case title N/A False Lexical Dispersion Plot N/A N/A 
    Generate a lexical dispersion plot.

    :param text: The source text
    :type text: list(str) or enum(str)
    :param words: The target words
    :type words: list of str
    :param ignore_case: flag to set if case should be ignored when searching text
    :type ignore_case: bool
     N/A N/A matplotlib pylab N/A N/A N/A ImportError N/A N/A N/A ValueError The plot function requires matplotlib to be installed.See http://matplotlib.org/ N/A text N/A list text N/A N/A N/A words reverse N/A ignore_case N/A N/A words_to_comp N/A list N/A map N/A str lower words N/A text_to_comp N/A list N/A map N/A str lower text N/A N/A words_to_comp words N/A text_to_comp text N/A points N/A N/A x y N/A x N/A range N/A len text_to_comp N/A y N/A range N/A len words_to_comp N/A N/A text_to_comp N/A x N/A words_to_comp N/A y N/A points N/A N/A N/A x y N/A list N/A zip points N/A N/A x y N/A N/A N/A N/A pylab plot x y b| scalex 0.1 N/A N/A N/A pylab yticks N/A list N/A range N/A len words words color b N/A N/A N/A pylab ylim -1 N/A len words N/A N/A N/A pylab title title N/A N/A N/A pylab xlabel Word Offset N/A N/A N/A pylab show N/A N/A N/A __name__ __main__ N/A N/A nltk.compat nltk.corpus gutenberg N/A words N/A Elinor Marianne Edward Willoughby N/A N/A dispersion_plot N/A N/A gutenberg words austen-sense.txt words