Files
MoFin/venv/lib/python3.12/site-packages/nltk/treeprettyprinter.py
T
知微 fa45d8aa5f fix: 小果地址统一node122(兼容LAN+EasyTier)
- health_checklist.json: 192.168.1.122→node122
- ocr_client.py: docstring IP→node122
- docs/market-data-requirements.md: IP→node122
- 所有API调用通过ProxyHandler({})绕过系统代理
  Privoxy对node122:18003返回500,直连正常
2026-06-30 02:56:35 +08:00

29 lines
947 B
Python

# Natural Language Toolkit: ASCII visualization of NLTK trees
#
# Copyright (C) 2001-2026 NLTK Project
# Author: Andreas van Cranenburgh <A.W.vanCranenburgh@uva.nl>
# Peter Ljunglöf <peter.ljunglof@gu.se>
# URL: <https://www.nltk.org/>
# For license information, see LICENSE.TXT
"""
Pretty-printing of discontinuous trees.
Adapted from the disco-dop project, by Andreas van Cranenburgh.
https://github.com/andreasvc/disco-dop
Interesting reference (not used for this code):
T. Eschbach et al., Orth. Hypergraph Drawing, Journal of
Graph Algorithms and Applications, 10(2) 141--157 (2006)149.
https://jgaa.info/accepted/2006/EschbachGuentherBecker2006.10.2.pdf
"""
from nltk.internals import Deprecated
from nltk.tree.prettyprinter import TreePrettyPrinter as TPP
class TreePrettyPrinter(Deprecated, TPP):
"""Import `TreePrettyPrinter` using `from nltk.tree import TreePrettyPrinter` instead."""
__all__ = ["TreePrettyPrinter"]