code: def read_ttl(path):
          ''' Helper function to read Document in TTL-TXT format (i.e. ${docname}_*.txt)
          E.g. Document.read_ttl('~/data/myfile') is the same as Document('myfile', '~/data/').read()
          '''
          warnings.warn("Document.read_ttl() is deprecated and will be removed in near future. Use read() instead", DeprecationWarning)
          doc_path = os.path.dirname(path)
          doc_name = os.path.basename(path)
          return Document(doc_name, doc_path).read(f read_ttl(path):
          ''' Helper function to read Document in TTL-TXT format (i.e. ${docname}_*.txt)
          E.g. Document.read_ttl('~/data/myfile') is the same as Document('myfile', '~/data/').read()
          '''
          warnings.warn("Document.read_ttl() is deprecated and will be removed in near future. Use read() instead", DeprecationWarning)
          doc_path = os.path.dirname(path)
          doc_name = os.path.basename(path)
          return Document(doc_name, doc_path).read()
docs: Helper function to read Document in TTL-TXT format (i.e. ${docname}_*.txt)
          E.g. Document.read_ttl('~/data/myfile') is the same as Document('myfile', '~/data/').read()