Skip to content

Commit

Permalink
Merge pull request #16 from eltociear/patch-1
Browse files Browse the repository at this point in the history
Update citation_quality.py
  • Loading branch information
shaoyijia committed Apr 15, 2024
2 parents a9ca917 + 85a1ee4 commit abf3dac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eval/citation_quality.py
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ def extract_url(text):

def expand_citaions(output):
"""
Expand citations by folloing rule:
Expand citations by following rule:
1. convert "<sentence 1>. <sentence 2> [2][3]" into "<sentence 1> [2][3]"
2. "<sentence 1>[1]. <last paragraph senetence>" will be changed to "<sentence 1>[1]. <last paragraph senetence>[1]. "
"""
Expand Down

0 comments on commit abf3dac

Please sign in to comment.