Package de.tudarmstadt.langtech.substituter

Examples of de.tudarmstadt.langtech.substituter.Substitution


      // TWSI only operates on nouns
      if (postags.get(i).startsWith("NN"))
      {
        try
        {
          Substitution subst = sensub.getSubstitution(i, tokenArray, postagsArray);
         
          if (subst != null)
          {
            for (String[] substitution : subst.getSubstitutions())
            {
              //resultList.add(subst.getSense().replaceAll("@@", ""));
              resultList.add(substitution[0]);
            }
          }
View Full Code Here

TOP

Related Classes of de.tudarmstadt.langtech.substituter.Substitution

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.