Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

상대적인 시간정보 표현을 위한 schema 설계 #8

Open
bytecell opened this issue May 13, 2022 · 2 comments
Open

상대적인 시간정보 표현을 위한 schema 설계 #8

bytecell opened this issue May 13, 2022 · 2 comments
Assignees

Comments

@bytecell
Copy link
Owner

bytecell commented May 13, 2022

기존의 ISO-TimeML 기반으로 설계되었던 korean TimeML 은 상대적인 시간정보를 효과적으로 담아낼 수 없다.

상대적인 시간정보를 담아낼 수 있는 schema 를 설계하도록 한다.

@bytecell bytecell self-assigned this May 13, 2022
@bytecell
Copy link
Owner Author

현재의 버전은 아래와 같다.

attributes ::= type text extent calendar [year] [month] [day] [week] [week_day] [mod] 
type ::= 'DATE' | 'TIME' | 'DURATION'
text ::= CDATA
extent ::= [(begin, end), ...]
begin ::= CDATA {begin ::= <integer>}
end ::= CDATA {end ::= <integer>}
calendar ::= 'GREGORIAN' | 'LUNAR' | 'JULIAN'
year ::= mark CDATA
month ::= mark CDATA
day ::= mark CDATA
hour ::= mark CDATA
minute ::= mark CDATA
second ::= mark CDATA
week ::= mark CDATA
week_day ::= 0 | 1 | 2 | 3 | 4 | 5 | 6
mark ::= 'P' | '+' | '-' | '_' (Note: '_''기원전' 표현 전용)
mod ::= 'START' | 'MID' | 'END' | 'START_MID' | 'MID_END'

@bytecell
Copy link
Owner Author

앞으로 수개월동안, 위 버전의 schame 가 다루지 못하는 경우를 발견하여 지속적으로 schama를 개선하도록 한다.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant