规范化关键字,什么是“nn”? [英] Normalizing Keywords, What is "nn"?

查看:488
本文介绍了规范化关键字,什么是“nn”?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我尝试使用API​​来规范化关键字列表,并且对于数字的每个实例,API附加了"nn"。到了开头。 这是什么?

I tried using the API to normalize a list of keywords and for every instance of a number, the API appended "nn" to the beginning.  What is this?

以下是一个示例:

Input Keywords:Array
(
    [0] => 2010 is great
[1] => I have 8 pet snakes
[2] => I ate eight pet snakes that like to sk8
[3] => The 2011 Candidates for Janitor of the Year
[4] => 2011 Candidates Janitor Year
[5] => 8n
[6] => n8
[7] => mx5
[8] => mx-5
[9] => mx 5g
[10] => 1-ce
[11] => 1ce
[12] => very 1ce
[13] => NN2 2010 Louisville Health Care Conference
[14] => 2010-2011 winter schedule at 6 Flags
[15] => MS 2010
[16] => 555-555-2121
[17] => Jenny 867-5309





成功的GetNormalizedStrings调用。

)

Successful GetNormalizedStrings call.

结果:stdClass对象

result:stdClass Object

(
[NormalizedStrings] => stdClass Object
(
[string] => Array
(
                    [0] => nn2010 great
[1] => i have nn8 pet snakes
[2] => i ate eight pet snakes that like sk8
[3] => nn2011 candidates janitor year
[4] => nn2011 candidates janitor year
[5] => 8n
[6] => n8
[7] => mx5
[8] => mx nn5
[9] => mx 5g
[10] => nn1 ce
[11] => 1ce
[12] => very 1ce
[13] => nn2 nn2010 louisville health care conference
[14] => nn2010 nn2011 winter schedule nn6 flags
[15] => ms nn2010
[16] => nn555 nn555 nn2121
[17] => jenny nn867 nn5309








)

)

)

推荐答案

您好,

'nn'标记一个标准化数字。你觉得这个标志有用吗?如果没有,您是否能够围绕此进行编码或者我们是否应考虑更新API的返回值?

'nn' flags a normalized number. Do you find this flag useful? If not, are you able to code around this or shall we consider updating the return values of the API?

谢谢!


这篇关于规范化关键字,什么是“nn”?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆