coverylanguagedetection1 / load_text.py
Felixogunwale's picture
Upload 18 files
a63752b
raw
history blame contribute delete
305 Bytes
import jpype
import asposecells
jpype.startJVM()
from asposecells.api import Workbook
workbook = Workbook("processed/text_detected/text_detected.txt")
workbook.save("processed/load_json/output.json")
jpype.shutdownJVM()
with open('processed/text_detected/text_detected.txt') as f:
contents = f.read