Class CorrectionItem

    • Constructor Detail

      • CorrectionItem

        public CorrectionItem()
      • CorrectionItem

        public CorrectionItem​(CorrectionItem 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

      • getOrder

        public Long getOrder()
        Get 纠错句子的序号。
        Returns:
        Order 纠错句子的序号。
      • setOrder

        public void setOrder​(Long Order)
        Set 纠错句子的序号。
        Parameters:
        Order - 纠错句子的序号。
      • getBeginOffset

        public Long getBeginOffset()
        Get 错误的起始位置,从0开始。
        Returns:
        BeginOffset 错误的起始位置,从0开始。
      • setBeginOffset

        public void setBeginOffset​(Long BeginOffset)
        Set 错误的起始位置,从0开始。
        Parameters:
        BeginOffset - 错误的起始位置,从0开始。
      • getLen

        public Long getLen()
        Get 错误内容长度。
        Returns:
        Len 错误内容长度。
      • setLen

        public void setLen​(Long Len)
        Set 错误内容长度。
        Parameters:
        Len - 错误内容长度。
      • getWord

        public String getWord()
        Get 错误内容。
        Returns:
        Word 错误内容。
      • setWord

        public void setWord​(String Word)
        Set 错误内容。
        Parameters:
        Word - 错误内容。
      • getCorrectWord

        public String[] getCorrectWord()
        Get 纠错结果,当为删除类错误时,结果为null。 注意:此字段可能返回 null,表示取不到有效值。
        Returns:
        CorrectWord 纠错结果,当为删除类错误时,结果为null。 注意:此字段可能返回 null,表示取不到有效值。
      • setCorrectWord

        public void setCorrectWord​(String[] CorrectWord)
        Set 纠错结果,当为删除类错误时,结果为null。 注意:此字段可能返回 null,表示取不到有效值。
        Parameters:
        CorrectWord - 纠错结果,当为删除类错误时,结果为null。 注意:此字段可能返回 null,表示取不到有效值。
      • getCorrectionType

        public Long getCorrectionType()
        Get 纠错类型。0:替换;1:插入;2:删除。
        Returns:
        CorrectionType 纠错类型。0:替换;1:插入;2:删除。
      • setCorrectionType

        public void setCorrectionType​(Long CorrectionType)
        Set 纠错类型。0:替换;1:插入;2:删除。
        Parameters:
        CorrectionType - 纠错类型。0:替换;1:插入;2:删除。
      • getConfidence

        public Long getConfidence()
        Get 纠错信息置信度。0:error;1:warning;error的置信度更高。(仅供参考)
        Returns:
        Confidence 纠错信息置信度。0:error;1:warning;error的置信度更高。(仅供参考)
      • setConfidence

        public void setConfidence​(Long Confidence)
        Set 纠错信息置信度。0:error;1:warning;error的置信度更高。(仅供参考)
        Parameters:
        Confidence - 纠错信息置信度。0:error;1:warning;error的置信度更高。(仅供参考)
      • getDescriptionZh

        public String getDescriptionZh()
        Get 纠错信息中文描述。 注意:此字段可能返回 null,表示取不到有效值。
        Returns:
        DescriptionZh 纠错信息中文描述。 注意:此字段可能返回 null,表示取不到有效值。
      • setDescriptionZh

        public void setDescriptionZh​(String DescriptionZh)
        Set 纠错信息中文描述。 注意:此字段可能返回 null,表示取不到有效值。
        Parameters:
        DescriptionZh - 纠错信息中文描述。 注意:此字段可能返回 null,表示取不到有效值。
      • getDescriptionEn

        public String getDescriptionEn()
        Get 纠错信息英文描述。 注意:此字段可能返回 null,表示取不到有效值。
        Returns:
        DescriptionEn 纠错信息英文描述。 注意:此字段可能返回 null,表示取不到有效值。
      • setDescriptionEn

        public void setDescriptionEn​(String DescriptionEn)
        Set 纠错信息英文描述。 注意:此字段可能返回 null,表示取不到有效值。
        Parameters:
        DescriptionEn - 纠错信息英文描述。 注意:此字段可能返回 null,表示取不到有效值。