Documentation of 'smile.nlp.Text' Java class
Text
smile.nlp

Class Text

  • Direct Known Subclasses:
    SimpleText


    public class Text
    extends java.lang.Object
    A minimal interface of text in the corpus.
    • Constructor Summary

      Constructors 
      Constructor and Description
      Text(java.lang.String id, java.lang.String title, java.lang.String body) 
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.lang.String getBody()
      Returns the body of text.
      java.lang.String getID()
      Returns the id of document in the corpus.
      java.lang.String getTitle()
      Returns the title of text.
      Text setBody(java.lang.String body) 
      Text setID(java.lang.String id) 
      Text setTitle(java.lang.String title) 
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Text

        public Text(java.lang.String id,
                    java.lang.String title,
                    java.lang.String body)
    • Method Detail

      • getID

        public java.lang.String getID()
        Returns the id of document in the corpus.
      • setID

        public Text setID(java.lang.String id)
      • getTitle

        public java.lang.String getTitle()
        Returns the title of text.
      • setTitle

        public Text setTitle(java.lang.String title)
      • getBody

        public java.lang.String getBody()
        Returns the body of text.
      • setBody

        public Text setBody(java.lang.String body)

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.