Commits

Christos Kannas  committed 815a0d1

Token Generator for documents.

  • Participants
  • Parent commits a36d582

Comments (0)

Files changed (1)

File Index/tokenGenerator.py

+#-------------------------------------------------------------------------------
+# Name:        tokenGenerator
+# Purpose:     Create a dictionary/vocubulary of terms, from text files.
+#
+# Author:      Christos Kannas
+#
+# Created:     09/02/2012
+# Copyright:   (c) Christos Kannas 2012
+# Licence:     EPL
+#-------------------------------------------------------------------------------
+#!/usr/bin/env python
+
+class TokenManager:
+    """Token generation and management."""
+    def __init__(self):
+        """Initialize..."""
+        self.termsDict = {}
+
+        return
+
+    def _parse(self, docPath):
+        """
+            Parse a document to create term dictionary.
+        """
+
+        return
+
+    def parseDocs(self, docsList):
+        """
+            Parse a list of documents.
+        """
+
+        return
+
+def main():
+    pass
+
+if __name__ == '__main__':
+    main()