natural language toolkit applications package c 20012023 nltk project edward loper edlopergmail com steven bird stevenbird1gmail com url https www nltk org for license information see license txt interactive nltk applications chartparser chart parser chunkparser regularexpression chunk parser collocations find collocations in text concordance partofspeech concordancer nemo finding and replacing nemo regular expression tool rdparser recursive descent parser srparser shiftreduce parser wordnet wordnet browser import tkinterbased modules if tkinter is installed natural language toolkit applications package c 2001 2023 nltk project edward loper edloper gmail com steven bird stevenbird1 gmail com url https www nltk org for license information see license txt interactive nltk applications chartparser chart parser chunkparser regular expression chunk parser collocations find collocations in text concordance part of speech concordancer nemo finding and replacing nemo regular expression tool rdparser recursive descent parser srparser shift reduce parser wordnet wordnet browser import tkinter based modules if tkinter is installed
try:
    import tkinter
except ImportError:
    import warnings

    warnings.warn("nltk.app package not loaded (please install Tkinter library).")
else:
    from nltk.app.chartparser_app import app as chartparser
    from nltk.app.chunkparser_app import app as chunkparser
    from nltk.app.collocations_app import app as collocations
    from nltk.app.concordance_app import app as concordance
    from nltk.app.nemo_app import app as nemo
    from nltk.app.rdparser_app import app as rdparser
    from nltk.app.srparser_app import app as srparser
    from nltk.app.wordnet_app import app as wordnet

    try:
        from matplotlib import pylab
    except ImportError:
        import warnings

        warnings.warn("nltk.app.wordfreq not loaded (requires the matplotlib library).")
    else:
        from nltk.app.wordfreq_app import app as wordfreq