<commit_before>"""
Tk-based graphical user interface (GUI).

This package implements a Topographica GUI based on the Tk toolkit,
through the Tkinter interface to Python.  The rest of Topographica
does not depend on this package or any module in it, and thus other
GUIs or other types of interfaces can also be used.

$Id$
"""

# For importing the tk GUI files
import propertiesframe
import taggedslider
import topoconsole
import plotpanel
import basicplotpanel
import unitweightspanel
import projectionpanel
import cfsheetplotpanel
import inputparamspanel
import preferencemappanel

# For topo.tk.show_cmd_prompt() and start()
import Pmw, sys, Tkinter
import topo.base.simulator
import topo.base.registry
import topo.base.topoobject

def show_cmd_prompt():
    """
    Small helper to print the sys.ps1 prompt to the command-line.
    Useful after a bunch of output has been displayed to stdout,
    so as to let the user know that the command-line is still
    active.
    """
    if topo.base.topoobject.min_print_level >= topo.base.topoobject.MESSAGE:
        print "\n", sys.ps1,
        sys.stdout.flush()<commit_msg>Added parameterframe.py<commit_after>"""
Tk-based graphical user interface (GUI).

This package implements a Topographica GUI based on the Tk toolkit,
through the Tkinter interface to Python.  The rest of Topographica
does not depend on this package or any module in it, and thus other
GUIs or other types of interfaces can also be used.

$Id$
"""

# For importing the tk GUI files
import propertiesframe
import taggedslider
import topoconsole
import plotpanel
import basicplotpanel
import unitweightspanel
import projectionpanel
import cfsheetplotpanel
import inputparamspanel
import preferencemappanel
import parameterframe

# For topo.tk.show_cmd_prompt() and start()
import Pmw, sys, Tkinter
import topo.base.simulator
import topo.base.registry
import topo.base.topoobject

def show_cmd_prompt():
    """
    Small helper to print the sys.ps1 prompt to the command-line.
    Useful after a bunch of output has been displayed to stdout,
    so as to let the user know that the command-line is still
    active.
    """
    if topo.base.topoobject.min_print_level >= topo.base.topoobject.MESSAGE:
        print "\n", sys.ps1,
        sys.stdout.flush()
{'fraction_non_alphanumeric': 0.06107205623901582, 'fraction_numerical': 0.0017574692442882249, 'mean_word_length': 4.186788154897494, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4850963', 'n_tokens_mistral': 675, 'n_tokens_neox': 658, 'n_words': 272}