everthemore / physics2vec

Things to do with arXiv metadata :)
MIT License
15 stars 7 forks source link

sub categories of cond-mat #1

Open laserroger opened 6 years ago

laserroger commented 6 years ago

Say, what if one want to extract information from cond-mat.quant-gas?

My way is add subject reader fields 'subject': ('textList', 'oai_dc:dc/dc:subject/text()')

and add an if record[1].getField('subject')[0] == subsection before write into file, where subsection is an argument.

everthemore commented 6 years ago

Yes exactly, I think that's how I would've done it. I assume that those are the correct keywords, but should be easy to check otherwise :)

On Thu, Jul 5, 2018 at 3:42 PM Laser Roger notifications@github.com wrote:

Say, what if one want to extract information from cond-mat.quant-gas?

My way is add subject reader fields 'subject': ('textList', 'oai_dc:dc/dc:subject/text()')

and add an if record[1].getField('subject')[0] == subsection before write into file, where subsection is an argument.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/everthemore/physics2vec/issues/1, or mute the thread https://github.com/notifications/unsubscribe-auth/AB1_cTU6xzBhm84re2G5lsVIwnOaBiViks5uDcN-gaJpZM4VDZOk .

laserroger commented 6 years ago

I checked and it works :) I will submit a pull request recently.

BTW, your talk today at machine learning & physics conference is great.