/** * @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 Relation(JCas jcas, int begin, int end) { super(jcas); setBegin(begin); setEnd(end); 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 Relation(JCas jcas, int begin, int end) { super(jcas); setBegin(begin); setEnd(end); readObject(); }
reciever -> { final Relation r = new Relation(jCas); r.setBegin(offset); r.setEnd(offset); r.setRelationshipType("emails");
reciever -> { final Relation r = new Relation(jCas); r.setBegin(offset); r.setEnd(offset); r.setRelationshipType("emails");
a.setBegin(r.getBegin()); a.setEnd(r.getEnd()); a.setValue(r.getValue());
a.setBegin(r.getBegin()); a.setEnd(r.getEnd()); a.setValue(r.getValue());
r.setBegin(text.indexOf("went")); r.setEnd(r.getBegin() + "went".length()); r.setValue("went");
r.setBegin(text.indexOf("went")); r.setEnd(r.getBegin() + "went".length()); r.setValue("went");
r.setBegin(text.indexOf("went")); r.setEnd(r.getBegin() + "went".length()); r.setValue("went");
r.setBegin(0); r.setEnd(1); r.setSource(p2);
r1.setBegin(0); r1.setEnd(10); r1.setRelationshipType("type"); r4.setBegin(r1.getBegin()); r4.setEnd(r1.getEnd()); r4.setRelationshipType("different"); r5.setBegin(r1.getBegin()); r5.setEnd(r1.getEnd()); r5.setRelationshipType(r1.getRelationshipType()); r6.setBegin(r1.getBegin()); r6.setEnd(r1.getEnd()); r6.setRelationshipType(r1.getRelationshipType());
r1.setBegin(0); r1.setEnd(10); r1.setRelationshipType("type"); r2.setBegin(r1.getBegin()); r2.setEnd(9); r2.setRelationshipType(r1.getRelationshipType()); r3.setBegin(1); r3.setEnd(r1.getEnd()); r3.setRelationshipType(r1.getRelationshipType()); r4.setBegin(r1.getBegin()); r4.setEnd(r1.getEnd()); r4.setRelationshipType("different"); r5.setBegin(r1.getBegin()); r5.setEnd(r1.getEnd()); r5.setRelationshipType(r1.getRelationshipType()); r6.setBegin(r1.getBegin()); r6.setEnd(r1.getEnd()); r6.setRelationshipType(r1.getRelationshipType()); r7.setBegin(r1.getBegin()); r7.setEnd(r1.getEnd()); r7.setRelationshipType(r1.getRelationshipType());
r.setBegin(0); r.setEnd(20); r.setValue("James went to London");
r.setBegin(6); r.setEnd(13); r.setValue("went to");