Created
December 5, 2012 02:12
-
-
Save wush978/4211514 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# * 結構說明 | |
# | |
# 群組 | |
# 規則名稱 | |
# Regex 字串 | |
# 關鍵字跟位置的對應表 | |
# | |
# match_any is a special string for resuing regex | |
--- | |
_alias: | |
first_last_name: | |
regex: | | |
(\S{1,2})委員(\S{1,3}) | |
formater: | |
- legislator_last_name | |
- legislator_first_name | |
question_format: | |
regex: | | |
(?<preposition>針對|為|有?鑑於|至為關切|鄭重關切|鄭重針對|要求針對|對於)?(?<description>\S+)[,?](特此?提出緊?急?質詢|((特|特此|爰此?)向?(?<government_unit>\S+)提出緊?急?質詢)) | |
common: | |
conversationline: | |
regex: | | |
^([^:]{2,10}):(.*) | |
formater: | |
- full | |
- speaker | |
- content | |
header: | |
title: | |
regex: | | |
立法院第(\S+)屆第(\S+)會期第(\S+?)次(?:臨時會第(\S+)次)?會議紀錄 | |
formater: | |
- full | |
- ad | |
- session | |
- sitting | |
chairman: | |
regex: | | |
主\s*席\s+(.*)$ | |
formater: | |
- full | |
- chairman | |
datetime: | |
regex: | | |
/時\s*間\s+中華民國(\S+)年(\S+)月(\S+)日((\S+))(\S+?)(\d+)時 | |
formater: | |
- full | |
- year | |
- month | |
- day | |
- day_of_week | |
- am_or_pm | |
- hour | |
announcement: | |
trigger: | |
regex: | | |
/^報\s*告\s*事\s*項$ | |
announcement_read: | |
regex: | | |
宣讀本院第(\S+)屆第(\S+)會期第(\S+)次會議議事錄 | |
formater: | |
- full | |
- ad | |
- session | |
- sitting | |
delibe_executive_yuan: | |
regex: | | |
(\S+)函請審議「(\S+)」案 | |
formater: | |
- full | |
- government_unit | |
- title | |
delibe_legislator: | |
regex: | | |
本院委員(\S+)等\S+人擬具「(\S+)」,請審議案 | |
formater: | |
- full | |
- proposer | |
- title | |
delibe_ligislative_yuan_unit: | |
regex: | | |
本院(\S+)函+[,送]「{0,1}(\S+)」{0,1},請查照案 | |
formater: | |
- full | |
- government_unit | |
- title | |
questioning: | |
trigger: | |
regex: | | |
^質\s*詢\s*事\s*項$ | |
reply_trigger: | |
regex: | | |
行政院答復部分$ | |
reply_executive_yuan: | |
regex: | | |
(\S+)函送%first_last_name%就(\S+)問{0,1}題{0,1}所提質詢之書面答復,請查照案 | |
formater: | |
- full | |
- government_unit | |
- title | |
reply_executive_yuan_admin_report1: | |
regex: | | |
(\S+)函送委員(\S+)等(?<number>\S+)人第(\S+)屆第(\S+)會期施政報告質詢之書面答復,請查照案 | |
formater: | |
- full | |
- government_unit | |
- legislator | |
- ad | |
- session | |
reply_executive_yuan_admin_report2: | |
regex: | | |
(?<government_unit>\S+)函送%first_last_name%第(?<ad>\S+)屆\s?第(?<session>\S+)會期施政報告質?詢之書面答復,請查照案 | |
question_trigger: | |
regex: | | |
本院委員質詢部分$ | |
legislator_question: | |
regex: | | |
本院%first_last_name%,%question_format%。 | |
legislators_question: | |
regex: | | |
本院委員(?<legislator_set>(\S{1,4}、)+\S{1,4}),%question_format%。 | |
discussion: | |
trigger: | |
regex: | | |
^討\s*論\s*事\s*項$ | |
proposal: | |
trigger: | |
regex: | | |
處理.*黨團.*提案 | |
consultation: | |
trigger: | |
regex: | | |
處理.*黨團.*協商結論 | |
interpellation: | |
trigger: | |
regex: | | |
對行政院.*質詢 | |
doc_trigger: | |
regex: | | |
報告院會|詢答時間|已質詢完畢|處理完畢|提書面質詢 | |
exmotion: | |
trigger: | |
regex: | | |
現在.*處理臨時提案 | |
breaktime: | |
trigger: | |
regex: | | |
現在休息|繼續開會 | |
incomplete: | |
match_any: | |
- header.trigger | |
- announcement.trigger | |
- questioning.trigger | |
- disscussion.trigger | |
- proposal.trigger | |
- consultation.trigger | |
- interpellation.trigger |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment