All pastes #457177 Raw Edit

aib

public c v1 · immutable
#457177 ·published 2007-04-25 07:19 UTC
rendered paste body
          /* part of speech tagging-- order matters! */          if (article(s-wordLength,wordLength) && firstWord) ++beginArticles;          else if (pronoun(s-wordLength,wordLength))          {            ++pronouns;            if (firstWord) ++beginPronouns;          }          else if (interrogativePronoun(s-wordLength,wordLength))          {            ++interrogativePronouns;            if (firstWord) ++beginInterrogativePronouns;          }          else if (conjunction(s-wordLength,wordLength))          {            ++conjunctions;            if (firstWord) ++beginConjunctions;          }          else if (subConjunction(s-wordLength,wordLength))          {            ++subConjunctions;            if (firstWord) ++beginSubConjunctions;          }          else if (preposition(s-wordLength,wordLength))          {            ++prepositions;            if (firstWord) ++beginPrepositions;          }          else if (tobeVerb(s-wordLength,wordLength))          {            ++passive;            ++tobeVerbs;          }          else if (auxVerb(s-wordLength,wordLength)) ++auxVerbs;          else if (nominalization(s-wordLength,wordLength))          {            ++nom;            ++nominalizations;          }