Codota Logo
SemanticPredicate
Code IndexAdd Codota 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)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
Gson g =
  • Codota Iconnew Gson()
  • Codota IconGsonBuilder gsonBuilder;gsonBuilder.create()
  • Codota Iconnew GsonBuilder().create()
  • Smart code suggestions by Codota
}
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

  • Parsing JSON documents to java classes using gson
  • onCreateOptionsMenu (Activity)
  • setScale (BigDecimal)
    Returns a BigDecimal whose scale is the specified value, and whose value is numerically equal to thi
  • getResourceAsStream (ClassLoader)
    Returns a stream for the resource with the specified name. See #getResource(String) for a descriptio
  • Point (java.awt)
    A point representing a location in (x, y) coordinate space, specified in integer precision.
  • File (java.io)
    An "abstract" representation of a file system entity identified by a pathname. The pathname may be a
  • FileWriter (java.io)
    Convenience class for writing character files. The constructors of this class assume that the defaul
  • Deque (java.util)
    A linear collection that supports element insertion and removal at both ends. The name deque is shor
  • TimerTask (java.util)
    A task that can be scheduled for one-time or repeated execution by a Timer.
  • Reference (javax.naming)
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now