|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.ucdenver.ccp.nlp.biolemmatizer.LemmataEntry
public class LemmataEntry
LemmataEntry: store POS tags and corresponding lemmas for one lemmata entry
| Nested Class Summary | |
|---|---|
static class |
LemmataEntry.Lemma
Simple utility class to store a single lemma/pos combination |
| Field Summary | |
|---|---|
Map<String,String> |
lemmasAndCategories
Map to store lemmata info. |
static String |
lemmaSeparator
Lemma separator character |
| Constructor Summary | |
|---|---|
LemmataEntry(Map<String,String> lemmasAndCategories,
edu.ucdenver.ccp.nlp.biolemmatizer.POSEntry posEntry)
Construtor to initialize the class field |
|
| Method Summary | |
|---|---|
Collection<LemmataEntry.Lemma> |
getLemmas()
|
String |
lemmasToString()
Represent lemmas of different POS tags; separated by lemmaSeparator |
String |
toString()
Override toString() method to represent lemma and POS info in a concatenated triplet; Different lemmas are separated by lemmaSeparator |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public Map<String,String> lemmasAndCategories
public static String lemmaSeparator
| Constructor Detail |
|---|
public LemmataEntry(Map<String,String> lemmasAndCategories,
edu.ucdenver.ccp.nlp.biolemmatizer.POSEntry posEntry)
lemmasAndCategories - a Map object that stores lemmata infoposEntry - provides mappings from POS tags to a corresponding tag set name| Method Detail |
|---|
public String toString()
toString in class Objectpublic String lemmasToString()
public Collection<LemmataEntry.Lemma> getLemmas()
Collection of unique LemmataEntry.Lemma objects
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||