public class SenderFeature extends Object implements scala.Product, scala.Serializable
Features: alfa only (0 - not, 1 - is), See java.lang.Character#isLetter isCapitalized (0 - not, 1 - is), locationInMessage ([1..MessageLength]) previousTerm, (0 - none, 1 - xx string.hashCode) isPerson (0 - not, 1 - is)
| Constructor and Description |
|---|
SenderFeature(String term,
boolean isCapitalized,
int locationInMessage,
int previousTerm,
boolean isPerson) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.spark.mllib.linalg.Vector |
features() |
boolean |
isCapitalized() |
boolean |
isPerson() |
int |
locationInMessage() |
int |
previousTerm() |
String |
term() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic SenderFeature(String term, boolean isCapitalized, int locationInMessage, int previousTerm, boolean isPerson)
public String term()
public boolean isCapitalized()
public int locationInMessage()
public int previousTerm()
public boolean isPerson()
public org.apache.spark.mllib.linalg.Vector features()
Copyright © 2016 teletronics.ae. All Rights Reserved.