官术网_书友最值得收藏!

Identifying entities through annotators

Let's return to the first style of identifying an entity that you care about. In the first approach, we showed you in Recognizing entities, we went to the intent examples, and highlighted the entity that we cared about in that example. We refer to this as the annotator approach to entity recognition. Annotators are a much more powerful way of identifying the entities. Rather than setting a rule, such as the word hot is a temperature entity, the annotator approach builds a machine learning algorithm that takes in the context of the surrounding words in the sentence. In doing so, it calculates the probability that hot is referring to a temperature. In a sentence such as The water is hot, it makes sense to recognize hot as being a temperature. But in another sentence, such as The market is hot, it should be taken to be the relative value people place on a particular product.

As your conversational agent gets more sophisticated, you will likely want to make more use of the annotator approach to entity recognition, as doing so will make its interpretation more robust. However, keep in mind that, like most machine learning problems, you have to teach Watson through examples—generally with several examples. If you're going to use this approach, you should find several examples in your intent training set in which you make use of the different entity types you care about, and label them accordingly.

So, in this example, we have added a few examples of the #Funds-Transfer intent, and, within that we have annotated, (as indicated by their highlights in the following example) a number of @Account entities:

主站蜘蛛池模板: 昭苏县| 繁昌县| 福建省| 元谋县| 沈阳市| 花莲市| 封丘县| 长治市| 常德市| 房山区| 武义县| 孟州市| 罗甸县| 双城市| 昌邑市| 涪陵区| 保山市| 许昌市| 林芝县| 许昌市| 赤水市| 波密县| 重庆市| 涞水县| 志丹县| 黄陵县| 鹿泉市| 紫云| 广平县| 大庆市| 杭州市| 大同县| 无锡市| 上杭县| 涟水县| 都安| 卢湾区| 平舆县| 阿拉尔市| 息烽县| 平湖市|