cisnlp/simalign

Is there a way to adjust the threshold τ?

Closed this issue · 1 comments

image

I'd like to reduce the threshold so that fewer words are aligned since sometimes the words are aligned improperly. Is there a way to adjust this threshold?

Hi,

If you use the code in "scripts/align_files.py" for aligning files (instead of sentences), you can adjust the threshold.
You should use the argument "--null-align" to set the parameter.
It's a floating point between [0.0, 1.0] (default=1.0), which indicates the percentile of alignments that should be accepted.

If you have any other questions, please ask.