I'm looking for software that allows me to extract citations from a pdf article and the number of occurrences of each citation. I'm looking to use this as a (admittedly very imperfect) proxy to estimate what citations a paper is based on.
In case it matters, the citation style the papers are using is mostly APA.
I'm using scite.ai now but it's not getting the job done in a satisfactory way because it miscounts the number of times a reference has been cited. I would also prefer a free option if that exists.
If there is a better heuristic to estimate which citations a paper is primarily based on (which can be automated), I'm also interested. But perhaps that's a topic for a new question.