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
Exemple #2
0
 def to_text(self):
     if pdf_to_text is None:
         return u""
     return pdf_to_text(self.to_str())
Exemple #3
0
 def to_text(self):
     if pdf_to_text is None:
         return u""
     return pdf_to_text(self.to_str())