__init__.py 761 B

123456789101112131415161718192021222324252627282930
  1. # -*- coding: utf-8 -*-
  2. # Natural Language Toolkit: Transformation-based learning
  3. #
  4. # Copyright (C) 2001-2020 NLTK Project
  5. # Author: Marcus Uneson <marcus.uneson@gmail.com>
  6. # based on previous (nltk2) version by
  7. # Christopher Maloof, Edward Loper, Steven Bird
  8. # URL: <http://nltk.org/>
  9. # For license information, see LICENSE.TXT
  10. """
  11. Transformation Based Learning
  12. A general purpose package for Transformation Based Learning,
  13. currently used by nltk.tag.BrillTagger.
  14. """
  15. from nltk.tbl.template import Template
  16. # API: Template(...), Template.expand(...)
  17. from nltk.tbl.feature import Feature
  18. # API: Feature(...), Feature.expand(...)
  19. from nltk.tbl.rule import Rule
  20. # API: Rule.format(...), Rule.templatetid
  21. from nltk.tbl.erroranalysis import error_list