if(tag[i]!=NULL)
{
memset(tag[i], 0, BUF_LEN_128);
- tmp_str = nltk_get_string_from_element(nltk_get_element_from_tuple_by_index(pt_elm_tuple, 0));
+ tmp_str = nltk_get_string_from_element(nltk_get_element_from_tuple_by_index(pt_elm_tuple, 1));
if(tmp_str!=NULL)
{
strncpy(tag[i], tmp_str, BUF_LEN_128-1);
if(token[i]!=NULL)
{
memset(token[i], 0, BUF_LEN_128);
- tmp_str = nltk_get_string_from_element(nltk_get_element_from_tuple_by_index(pt_elm_tuple, 1));
+ tmp_str = nltk_get_string_from_element(nltk_get_element_from_tuple_by_index(pt_elm_tuple, 0));
if(tmp_str!=NULL)
{
strncpy(token[i], tmp_str, BUF_LEN_128-1);
if(s_tag[i]!=NULL)
{
memset(s_tag[i], 0, BUF_LEN_128);
- tmp_str = nltk_get_string_from_element(nltk_get_element_from_tuple_by_index(ne_elm_tuple, 0));
+ tmp_str = nltk_get_string_from_element(nltk_get_element_from_tuple_by_index(ne_elm_tuple, 1));
if(tmp_str!=NULL)
{
strncpy(s_tag[i], tmp_str, BUF_LEN_128-1);
if(s_token[i]!=NULL)
{
memset(s_token[i], 0, BUF_LEN_128);
- tmp_str = nltk_get_string_from_element(nltk_get_element_from_tuple_by_index(ne_elm_tuple, 1));
+ tmp_str = nltk_get_string_from_element(nltk_get_element_from_tuple_by_index(ne_elm_tuple, 0));
if(tmp_str!=NULL)
{
strncpy(s_token[i], tmp_str, BUF_LEN_128-1);