Skip to content

Update calculate_alignment.py #65

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
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/align/calculate_alignment.py
Original file line number Diff line number Diff line change
Expand Up @@ -901,7 +901,7 @@ def calculate_alignment(input_files,
maxngram = maxngram,
ignore_duplicates=ignore_duplicates,
add_stanford_tags = add_stanford_tags)
tempC2C.append(xT2T)
tempC2C.append(xC2C)

# if it's invalid, let us know
else:
Expand Down Expand Up @@ -1125,4 +1125,4 @@ def calculate_baseline_alignment(input_files,
encoding='utf-8',index=False,sep='\t')

# display the info, too
return surrogate_final_turn_df, surrogate_final_convo_df
return surrogate_final_turn_df, surrogate_final_convo_df