You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After creating a DateMatcher or MultiDateMatcher annotator and using setAnchorDateMonth() to set the parameter, a call to getAnchorDateMonth() returns a different value than was set. It appears to return one less than whatever integer was set.
DateMatchermyMatcher = newDateMatcher();
myMatcher.setAnchorDateMonth(5);
intwrongMonth = myMatcher.getAnchorDateMonth();
// wrongMonth will be 4 instead of 5
Context
Adding these parameters to the DateMatcher annotator implementation in the R package sparknlp