{
"synonyms":
[
[
{
"sen": "半马跑进两小时 16公里4分多配速"
}
],
[
{
"sen": "我 你 我是收破烂的"
}
],
[
{
"sen": "我"
},
{
"sen": "是收",
"color": " rgb(255, 0, 2)",
"fontWeight": " bold"
},
{
"sen": "破烂的"
}
],
[
{
"sen": "流口"
},
{
"sen": "水对",
"color": " rgb(51, 51, 51)",
"fontWeight": " bold"
},
{
"sen": "话框"
}
],
[
{
"sen": "1500米拿不到名次"
}
],
[
{
"sen": "我爱共产党"
}
],
[
{
"sen": "文化大革命"
}
],
[
{
"sen": "嘿哈"
}
],
[
{
"sen": "\n"
}
],
[
{
"sen": "\n"
}
],
[
{
"sen": "改跑4*400"
}
],
[
{
"sen": "\n"
}
],
[
{
"sen": "阿是卡号"
}
]
]
}
curl --location --request POST 'http://127.0.0.1:8080/user/hasSynonymWeb' \
--header 'Content-Type: application/json' \
--data-raw '{
"synonyms":
[
[
{
"sen": "半马跑进两小时 16公里4分多配速"
}
],
[
{
"sen": "我 你 我是收破烂的"
}
],
[
{
"sen": "我"
},
{
"sen": "是收",
"color": " rgb(255, 0, 2)",
"fontWeight": " bold"
},
{
"sen": "破烂的"
}
],
[
{
"sen": "流口"
},
{
"sen": "水对",
"color": " rgb(51, 51, 51)",
"fontWeight": " bold"
},
{
"sen": "话框"
}
],
[
{
"sen": "1500米拿不到名次"
}
],
[
{
"sen": "我爱共产党"
}
],
[
{
"sen": "文化大革命"
}
],
[
{
"sen": "嘿哈"
}
],
[
{
"sen": "\n"
}
],
[
{
"sen": "\n"
}
],
[
{
"sen": "改跑4*400"
}
],
[
{
"sen": "\n"
}
],
[
{
"sen": "阿是卡号"
}
]
]
}'
{
"code": 0,
"msg": "",
"data": [
{
"hasSynonym": false,
"word": "你好",
"startIndex": 0,
"endIndex": 2,
"paragraph": 0,
"sentence": 0,
"color": null
},
{
"hasSynonym": false,
"word": ",",
"startIndex": 2,
"endIndex": 3,
"paragraph": 0,
"sentence": 0,
"color": null
},
{
"hasSynonym": true,
"word": "我",
"startIndex": 3,
"endIndex": 4,
"paragraph": 0,
"sentence": 0,
"color": null
},
{
"hasSynonym": false,
"word": "是",
"startIndex": 4,
"endIndex": 5,
"paragraph": 0,
"sentence": 0,
"color": null
},
{
"hasSynonym": false,
"word": "一个",
"startIndex": 0,
"endIndex": 2,
"paragraph": 0,
"sentence": 1,
"color": null
},
{
"hasSynonym": true,
"word": "高兴",
"startIndex": 2,
"endIndex": 4,
"paragraph": 0,
"sentence": 1,
"color": null
},
{
"hasSynonym": false,
"word": "的",
"startIndex": 4,
"endIndex": 5,
"paragraph": 0,
"sentence": 1,
"color": null
},
{
"hasSynonym": false,
"word": "人",
"startIndex": 5,
"endIndex": 6,
"paragraph": 0,
"sentence": 1,
"color": null
},
{
"hasSynonym": true,
"word": "高",
"startIndex": 6,
"endIndex": 7,
"paragraph": 0,
"sentence": 1,
"color": null
},
{
"hasSynonym": true,
"word": "兴",
"startIndex": 0,
"endIndex": 1,
"paragraph": 0,
"sentence": 2,
"color": null
},
{
"hasSynonym": false,
"word": ",",
"startIndex": 1,
"endIndex": 2,
"paragraph": 0,
"sentence": 2,
"color": null
},
{
"hasSynonym": true,
"word": "非常",
"startIndex": 2,
"endIndex": 4,
"paragraph": 0,
"sentence": 2,
"color": null
},
{
"hasSynonym": true,
"word": "感谢",
"startIndex": 4,
"endIndex": 6,
"paragraph": 0,
"sentence": 2,
"color": null
},
{
"hasSynonym": false,
"word": "见到",
"startIndex": 5,
"endIndex": 7,
"paragraph": 1,
"sentence": 0,
"color": null
},
{
"hasSynonym": true,
"word": "你",
"startIndex": 7,
"endIndex": 8,
"paragraph": 1,
"sentence": 0,
"color": null
},
{
"hasSynonym": true,
"word": "今天",
"startIndex": 7,
"endIndex": 9,
"paragraph": 1,
"sentence": 1,
"color": null
},
{
"hasSynonym": true,
"word": "天气",
"startIndex": 9,
"endIndex": 11,
"paragraph": 1,
"sentence": 1,
"color": null
},
{
"hasSynonym": true,
"word": "晴朗",
"startIndex": 6,
"endIndex": 8,
"paragraph": 1,
"sentence": 2,
"color": null
},
{
"hasSynonym": false,
"word": "很",
"startIndex": 8,
"endIndex": 9,
"paragraph": 1,
"sentence": 2,
"color": null
},
{
"hasSynonym": true,
"word": "适合",
"startIndex": 9,
"endIndex": 11,
"paragraph": 1,
"sentence": 2,
"color": null
},
{
"hasSynonym": true,
"word": "旅游",
"startIndex": 11,
"endIndex": 13,
"paragraph": 1,
"sentence": 2,
"color": null
},
{
"hasSynonym": true,
"word": "晴朗",
"startIndex": 0,
"endIndex": 2,
"paragraph": 1,
"sentence": 3,
"color": null
},
{
"hasSynonym": false,
"word": "很",
"startIndex": 2,
"endIndex": 3,
"paragraph": 1,
"sentence": 3,
"color": null
},
{
"hasSynonym": true,
"word": "适合",
"startIndex": 3,
"endIndex": 5,
"paragraph": 1,
"sentence": 3,
"color": null
},
{
"hasSynonym": true,
"word": "旅游",
"startIndex": 5,
"endIndex": 7,
"paragraph": 1,
"sentence": 3,
"color": null
}
]
}