<commit_before># Natural Language Toolkit: A Tree Editor
#
# Copyright (C) 2001 University of Pennsylvania
# Author: <NAME> <<EMAIL>>
# URL: <http://nltk.sf.net>
# For license information, see LICENSE.TXT
#
# $Id$

"""
A simple tree-editing tool.  This tool is not yet fully functional.

This tool will most likely be re-written to use the new canvas widget
framework (TreeSegmentWidgets in particular).
"""

"""
I may want to get rid of the interactive scrollregion.
I like the way it just keeps 0,0 as the left boundary.  Otherwise,
it looks a little choppy

NOTE: FIX DESTROY AND QUIT

"""


# The next few lines all deal with importing the proper modules

from Tkinter import *
import os
import sys


twoBack = os.pardir+os.sep+os.pardir

if not twoBack in sys.path:
    sys.path.append(twoBack)



import nltk.tree; reload(nltk.tree) <commit_msg>- Removed reload(nltk.tree)<commit_after># Natural Language Toolkit: A Tree Editor
#
# Copyright (C) 2001 University of Pennsylvania
# Author: <NAME> <<EMAIL>>
# URL: <http://nltk.sf.net>
# For license information, see LICENSE.TXT
#
# $Id$

"""
A simple tree-editing tool.  This tool is not yet fully functional.

This tool will most likely be re-written to use the new canvas widget
framework (TreeSegmentWidgets in particular).
"""

"""
I may want to get rid of the interactive scrollregion.
I like the way it just keeps 0,0 as the left boundary.  Otherwise,
it looks a little choppy

NOTE: FIX DESTROY AND QUIT

"""


# The next few lines all deal with importing the proper modules

from Tkinter import *
import os
import sys


twoBack = os.pardir+os.sep+os.pardir

if not twoBack in sys.path:
    sys.path.append(twoBack)



import nltk.tree
{'fraction_non_alphanumeric': 0.08962264150943396, 'fraction_numerical': 0.007075471698113208, 'mean_word_length': 4.020710059171598, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, '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': '211320', 'n_tokens_mistral': 562, 'n_tokens_neox': 527, 'n_words': 229}