<SYSTEM_TASK:>
Given the following text description, write Python code to implement the functionality described below step by step
<END_TASK>
<USER_TASK:>
Description:
 Import TLG
http
Step1:  Convert TLG to Unicode
http
Step2:  Now the TLG corpus is in now ready to use in Unicode. Some preprocesing is likely still required, as the text still has formatting and linebreaks present in the original printed text.
<ASSISTANT_TASK:>
Python Code:
import datetime as dt
from cltk.corpus.utils.importer import CorpusImporter
corpus_importer = CorpusImporter('greek')
corpus_importer.list_corpora
corpus_importer.import_corpus('tlg', '/root/classics_corpora/TLG_E')
Explanation: Import TLG
http://docs.cltk.org/en/latest/importing_corpora.html
End of explanation
from cltk.corpus.greek.tlgu import TLGU
corpus_importer.import_corpus('greek_software_tlgu')
t = TLGU()
t0 = dt.datetime.utcnow()
t.convert_corpus(corpus='tlg')
print('... finished in {}'.format(dt.datetime.utcnow() - t0))
Explanation: Convert TLG to Unicode
http://docs.cltk.org/en/latest/greek.html#converting-tlg-texts-with-tlgu
End of explanation
with open('/root/cltk_data/greek/text/tlg/plaintext/TLG0007.TXT') as file_open:
    text_snippet = file_open.read()[:1500]
print(text_snippet)
Explanation: Now the TLG corpus is in now ready to use in Unicode. Some preprocesing is likely still required, as the text still has formatting and linebreaks present in the original printed text.
End of explanation
<END_TASK>