-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Attribute Error: 'Document Set' object has no attribute 'title' when building corpus for topic modelling #37
Comments
Hi SS159. Thanks for using litstudy! I am not sure if I understand your question. Could you maybe show the code that you are dealing with? You can load a CSV file using You can give this |
The function You can use it as follows: docs_springer, docs_notfound = litstudy.refine_scopus(docs_springer) Here And |
Thanks for getting back to me Stijnh. Unfortunately, I still can't get litstudy to build a corpus from the papers I have downloaded from Scopus, as I am finding the following error Note that: 1) I am using, for now, only one .csv which is from Scopus and contains 72 papers. That means that I have not merged any .csv files; 2) I have not included the function which separates documents found and not found on Scopus; 3) I note that .csv files downloaded from Scopus are not automatically saved in the format 'title' and 'doi', but rather 'item title' and 'item doi', which may also be why litstudy is unable to find attribute 'title' in the documentset (which, again, in this case is just one document 'docs_springer'). Thanks, SS159 |
Hi. Replace the line
by
|
Would it be possible to add in 'item title' to build.corpus function for topic modelling, as currently, if you use .csv download from Scopus, title and DOI are expressed as 'Item Title' and 'Item DOI', rather than 'Item' and 'DOI'.
Thanks!
S
The text was updated successfully, but these errors were encountered: