Find more posts tagged with
Sort by:
1 - 4 of
41
Sounds like you need to build a dictionary of terms and how they map, probably using RegEx.
You need to first create a table listing all possible terms in your document that might refer to time and the rules that you want to apply to them.
Then once you subtract out all those features (probably using RegEx) then you would apply to matching rule from your table.
etc, etc.
In summary:
1. List your features & rules.
2. Extract your features.
3. Apply your matching rules.
You need to first create a table listing all possible terms in your document that might refer to time and the rules that you want to apply to them.
Then once you subtract out all those features (probably using RegEx) then you would apply to matching rule from your table.
term | meaning |
last year | year-1 |
this year | year-0 |
[0-9] years ago | year-x |
In summary:
1. List your features & rules.
2. Extract your features.
3. Apply your matching rules.
do you mean number of words etc?
If so, have a look on the extraction folder. There are some operators for that.
Cheers,
Martin