
    /h^                     2    S SK JrJr  S rS rS rS rS rg)    )corpus_ribesword_rank_alignmentc                      SR                  5       n SR                  5       n[        X5      / :X  d   eU//nU /n[        X#5      S:X  d   eg )N*This is a nice sentence which I quite likez;Okay well that's neat and all but the reference's different        splitr   r   hypreflist_of_refs
hypothesess       Q/var/www/auris/envauris/lib/python3.13/site-packages/nltk/test/unit/test_ribes.pytest_ribes_empty_worderr      sV     7
<
<
>C
G
M
M
OCs(B...E7LJ1S888    c                      SR                  5       n SR                  5       n[        X5      S/:X  d   eU//nU /n[        X#5      S:X  d   eg )Nr   z;Okay well that's nice and all but the reference's different   r   r   r
   s       r   test_ribes_one_worderr      sX     7
<
<
>C
G
M
M
OCs(QC///E7LJ1S888r   c                      SR                  5       n SR                  5       n[        X5      SS/:X  d   eU//nU /n[        X#5      S:X  d   eg )Nr   z<Okay well that's nice and all but the reference is different	   r   r   r   r
   s       r   test_ribes_two_worderr      sZ     7
<
<
>C
H
N
N
PCs(QF222E7LJ1S888r   c                      / SQn / SQn/ SQn/ SQn/ SQn/ SQnXU/U//nX/n[        Xg5      n[        US5      S:X  d   eg )	NItisaguidetoactionwhichensuresthatthemilitaryalwaysobeysr#   commandsofr#   partyr   r   r   r   r   r   r"   r!   r"   r#   r$   willforeverheedPartyr'   r   r   r#   guiding	principler    
guaranteesr#   r$   forcesr%   beingunderr#   commandr(   r#   r.   r   r   r#   	practicalr   forr#   armyr%   r   r-   r#   
directionsr(   r#   r)   )hereadr#   bookbecauser<   was
interestedinworldhistory)r<   r@   rA   rB   rC   rD   r?   r<   r=   r#   r>      g&S?r   round	hyp1ref1aref1bref1chyp2ref2ar   r   scores	            r   
test_ribesrP   -   sd    D(E$E(E&DE 5)E73LJ2E?f$$$r   c                      / SQn / SQn/ SQn/ SQn/ SQn/ SQnXU/U//nX/n[        Xg5      n[        US5      S:X  d   eg )	Nr   r*   r/   r7   )r<   r=   r#   )r<   r@   rA   rB   rC   rD   r?   r<   rE   g^K=?rF   rH   s	            r   test_no_zero_divrR      s`    D(E$E(E& !DRE5)E73LJ2E?f$$$r   N)nltk.translate.ribes_scorer   r   r   r   r   rP   rR    r   r   <module>rU      s$    H
999o%dW%r   