Skip to content

Improve BibTeX-from-PDF import #11999

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

Open
koppor opened this issue Oct 16, 2024 · 11 comments
Open

Improve BibTeX-from-PDF import #11999

koppor opened this issue Oct 16, 2024 · 11 comments
Labels
component: import-load good second issue Issues that involve a tour of two or three interweaved components in JabRef

Comments

@koppor
Copy link
Member

koppor commented Oct 16, 2024

!! This is more an issue to experiment with heuristics. How can a machine with "traditional" (non-AI) code create useful information. !!

When importing the PDF se2paper.pdf

one gets following BibTeX entry

@InProceedings{How,
  author   = {On How and We Can and Teach and Exploring New and Ways in and Professional Software and Development for Students},
  title    = {Microsoft Word - ieee_on_how_we_teach_jul_01.docx},
  abstract = {— Requirements and approaches for introductory
courses in software development at universities differ II. SETTING THE STAGE: SOFTWARE DEVELOPMENT AT 
considerably. There seems to be little consensus on which HDM 
languages are a good fit, which methodologies lead to the best 
...
  file     = {:C\:/Users/koppor/Downloads/se2paper-1.pdf:PDF},
}

However, the title should be better:

Image

The properties of the file show

Image


Tasks:

  1. If title is "better" from the text importer, the title from the properties should not be used (class org.jabref.logic.importer.fileformat.PdfMergeMetadataImporter#importDatabase(java.nio.file.Path))
  2. Improve abstract parsing. Maybe stripper.setSortByPosition(true); needs to be removed from org.jabref.logic.importer.fileformat.PdfContentImporter#getFirstPageContents. Maybe, two methods need to be done to be able to parse the title (depending on positon) and parsing the abstract (more on content)

Hint:

  • Rely and add test cases to org.jabref.logic.importer.fileformat.PdfContentImporterTest and ´org.jabref.logic.importer.fileformat.PdfMergeMetadataImporterTest`
@koppor koppor added the good first issue An issue intended for project-newcomers. Varies in difficulty. label Oct 16, 2024
@github-project-automation github-project-automation bot moved this to Free to take in Good First Issues Oct 16, 2024
@leaf-soba
Copy link
Contributor

I want to take this issue.

@koppor
Copy link
Member Author

koppor commented Oct 18, 2024

/assign @leaf-soba

@github-actions github-actions bot added the 📍 Assigned Assigned by assign-issue-action (or manually assigned) label Oct 18, 2024
@leaf-soba
Copy link
Contributor

I want to check the next step is #12139, or get a correct author/abstract?

@github-actions github-actions bot removed the 📍 Assigned Assigned by assign-issue-action (or manually assigned) label Feb 24, 2025
@koppor koppor moved this from Assigned to Free to take in Good First Issues Feb 25, 2025
@JabRef JabRef deleted a comment from github-actions bot Feb 25, 2025
@koppor koppor added good second issue Issues that involve a tour of two or three interweaved components in JabRef and removed good first issue An issue intended for project-newcomers. Varies in difficulty. labels Feb 25, 2025
@liamsebestyen
Copy link

Hey I am working as a group of four Software Engineering Students at the University of Victoria. We are taking a course where we have to make an open source contribution, and we are interested on completing this as our first open source contribution.
Thank you!

@liamsebestyen
Copy link

/assign-me

@github-actions github-actions bot added the 📍 Assigned Assigned by assign-issue-action (or manually assigned) label Mar 6, 2025
Copy link
Contributor

github-actions bot commented Mar 6, 2025

👋 Hey @liamsebestyen, thank you for your interest in this issue! 🎉

We're excited to have you on board. Start by exploring our Contributing guidelines, and don't forget to check out our workspace setup guidelines to get started smoothly.

In case you encounter failing tests during development, please check our developer FAQs!

Having any questions or issues? Feel free to ask here on GitHub. Need help setting up your local workspace? Join the conversation on JabRef's Gitter chat. And don't hesitate to open a (draft) pull request early on to show the direction it is heading towards. This way, you will receive valuable feedback.

Happy coding! 🚀

⏳ Please note, you will be automatically unassigned if the issue isn't closed within 45 days (by 20 April 2025). A maintainer can also add the "📌 Pinned"" label to prevent automatic unassignment.

@subhramit subhramit moved this from Free to take to Assigned in Good First Issues Mar 11, 2025
@github-actions github-actions bot removed the 📍 Assigned Assigned by assign-issue-action (or manually assigned) label Mar 21, 2025
Copy link
Contributor

📋 Assignment Update

Hi @liamsebestyen, due to inactivity, you have been unassigned from this issue.

Next steps

If you still want to work on this:

  • Ask a maintainer to assign you again
  • If you're making progress, a maintainer can add the pin label to prevent future automatic unassignment

@koppor koppor moved this from Assigned to Free to take in Good First Issues Mar 21, 2025
@liamsebestyen
Copy link

We are starting to work on this today.

@liamsebestyen
Copy link

/assign-me

@github-actions github-actions bot added the 📍 Assigned Assigned by assign-issue-action (or manually assigned) label Mar 21, 2025
Copy link
Contributor

👋 Hey @liamsebestyen, thank you for your interest in this issue! 🎉

We're excited to have you on board. Start by exploring our Contributing guidelines, and don't forget to check out our workspace setup guidelines to get started smoothly.

In case you encounter failing tests during development, please check our developer FAQs!

Having any questions or issues? Feel free to ask here on GitHub. Need help setting up your local workspace? Join the conversation on JabRef's Gitter chat. And don't hesitate to open a (draft) pull request early on to show the direction it is heading towards. This way, you will receive valuable feedback.

Happy coding! 🚀

⏳ Please note, you will be automatically unassigned if there is not a (draft) pull request within 14 days (by 04 April 2025).

@koppor koppor moved this from Free to take to Assigned in Good First Issues Mar 21, 2025
@koppor koppor moved this from Assigned to In Progress in Good First Issues Apr 1, 2025
@koppor
Copy link
Member Author

koppor commented Apr 1, 2025

@WillMohr858 Thank you for working on this; Please comment on the PR - and not on the issue. Because your reply is related to your proposed solution to the issue; not some clarification of the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: import-load good second issue Issues that involve a tour of two or three interweaved components in JabRef
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants