
if 0==1
pr=ProtokolRozbieznosci.new
r = pr.rozbieznosc.build

r.elt_rozbiezny=TokenRozbiezny.new(
                                   :token_id => 333,
                                   :disamb_id => 1717,
                                   :sensy_id =>23,
                                   :sens_nowy => false)
q=pr.rozbieznosc.build
q.elt_rozbiezny=TokenRozbiezny.new(
                                   :token_id => 333,
                                   :disamb_id => 1716,
                                   :sensy_id =>22,
                                   :sens_nowy => true)

r=pr.rozbieznosc.build
r.elt_rozbiezny=FrazaRozbiezna.new(
                                   :token_id_pocz => 17,
                                   :token_id_kon => 19,
                                   :token_id_semhead => 18,
                                   :token_id_synhead => 17,
                                   :disambs_list => "17:1234,18:1222,19:23332"
)
r=pr.rozbieznosc.build
r.elt_rozbiezny=FrazaRozbiezna.new(
                                   :token_id_pocz => 117,
                                   :token_id_kon => 120,
                                   :token_id_semhead => 118,
                                   :token_id_synhead => 117,
                                   :disambs_list => "117:1234,118:1222,119:23332,120:2786"
)

pr.save
end

ProtokolRozbieznosci.delete_all
Rozbieznosc.delete_all
FrazaRozbiezna.delete_all
TokenRozbiezny.delete_all
