Skip to content
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

Consider harmonizing extract_affiliations input columns #85

Open
lambdamusic opened this issue Jul 1, 2024 · 0 comments
Open

Consider harmonizing extract_affiliations input columns #85

lambdamusic opened this issue Jul 1, 2024 · 0 comments
Labels
needed? Unsure this is useful to have

Comments

@lambdamusic
Copy link
Member

Column names of results of

chunk = [{"affiliation" : "Atomic Energy Organization of Iran (AEOI),"},
         {"affiliation" : "Beijing Institute of Technology, China     R"}]
extract_affiliations(chunk, as_json=False, include_input=True)   

Differ from

chunk = [{'name': 'Airforce Harbin Flight Academy',
  'city': '',
  'state': '',
  'country': 'China'},
 {'name': 'Harbin Flight College of Air Force',
  'city': '',
  'state': '',
  'country': 'China'},
 {'name': 'Harbin Engineering University',
  'city': '',
  'state': '',
  'country': 'China'}]
extract_affiliations(chunk, as_json=False)  

Difference: underscores instead of dot.

image

@lambdamusic lambdamusic added the needed? Unsure this is useful to have label Jul 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needed? Unsure this is useful to have
Projects
None yet
Development

No branches or pull requests

1 participant