Class FilteredSpan

java.lang.Object
ai.philterd.philter.model.FilteredSpan

public class FilteredSpan extends Object
A section of text that was identified by Philter as sensitive information and filtered from the input text.
  • Constructor Details

    • FilteredSpan

      public FilteredSpan()
  • Method Details

    • getCharacterStart

      public int getCharacterStart()
    • setCharacterStart

      public void setCharacterStart(int characterStart)
    • getCharacterEnd

      public int getCharacterEnd()
    • setCharacterEnd

      public void setCharacterEnd(int characterEnd)
    • getFilterType

      public String getFilterType()
    • setFilterType

      public void setFilterType(String filterType)
    • getContext

      public String getContext()
    • setContext

      public void setContext(String context)
    • getDocumentId

      public String getDocumentId()
    • setDocumentId

      public void setDocumentId(String documentId)
    • getConfidence

      public double getConfidence()
    • setConfidence

      public void setConfidence(double confidence)
    • getReplacement

      public String getReplacement()
    • setReplacement

      public void setReplacement(String replacement)