Tabnine Logo
SemanticPredicate
Code IndexAdd Tabnine to your IDE (free)

How to use
SemanticPredicate
in
de.tudarmstadt.ukp.dkpro.core.api.semantics.type

Best Java code snippets using de.tudarmstadt.ukp.dkpro.core.api.semantics.type.SemanticPredicate (Showing top 9 results out of 315)

origin: de.tudarmstadt.ukp.dkpro.core/de.tudarmstadt.ukp.dkpro.core.api.semantics-asl

/** @generated
 * @param jcas JCas to which this Feature Structure belongs
 * @param begin offset to the begin spot in the SofA
 * @param end offset to the end spot in the SofA 
*/  
public SemanticPredicate(JCas jcas, int begin, int end) {
 super(jcas);
 setBegin(begin);
 setEnd(end);
 readObject();
}   
origin: de.tudarmstadt.ukp.dkpro.core/de.tudarmstadt.ukp.dkpro.core.testing-asl

sb.append(p.getCoveredText()).append(" (").append(p.getCategory()).append("): [");
for (SemanticArgument a : select(p.getArguments(), SemanticArgument.class)) {
  sb.append('(').append(a.getRole()).append(':').append(a.getCoveredText())
      .append(')');
origin: oaqa/knn4qa

FSArray fa = pred.getArguments();
for (Token tokPred: JCasUtil.selectCovered(Token.class, pred)) {
 String textPred = goodToks.mMap.get(tokPred);
origin: dkpro/dkpro-core

/** @generated
 * @param jcas JCas to which this Feature Structure belongs 
 */
public SemanticPredicate(JCas jcas) {
 super(jcas);
 readObject();   
} 
origin: dkpro/dkpro-core

sb.append(p.getCoveredText()).append(" (").append(p.getCategory()).append("): [");
for (SemanticArgument a : select(p.getArguments(), SemanticArgument.class)) {
  sb.append('(').append(a.getRole()).append(':').append(a.getCoveredText())
      .append(')');
origin: de.tudarmstadt.ukp.dkpro.core/de.tudarmstadt.ukp.dkpro.core.api.semantics-asl

/** Internal - constructor used by generator 
 * @generated
 * @param addr low level Feature Structure reference
 * @param type the type of this Feature Structure 
 */
public SemanticPredicate(int addr, TOP_Type type) {
 super(addr, type);
 readObject();
}

origin: dkpro/dkpro-core

/** @generated
 * @param jcas JCas to which this Feature Structure belongs
 * @param begin offset to the begin spot in the SofA
 * @param end offset to the end spot in the SofA 
*/  
public SemanticPredicate(JCas jcas, int begin, int end) {
 super(jcas);
 setBegin(begin);
 setEnd(end);
 readObject();
}   
origin: dkpro/dkpro-core

/** Internal - constructor used by generator 
 * @generated
 * @param addr low level Feature Structure reference
 * @param type the type of this Feature Structure 
 */
public SemanticPredicate(int addr, TOP_Type type) {
 super(addr, type);
 readObject();
}

origin: de.tudarmstadt.ukp.dkpro.core/de.tudarmstadt.ukp.dkpro.core.api.semantics-asl

/** @generated
 * @param jcas JCas to which this Feature Structure belongs 
 */
public SemanticPredicate(JCas jcas) {
 super(jcas);
 readObject();   
} 
de.tudarmstadt.ukp.dkpro.core.api.semantics.typeSemanticPredicate

Javadoc

One of the predicates of a sentence (often a main verb, but nouns and adjectives can also be predicates). The SemanticPredicate annotation can be attached to predicates in a sentence. Semantic predicates express events or situations and take semantic arguments expressing the participants in these events ore situations. All forms of main verbs can be annotated with a SemanticPredicate. However, there are also many nouns and adjectives that take arguments and can thus be annotated with a SemanticPredicate, e.g. event nouns, such as "suggestion" (with arguments what and by whom), or relational adjectives, such as "proud" (with arguments who and of what).

Most used methods

  • getArguments
    indexed getter for arguments - gets an indexed value - The predicate's arguments.
  • getCategory
    getter for category - gets A more detailed specification of the predicate type depending on the theo
  • getCoveredText
  • readObject
    Write your own initialization here
  • setBegin
  • setEnd

Popular in Java

  • Making http requests using okhttp
  • getApplicationContext (Context)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • findViewById (Activity)
  • Component (java.awt)
    A component is an object having a graphical representation that can be displayed on the screen and t
  • HttpURLConnection (java.net)
    An URLConnection for HTTP (RFC 2616 [http://tools.ietf.org/html/rfc2616]) used to send and receive d
  • SQLException (java.sql)
    An exception that indicates a failed JDBC operation. It provides the following information about pro
  • TimeUnit (java.util.concurrent)
    A TimeUnit represents time durations at a given unit of granularity and provides utility methods to
  • Project (org.apache.tools.ant)
    Central representation of an Ant project. This class defines an Ant project with all of its targets,
  • Reflections (org.reflections)
    Reflections one-stop-shop objectReflections scans your classpath, indexes the metadata, allows you t
  • Top plugins for Android Studio
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now