목차
1. 관계대명사 that의 사용법
2. 관계대명사 that의 끝을 알아내는 알고리즘
3. 위에서 제기한 that절의 끝을 찾아내는 알고리즘으로 SBAR중 관계대명사 that의 끝을 찾을 정확성
2. 관계대명사 that의 끝을 알아내는 알고리즘
3. 위에서 제기한 that절의 끝을 찾아내는 알고리즘으로 SBAR중 관계대명사 that의 끝을 찾을 정확성
본문내용
P|| *string==ADJP || *string==NP ||*string==NPL)
{ if(*string== NP ||*string==NPL)
return real_end_that=FALSE;
else
{ *string = 다음 단어 parse;
if(*string== VP)
return real_end_that=FALSE;
}
}
else if(*string ==NULL)
{return real_end_that=FALSE;}
}
}
else // that에 이미 들어와 있을때
{
*string = 다음 단어 parse;
if(*string==NP || *string==NPL)
{ *string = 다음 단어 parse;
if(*string == VP)
{*string = 다음 단어 parse;
if(*string == NPL ||*string == ADVP||*string == PP)
{return real_end_that=FALSE;}
else if(*string ==NULL) // 문장이 없으면
{return real_end_that=FALSE;}
}
else if(*string ==NULL)
{return real_end_that=FALSE;}
}
else(*string==VP)
{ *string = 다음 단어 parse;
if(*string == VP)
{ return real_end_that=FALSE;} // 연속적으로 VP가 나왔을때
else if(*string==ADVP|| *string==ADJP || *string==NP ||*string==NPL)
{ if(*string== NP ||*string==NPL)
return real_end_that=FALSE;
else
{ *string = 다음 단어 parse;
if(*string== VP)
return real_end_that=FALSE;
}
}
else if(*string ==NULL)
{return real_end_that=FALSE;}
}
}
}
else
{ return FALSE; // that절의 마지막이다.
}
}
문제3
위에서 제기한 that절의 끝을 찾아내는 알고리즘으로 SBAR중 관계대명사 that의 끝을 찾을 정확성
that 포함 전체 문장 : 약 299번
관계대명사 , 접속사 that(SBAR) 문장 : 약 163번
관계대명사 that: 102 실패:17 (정확도 약 83%)
접속사 that: 61
{ if(*string== NP ||*string==NPL)
return real_end_that=FALSE;
else
{ *string = 다음 단어 parse;
if(*string== VP)
return real_end_that=FALSE;
}
}
else if(*string ==NULL)
{return real_end_that=FALSE;}
}
}
else // that에 이미 들어와 있을때
{
*string = 다음 단어 parse;
if(*string==NP || *string==NPL)
{ *string = 다음 단어 parse;
if(*string == VP)
{*string = 다음 단어 parse;
if(*string == NPL ||*string == ADVP||*string == PP)
{return real_end_that=FALSE;}
else if(*string ==NULL) // 문장이 없으면
{return real_end_that=FALSE;}
}
else if(*string ==NULL)
{return real_end_that=FALSE;}
}
else(*string==VP)
{ *string = 다음 단어 parse;
if(*string == VP)
{ return real_end_that=FALSE;} // 연속적으로 VP가 나왔을때
else if(*string==ADVP|| *string==ADJP || *string==NP ||*string==NPL)
{ if(*string== NP ||*string==NPL)
return real_end_that=FALSE;
else
{ *string = 다음 단어 parse;
if(*string== VP)
return real_end_that=FALSE;
}
}
else if(*string ==NULL)
{return real_end_that=FALSE;}
}
}
}
else
{ return FALSE; // that절의 마지막이다.
}
}
문제3
위에서 제기한 that절의 끝을 찾아내는 알고리즘으로 SBAR중 관계대명사 that의 끝을 찾을 정확성
that 포함 전체 문장 : 약 299번
관계대명사 , 접속사 that(SBAR) 문장 : 약 163번
관계대명사 that: 102 실패:17 (정확도 약 83%)
접속사 that: 61
소개글