Comments (6)
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 litstudy.load_csv
which returns a DocumentSet
. That function automatically detects the title as "Item Title" and the DOI as "Item DOI".
You can give this DocumentSet
to build_corpus
as the first argument to build a corpus.
from litstudy.
Hi stijnh,
Thanks for the quick response. Sure, below is the code I'm using. I can't see where the DocumentSet is located/saved (doesn't seem to be in the working directory) - perhaps this is the problem?
from litstudy.
The function refine_scopus
returns two DocumentSet
s: the documents found on Scopus and the document not found on Scopus.
You can use it as follows:
docs_springer, docs_notfound = litstudy.refine_scopus(docs_springer)
Here docs_springer
is the DocumentSet
that contains the documents found on Scopus. Give this value to build_corpus
.
And docs_notfound
is the DocumentSet
that contains the documents not found on Scopus. You can ignore this value.
from litstudy.
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
from litstudy.
Hi again, just tried with the .csv from Springer instead, (which also automatically saves as 'Item Title') - can't seem to get it to work with this one either, even after changing the .csv metadata from 'Item Title' to 'Title'
from litstudy.
Hi.
Replace the line
docs_springer = litstudy.refine_scopus(docs_springer)
by
docs_springer, docs_notfound = litstudy.refine_scopus(docs_springer)
from litstudy.
Related Issues (20)
- 'No Edges Given' for Network Analysis HOT 4
- ValueError: n_components must be < n_features; got 50 >= 47 HOT 2
- `build_corpus` always removes words having a frequency below 5 HOT 4
- Different results from unique() and difference of deduplicated set HOT 2
- module 'networkx' has no attribute 'to_scipy_sparse_matrix' HOT 2
- Incompability with gensim 4 HOT 1
- Unexpected results from litstudy.plot_author_histogram() HOT 2
- Listing document titles HOT 3
- Support for google scholar HOT 1
- refine_scopus - low it/s speed; necessary to refine every time? HOT 1
- TypeError: object of type 'method' has no len() HOT 1
- Saving language models
- Documentation on search_ function queries HOT 3
- Search_semanticscholar with list
- Scopus400Error: Error translating query - Refining results with "source title" query argument HOT 6
- train_lda_model() fails to access gensim HOT 3
- Scopus400Error: Exceeds the maximum number allowed for the service level. HOT 1
- Scopus exceeds csv field limit
- SemanticScholar search optimization HOT 2
- DocumentIdentifier.matches() is case-sensitive
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from litstudy.