The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here
Extract Sample Size and Population Type from a group of Article Abstracts
MichaelWhite
Member Posts: 1 Learner II
TL;DR: I want to extract some specific information from a series of similarly (but not identically) formatted paragraphs of text and I hope someone here can point me in the right direction.
I work in the research office of a private university and as part of a project I want to analyze information found in journal article abstracts. Journal databases like Scopus allow me to download a CSV file with article titles, URLs, DOIs (a unique identifier), author names, and abstracts. I want to mine the abstracts to find specific information for each article.
To give a specific example, I have an exported list of around 400 articles, each one is a row in a CSV file, and all of them relate to the development of surveys, questionnaires, scales, or similar academic instruments. I have found that there are some articles that were included by mistake, and relate to "instruments", but not in the sense of questionnaires but rather of machines to measure and quantify data such as meteorological phenomena - I need to ignore these articles. For the relevant articles, they general include the sample size of the group that they administered their instrument to and a brief description of the type of people who participated (university students, children from 9-12 years of age, patients with type II diabetes, etc.)
I want to mine the abstracts and produce two additional columns, one containing the sample size and the other listing the type of people who participated in the study. Thus I need to mine two types of data, one is numerical and the other is textual. But to complicate things, an abstract can include other numbers that are not related to the sample size and there are even some who write out the sample size as text, like "four hundred at thirty."
I have attached a sample file with 12 abstracts and my manual analysis of the sample size and a Yes/No field to show if the study was carried out on students or not (which means any children through university students).
I know very little about text mining and text analysis, but from what I have read the rapidminer platform seems to be the most promising possible solution. I am hoping that someone here could help point me in the right direction to see how this could be done.
I work in the research office of a private university and as part of a project I want to analyze information found in journal article abstracts. Journal databases like Scopus allow me to download a CSV file with article titles, URLs, DOIs (a unique identifier), author names, and abstracts. I want to mine the abstracts to find specific information for each article.
To give a specific example, I have an exported list of around 400 articles, each one is a row in a CSV file, and all of them relate to the development of surveys, questionnaires, scales, or similar academic instruments. I have found that there are some articles that were included by mistake, and relate to "instruments", but not in the sense of questionnaires but rather of machines to measure and quantify data such as meteorological phenomena - I need to ignore these articles. For the relevant articles, they general include the sample size of the group that they administered their instrument to and a brief description of the type of people who participated (university students, children from 9-12 years of age, patients with type II diabetes, etc.)
I want to mine the abstracts and produce two additional columns, one containing the sample size and the other listing the type of people who participated in the study. Thus I need to mine two types of data, one is numerical and the other is textual. But to complicate things, an abstract can include other numbers that are not related to the sample size and there are even some who write out the sample size as text, like "four hundred at thirty."
I have attached a sample file with 12 abstracts and my manual analysis of the sample size and a Yes/No field to show if the study was carried out on students or not (which means any children through university students).
I know very little about text mining and text analysis, but from what I have read the rapidminer platform seems to be the most promising possible solution. I am hoping that someone here could help point me in the right direction to see how this could be done.
Tagged:
0
Answers
We will gladly help you. Let me ask you, how proficient are you in terms of technology? Because there is something that RapidMiner won't be capable of, and it is getting information from JavaScript generated sites, like the ones provided by your example. I am building an extension for that, but given the extreeeme lack of time, it has been delayed several times.
Other than that, everything else seems doable.
All the best,
Rodrigo.
1/ I'm observing that most of your "sample size" are 3 digits. So I used a regex to extract such numbers in your abstracts :
It gives me relativ good results on your sample dataset (12 abstracts) :
Explanations for the errors :
- 295 instead of 282 : It is because RM captures only the first matching group (which is 295)
- 001 instead of 58 : it is because "58" is written in letters
- 341 instead of 404 : It is because, 404 is the sum of two numbers (341 and 63) :
Difficult (maybe impossible) to extract and sum automatically the numbers in a text mining process...
2/ Your student's ? attribute :
I encourage you to train a classifier after processing your text attribute (tokenize etc.). The target attribute will be "Student ?" with possible values 'Yes', 'No' or 'Mixed'. Then you can apply this model to predict on your unlabelled abstracts if the study/survey was made with students / not students/mixed...
To train the classifier, you have first to label manually a part of your 400 abstracts (Yes, No, Mixed) like you did for the first 12 abstracts...
but I think that 12 is too few to train a relevant classifier. You can begin to label 80 abstracts for example (20% of the whole dataset)...
Note : You must admit that text mining is not an exact science, but a probabilistic science, so the builded classifier
will necessarily do (significant) errors...
Hope it helps,
Regards,
Lionel
I forgot to share the process to extract the sample size...
Regards,
Lionel