Esempio n. 1
0
def getPaperListFromPaper(paperPDF):
    ''' pass PDF '''
    # find the references.
    # parse out all interesting information
    # return a list of Paper objects
    paperList = []

    paperText = pdf_to_text(paperPDF)
    paperObj = Paper()

    # Make paper object for the paper itself.

    # Then make list of paper objects for all the references.

    # Can assume that papers are error free.
    # Person names will be capitalized
    # Year will be on there.
    
    return paperObj, paperList
Esempio n. 2
0
File: pdf.py Progetto: kennym/itools
 def to_text(self):
     if pdf_to_text is None:
         return u""
     return pdf_to_text(self.to_str())
Esempio n. 3
0
 def to_text(self):
     if pdf_to_text is None:
         return u""
     return pdf_to_text(self.to_str())