Stephen Russett
Stephen Russett
For NLP have you looked at OpenNLP? http://opennlp.apache.org and then for the ruby bindings, use: https://github.com/louismullie/open-nlp
This is why you have NLP to tokenize your text to remove useless characters or replace the unneeded characters or words.
> Here's an example I am running into with chronic. > 'Jan first week' is nil > 'Jan first' is valid in chronic > 'Jan' isn't valid, chronic returns 2015-01-16...
Take a look at this for an example of grabbing the date of a day number in a week number: http://www.ruby-doc.org/stdlib-2.1.1/libdoc/date/rdoc/Date.html#method-c-commercial Then use the time_difference library to get the duration.
great
Has there been any updates to this? Or workaround code samples? @TjeuKayim, do you have any compartmentalized samples?
@TjeuKayim thanks. The greater issue i have found is: https://github.com/FasterXML/jackson-module-kotlin/issues/187. Once using the inline within a class, then it seems to fall apart on deserialization.
has anyone found a workaround to this?
Was building on this today: it seems that the missing part to make this fairly seamless would be a Document to Immutables converter/parser. Was looking at the immutables mongo code...