In many cases the correct segmentation cannot be determined from local context alone, but can be disambiguated by more global syntactic constraints (in ‫ים‬ ‫שמ‬ ‫ראיתי‬ ‫חולים‬ ‫,כ‬ the middle token is ambiguous between ‫ים‬ ‫שמ‬ ['sky'] and ‫ים‬ ‫ש-מ‬ ['that/ rel water'], and the sequence can be interpreted as either 'I saw blue skies' or 'I saw that blue water.'
‫הבאר‬ ‫ן‬ ‫מ‬ ‫ו‬ ‫רצ‬ ‫פ‬ ‫חולים‬ ‫כ‬ ‫ים‬ ‫שמ‬ ‫ראיתי‬ is unambiguous because the past verb ‫ו‬ ‫רצ‬ ‫פ‬ requires the relativizer ‫,ש‬ allowing only the segmented ‫ים‬ ‫ש-מ‬ reading 'I saw that blue water broke from the well'.