DavidDoukhan/nltk — comment on commit c06d90dbcdf3bf810a959638b43269cc7138edd4
File: nltk/metrics/pk.py line 55
By jnothman:

Parentheses aren't needed. My personal preference is for:

if bsame_hyp_seg and not bsame_ref_seg

if bsame_ref_seg and not bsame_hyp_seg