Class DetailResult

    • Constructor Detail

      • DetailResult

        public DetailResult()
      • DetailResult

        public DetailResult​(DetailResult source)
        NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy, and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
    • Method Detail

      • getKeywords

        public String[] getKeywords()
        Get 该标签下命中的关键词
        Returns:
        Keywords 该标签下命中的关键词
      • setKeywords

        public void setKeywords​(String[] Keywords)
        Set 该标签下命中的关键词
        Parameters:
        Keywords - 该标签下命中的关键词
      • getEvilType

        public Long getEvilType()
        Get 恶意类型 100:正常 20001:政治 20002:色情 20006:涉毒违法 20007:谩骂 20105:广告引流 24001:暴恐
        Returns:
        EvilType 恶意类型 100:正常 20001:政治 20002:色情 20006:涉毒违法 20007:谩骂 20105:广告引流 24001:暴恐
      • setEvilType

        public void setEvilType​(Long EvilType)
        Set 恶意类型 100:正常 20001:政治 20002:色情 20006:涉毒违法 20007:谩骂 20105:广告引流 24001:暴恐
        Parameters:
        EvilType - 恶意类型 100:正常 20001:政治 20002:色情 20006:涉毒违法 20007:谩骂 20105:广告引流 24001:暴恐
      • getScore

        public Long getScore()
        Get 该标签模型命中的分值
        Returns:
        Score 该标签模型命中的分值
      • setScore

        public void setScore​(Long Score)
        Set 该标签模型命中的分值
        Parameters:
        Score - 该标签模型命中的分值
      • getEvilLabel

        public String getEvilLabel()
        Get 恶意标签,Normal:正常,Polity:涉政,Porn:色情,Illegal:违法,Abuse:谩骂,Terror:暴恐,Ad:广告,Custom:自定义关键词
        Returns:
        EvilLabel 恶意标签,Normal:正常,Polity:涉政,Porn:色情,Illegal:违法,Abuse:谩骂,Terror:暴恐,Ad:广告,Custom:自定义关键词
      • setEvilLabel

        public void setEvilLabel​(String EvilLabel)
        Set 恶意标签,Normal:正常,Polity:涉政,Porn:色情,Illegal:违法,Abuse:谩骂,Terror:暴恐,Ad:广告,Custom:自定义关键词
        Parameters:
        EvilLabel - 恶意标签,Normal:正常,Polity:涉政,Porn:色情,Illegal:违法,Abuse:谩骂,Terror:暴恐,Ad:广告,Custom:自定义关键词