/** @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 WordnetDictTerm(JCas jcas, int begin, int end) { super(jcas); setBegin(begin); setEnd(end); readObject(); }
.getIndexWord(stems.get(0), pos); if (wnWord != null) { WordnetDictTerm wdt = new WordnetDictTerm(jCas, t.getBegin(), t.getEnd()); wdt.setDictCanon(stems.get(0)); wdt.setEntityId(wnWord.getID().toString()); wdt.addToIndexes(); pos); if (wnWord != null) { WordnetDictTerm wdt = new WordnetDictTerm(jCas, t.getBegin(), t.getEnd()); wdt.setDictCanon(stems.get(0)); wdt.setEntityId(wnWord.getID().toString()); wdt.addToIndexes();
public FeatureStructure createFS(int addr, CASImpl cas) { if (WordnetDictTerm_Type.this.useExistingInstance) { // Return eq fs instance if already created FeatureStructure fs = WordnetDictTerm_Type.this.jcas.getJfsFromCaddr(addr); if (null == fs) { fs = new WordnetDictTerm(addr, WordnetDictTerm_Type.this); WordnetDictTerm_Type.this.jcas.putJfsFromCaddr(addr, fs); return fs; } return fs; } else return new WordnetDictTerm(addr, WordnetDictTerm_Type.this); } };
/** Internal - constructor used by generator * @generated * @param addr low level Feature Structure reference * @param type the type of this Feature Structure */ public WordnetDictTerm(int addr, TOP_Type type) { super(addr, type); readObject(); }
/** @generated * @param jcas JCas to which this Feature Structure belongs */ public WordnetDictTerm(JCas jcas) { super(jcas); readObject(); }