I am trying to use Stanford NLP tool to extract dates ( 8/11/2012 ) form text.
Here\'s a link! for the demo of this tool
Can u help me in how to train the c
Using the NLP tool to extract dates from text seems like overkill if this is all you are trying to accomplish. You should consider other options like a simple Java regular expression (eg. here).
If you are doing something that requires more features from the Stanford NLP tool, take a look at the SUTime annotator. Their demo page will let you get a feel for how it behaves. Make sure to check the option Read rules from file
and you will see that your date gets annotated.
Usage:
SUTime annotations are provided automatically with the StanfordCoreNLP pipeline by including the ner annotator.