Automatic cognate identification with gap-weighted string subsequences.