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

Interface AnchorText

  • All Known Implementing Classes:
    SimpleText


    public interface AnchorText
    The anchor text is the visible, clickable text in a hyperlink. This provides an interface to all the anchor text in the corpus pointing to a text.
    • Method Detail

      • getAnchor

        java.lang.String getAnchor()
        Returns the anchor text if any. The anchor text is the visible, clickable text in a hyperlink. The anchor text is all the anchor text in the corpus pointing to this text.
      • setAnchor

        AnchorText setAnchor(java.lang.String anchor)
        Sets the anchor text. Note that anchor is all link labels in the corpus pointing to this text. So addAnchor is more appropriate in most cases.
      • addAnchor

        AnchorText addAnchor(java.lang.String linkLabel)
        Add a link label to the anchor text.

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.