package com.lantone.structure.ai.model;

import lombok.Getter;
import lombok.Setter;

import java.util.List;

/**
 * @Description:
 * @Author: HUJING
 * @Date: 2020/7/31 11:19
 */
@Setter
@Getter
public class EntityBlock {
    private List<String> entityWords;
    private List<String> entityTypes;
    private List<int[]> positions;
    private String genre;
    private String searchWord;
    private Integer id;

    @Override
    public String toString() {
        return entityWords.toString().replaceAll("[\\[\\]]","");
    }
}
