# 序列标注问题

<https://blog.csdn.net/malefactor/article/details/50725480>

所谓“序列标注”，就是说对于一个一维线性输入序列：

$$
x=x\_1,x\_2,...,x\_i,...,x\_n
$$

给线性序列中的每个元素打上标签集合中的某个标签

$$
y=y\_1,y\_2,...,y\_i,...,y\_n
$$

所以，其**本质上是对线性序列中每个元素根据上下文内容进行分类的问题**

分词问题：`跟着 Tfboys 学 左手 右手 一个 慢动作`

序列标注的任务就是给每个汉字打上一个标签，对于分词任务来说，我们可以定义标签集合为：

$$
LabelSet={B,M,E,S}
$$

其中**B代表这个汉字是词汇的开始字符，M代表这个汉字是词汇的中间字符，E代表这个汉字是词汇的结束字符，而S代表单字词**。

![](/files/-LqlOCaEJsT7aQ9S0w0d)

命名实体

![](/files/-LqlOCaGjTUHiEBb6F8a)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://im-qianuxn.gitbook.io/pytorch/ji-suan-ji/shen-du-xue-xi-li-lun/rnn/xu-lie-biao-zhu.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
