public class POSSample
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
POSSample(java.util.List<java.lang.String> sentence,
java.util.List<java.lang.String> tags) |
POSSample(java.util.List<java.lang.String> sentence,
java.util.List<java.lang.String> tags,
java.lang.String[][] additionalContext) |
POSSample(java.lang.String[] sentence,
java.lang.String[] tags) |
POSSample(java.lang.String[] sentence,
java.lang.String[] tags,
java.lang.String[][] additionalContext) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String[][] |
getAddictionalContext() |
java.lang.String[] |
getSentence() |
java.lang.String[] |
getTags() |
int |
hashCode() |
static POSSample |
parse(java.lang.String sentenceString) |
java.lang.String |
toString() |
public POSSample(java.lang.String[] sentence, java.lang.String[] tags)
public POSSample(java.util.List<java.lang.String> sentence, java.util.List<java.lang.String> tags)
public POSSample(java.util.List<java.lang.String> sentence, java.util.List<java.lang.String> tags, java.lang.String[][] additionalContext)
public POSSample(java.lang.String[] sentence, java.lang.String[] tags, java.lang.String[][] additionalContext)
public java.lang.String[] getSentence()
public java.lang.String[] getTags()
public java.lang.String[][] getAddictionalContext()
public java.lang.String toString()
toString
in class java.lang.Object
public static POSSample parse(java.lang.String sentenceString) throws InvalidFormatException
InvalidFormatException
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2010 - 2023 Adobe. All Rights Reserved