allenai / S2AFF

link raw affiliation to ROR ids
Apache License 2.0
24 stars 4 forks source link

Support multiple affiliations #2

Open sergeyf opened 2 years ago

sergeyf commented 2 years ago

Strategy: currently, the model only processes the first affiliation it sees. So if the string is "University of Washington and University of Wisconsin" the code here https://github.com/allenai/S2AFF/blob/main/s2aff/model.py#L52 will stop when it sees the "and", and will ignore the latter half of the string.

A solution would be to thread this decision through to the top level and just call the entire pipeline on "University of Wisconsin".

@regan-huff