⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 pointertarget.java

📁 WordNet is an extensive database developed by Princeton University faculty and students over the las
💻 JAVA
字号:
/*
 * WordNet-Java
 *
 * Copyright 1998 by Oliver Steele.  You can use this software freely so long as you preserve
 * the copyright notice and this restriction, and label your changes.
 */
package edu.gwu.wordnet;


/** A <code>PointerTarget</code> is the source or target of a <code>Pointer</code>.
 * The target of a semantic <code>PointerTarget</code> is a <code>Synset</code>;
 * the target of a lexical <code>PointerTarget</code> is a <code>Word</code>.
 *
 * @see Pointer
 * @see Synset
 * @see Word
 * @author Oliver Steele, steele@cs.brandeis.edu
 * @version 1.0
 */
public interface PointerTarget {
	public POS getPOS();
	
	/** Return a description of the target.  For a <code>Word</code>, this is it's lemma;
	 * for a <code>Synset</code>, it's the concatenated lemma's of its <code>Word</code>s.
	 */
	public String getDescription();
	
	/** Return the long description of the target.  This is its description, appended by,
	 * if it exists, a dash and it's gloss.
	 */
	public String getLongDescription();
	
	/** Return the outgoing <code>Pointer</code>s from the target -- those <code>Pointer</code>s
	 * that have this object as their source.
	 */
	public Pointer[] getPointers();
	
	/** Return the outgoing <code>Pointer</code>s of type <var>type</var>. */
	public Pointer[] getPointers(PointerType type);
	
	/** Return the targets of the outgoing <code>Pointer</code>s. */
	public PointerTarget[] getTargets();
	
	/** Return the targets of the outgoing <code>Pointer</code>s that have type <var>type</var>. */
	public PointerTarget[] getTargets(PointerType type);
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -