-
Notifications
You must be signed in to change notification settings - Fork 101
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #777 from clulab/date-rule-issue776
Date rule issue776
- Loading branch information
Showing
6 changed files
with
91 additions
and
24 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,18 @@ | ||
# | ||
# list of weeks and their date ranges, case insensitive so everything is lower case for simplicity | ||
# the comments after // are required by WeekNormalizer to get the week date ranges! Do not remove | ||
# the format for the date ranges must be MM-dd:MM-dd or MM:MM | ||
# note: multi-word phrases must be tokenized in the same way as our tokenizer. If not sure, try the phrases in ./shell first! | ||
# the comments after // are required by WeekNormalizer to get the week date ranges! Do not remove. | ||
# The format for the date ranges must be MM-dd:MM-dd or MM:MM. | ||
# Note: multi-word phrases must be tokenized in the same way as our tokenizer. If not sure, try the | ||
# phrases in ./shell first! | ||
# | ||
first week // XXXX-XX-01 -- XXXX-XX-07 | ||
1st week // XXXX-XX-01 -- XXXX-XX-07 | ||
second week // XXXX-XX-08 -- XXXX-XX-14 | ||
2nd week // XXXX-XX-08 -- XXXX-XX-14 | ||
third week // XXXX-XX-15 -- XXXX-XX-21 | ||
3rd week // XXXX-XX-15 -- XXXX-XX-21 | ||
fourth week // XXXX-XX-22 -- XXXX-XX-28 | ||
4th week // XXXX-XX-22 -- XXXX-XX-28 | ||
first two weeks // XXXX-XX-01 -- XXXX-XX-14 | ||
second two weeks // XXXX-XX-15 -- XXXX-XX-28 | ||
# Update: If the week (left column) includes a pipe (|), the "week" will be split into multiple | ||
# entries all having the same date range to the right. Weeks will also be trimmed so that the | ||
# entries can be vertically aligned to assure that nothing has been forgotten. Empty values between | ||
# || will also be removed. | ||
# | ||
first week| |1st week| |first |1st // XXXX-XX-01 -- XXXX-XX-07 | ||
second week|second weeks|2nd week|2nd weeks|second|2nd // XXXX-XX-08 -- XXXX-XX-14 | ||
third week| third weeks|3rd week|3rd weeks|third |3rd // XXXX-XX-15 -- XXXX-XX-21 | ||
fourth week|fourth weeks|4th week|4th weeks // XXXX-XX-22 -- XXXX-XX-28 | ||
first two weeks // XXXX-XX-01 -- XXXX-XX-14 | ||
second two weeks // XXXX-XX-15 -- XXXX-XX-28 |
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
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
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
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
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