Untitled
By: a guest | Mar 22nd, 2010 | Syntax:
C++ | Size: 0.64 KB | Hits: 52 | Expires: Never
if(i > 1){
if(check_for_vi_tag(sent.pos[i - 1])){
if(i > 2) {
if(check_for_vi_tag(sent.pos[i - 3]))
attributes(tc, Types::ppt, sent.pos[i - 4]);
else
attributes(tc, Types::ppt, sent.pos[i - 3]);
}else
attributes(tc, Types::ppt, SENTINEL);
}else if(check_for_vi_tag(sent.pos[i - 2]))
attributes(tc, Types::ppt, sent.pos[i - 3]);
else
attributes(tc, Types::ppt, sent.pos[i - 2]);
}else
attributes(tc, Types::ppt, SENTINEL);
}else{
attributes(tc, Types::pt, SENTINEL);
attributes(tc, Types::ppt, SENTINEL);
}