Share Pastebin
Guest
Public paste!

Untitled

By: a guest | Mar 22nd, 2010 | Syntax: C++ | Size: 0.64 KB | Hits: 52 | Expires: Never
Copy text to clipboard
  1.     if(i > 1){
  2.       if(check_for_vi_tag(sent.pos[i - 1])){
  3.         if(i > 2) {
  4.           if(check_for_vi_tag(sent.pos[i - 3]))
  5.             attributes(tc, Types::ppt, sent.pos[i - 4]);
  6.           else
  7.             attributes(tc, Types::ppt, sent.pos[i - 3]);
  8.         }else
  9.           attributes(tc, Types::ppt, SENTINEL);
  10.       }else if(check_for_vi_tag(sent.pos[i - 2]))
  11.         attributes(tc, Types::ppt, sent.pos[i - 3]);
  12.       else
  13.         attributes(tc, Types::ppt, sent.pos[i - 2]);
  14.     }else
  15.       attributes(tc, Types::ppt, SENTINEL);
  16.   }else{
  17.     attributes(tc, Types::pt, SENTINEL);
  18.     attributes(tc, Types::ppt, SENTINEL);
  19.   }