[Checkins] SVN: topia.termextract/trunk/ Finished renaming package; all tests pass again.

Stephan Richter srichter at gmail.com
Sat May 30 11:26:12 EDT 2009


Log message for revision 100555:
  Finished renaming package; all tests pass again.
  

Changed:
  U   topia.termextract/trunk/buildout.cfg
  U   topia.termextract/trunk/setup.py
  _U  topia.termextract/trunk/src/
  U   topia.termextract/trunk/src/topia/termextract/README.txt
  U   topia.termextract/trunk/src/topia/termextract/example.txt
  U   topia.termextract/trunk/src/topia/termextract/extract.py
  U   topia.termextract/trunk/src/topia/termextract/tag.py

-=-
Modified: topia.termextract/trunk/buildout.cfg
===================================================================
--- topia.termextract/trunk/buildout.cfg	2009-05-30 15:21:14 UTC (rev 100554)
+++ topia.termextract/trunk/buildout.cfg	2009-05-30 15:26:12 UTC (rev 100555)
@@ -4,11 +4,11 @@
 
 [test]
 recipe = zc.recipe.testrunner
-eggs = topia.postag [test]
+eggs = topia.termextract [test]
 
 [coverage-test]
 recipe = zc.recipe.testrunner
-eggs = topia.postag [test]
+eggs = topia.termextract [test]
 defaults = ['--coverage', '../../coverage']
 
 [coverage-report]
@@ -19,5 +19,5 @@
 
 [python]
 recipe = zc.recipe.egg
-eggs = topia.postag
+eggs = topia.termextract
 interpreter = python

Modified: topia.termextract/trunk/setup.py
===================================================================
--- topia.termextract/trunk/setup.py	2009-05-30 15:21:14 UTC (rev 100554)
+++ topia.termextract/trunk/setup.py	2009-05-30 15:26:12 UTC (rev 100555)
@@ -22,18 +22,18 @@
     return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
 
 setup (
-    name='topia.postag',
+    name='topia.termextract',
     version='0.1.0dev',
     author = "Stephan Richter, Russ Ferriday and the Zope Community",
     author_email = "zope3-dev at zope.org",
-    description = "A Part-Of-Speech (POS) Content Tagger",
+    description = "Content Term Extraction using POS Tagging",
     long_description=(
         read('README.txt')
         + '\n\n' +
         'Detailed Documentation\n'
         '**********************\n'
         + '\n' +
-        read('src', 'topia', 'postag', 'README.txt')
+        read('src', 'topia', 'termextract', 'README.txt')
         + '\n\n' +
         read('CHANGES.txt')
         ),
@@ -47,7 +47,7 @@
         'Programming Language :: Python',
         'Natural Language :: English',
         'Operating System :: OS Independent'],
-    url = 'http://pypi.python.org/pypi/topia.postag',
+    url = 'http://pypi.python.org/pypi/topia.termextract',
     packages = find_packages('src'),
     include_package_data = True,
     package_dir = {'':'src'},


Property changes on: topia.termextract/trunk/src
___________________________________________________________________
Modified: svn:ignore
   - topia.postag.egg-info

   + topia.termextract.egg-info


Modified: topia.termextract/trunk/src/topia/termextract/README.txt
===================================================================
--- topia.termextract/trunk/src/topia/termextract/README.txt	2009-05-30 15:21:14 UTC (rev 100554)
+++ topia.termextract/trunk/src/topia/termextract/README.txt	2009-05-30 15:26:12 UTC (rev 100555)
@@ -20,7 +20,7 @@
 not always simple. This implementation, however, does not try to infer
 linguistic use and simply chooses the first tag in the lexicon.
 
-  >>> from topia.postag import tag
+  >>> from topia.termextract import tag
   >>> tagger = tag.Tagger()
   >>> tagger
   <Tagger for english>
@@ -194,7 +194,7 @@
 
 Now that we can tag a text, let's have a look at the keyword extractions.
 
-  >>> from topia.postag import extract
+  >>> from topia.termextract import extract
   >>> extractor = extract.KeywordExtractor()
   >>> extractor
   <KeywordExtractor using <Tagger for english>>

Modified: topia.termextract/trunk/src/topia/termextract/example.txt
===================================================================
--- topia.termextract/trunk/src/topia/termextract/example.txt	2009-05-30 15:21:14 UTC (rev 100554)
+++ topia.termextract/trunk/src/topia/termextract/example.txt	2009-05-30 15:26:12 UTC (rev 100555)
@@ -357,7 +357,7 @@
 a POS Tagger followed by applying a simple term constructor and relevance
 calculation,
 
-  >>> from topia.postag import extract
+  >>> from topia.termextract import extract
   >>> extractor = extract.KeywordExtractor()
 
 Let's look at the result of the tagger first:

Modified: topia.termextract/trunk/src/topia/termextract/extract.py
===================================================================
--- topia.termextract/trunk/src/topia/termextract/extract.py	2009-05-30 15:21:14 UTC (rev 100554)
+++ topia.termextract/trunk/src/topia/termextract/extract.py	2009-05-30 15:26:12 UTC (rev 100555)
@@ -17,7 +17,7 @@
 """
 import zope.interface
 
-from topia.postag import interfaces, tag
+from topia.termextract import interfaces, tag
 
 SEARCH = 0
 NOUN = 1

Modified: topia.termextract/trunk/src/topia/termextract/tag.py
===================================================================
--- topia.termextract/trunk/src/topia/termextract/tag.py	2009-05-30 15:21:14 UTC (rev 100554)
+++ topia.termextract/trunk/src/topia/termextract/tag.py	2009-05-30 15:26:12 UTC (rev 100555)
@@ -19,7 +19,7 @@
 import re
 import zope.interface
 
-from topia.postag import interfaces
+from topia.termextract import interfaces
 
 TERM_SPEC = re.compile('([^a-zA-Z]*)([a-zA-Z-\.]*[a-zA-Z])([^a-zA-Z]*[a-zA-Z]*)')
 DATA_DIRECTORY = os.path.join(os.path.dirname(__file__), 'data')



More information about the Checkins mailing list