/** @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(); }
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(')');
FSArray fa = pred.getArguments(); for (Token tokPred: JCasUtil.selectCovered(Token.class, pred)) { String textPred = goodToks.mMap.get(tokPred);
/** @generated * @param jcas JCas to which this Feature Structure belongs */ public SemanticPredicate(JCas jcas) { super(jcas); readObject(); }
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(')');
/** 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(); }
/** @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(); }
/** 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(); }
/** @generated * @param jcas JCas to which this Feature Structure belongs */ public SemanticPredicate(JCas jcas) { super(jcas); readObject(); }