Stanford Core NLP Java Example | Natural Language Processing

Share it with your friends Like

Thanks! Share it with your friends!


This video covers Stanford CoreNLP Example.

GitHub link for example:

Stanford Core NLP:
Stanford API example:

Slack Community:



GitHub: or

Video Editing: iMovie

Intro Music: A Way for me (

#CoreNLP #TechPrimers


Bibhu Dash says:

Can You create a chatbot based on stanford nlp using java ?

Dipsikha Phukan says:

— exec-maven-plugin:1.2.1:exec (default-cli) @ nlpStanfordcore —

SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".

SLF4J: Defaulting to no-operation (NOP) logger implementation

SLF4J: See for further details.

getting this..please can anybody help!!!!

Dipsikha Phukan says:

hey..Is it possible to extract medicine/drug name prescribed in a prescription written by doctor using this?

kik kaka says:

94% off !!! #udemy #course for

#Data #Science :Data Mining & Natural Language Processing in R

Harness the Power of Machine Learning in R for Data/Text Mining, & Natural Language Processing with Practical Examples

#coupon #deal


Megha Vijay says:

Thank you! Could you please upload a video for sentiment analysis also? Would be great help.

asmcriminaL says:

You said you added three jars. Yet you have not shown up where you got them from. I got the model one, but the other two I can't find them…

vijay kumar says:

1 [main] INFO edu.stanford.nlp.pipeline.StanfordCoreNLP – Adding annotator tokenize

28 [main] INFO edu.stanford.nlp.pipeline.StanfordCoreNLP – Adding annotator ssplit

38 [main] INFO edu.stanford.nlp.pipeline.StanfordCoreNLP – Adding annotator pos

1701 [main] INFO edu.stanford.nlp.tagger.maxent.MaxentTagger – Loading POS tagger from edu/stanford/nlp/models/pos-tagger/english-left3words/english-left3words-distsim.tagger … done [1.6 sec].

1701 [main] INFO edu.stanford.nlp.pipeline.StanfordCoreNLP – Adding annotator lemma

1703 [main] INFO edu.stanford.nlp.pipeline.StanfordCoreNLP – Adding annotator ner

6956 [main] INFO – Loading classifier from edu/stanford/nlp/models/ner/english.all.3class.distsim.crf.ser.gz … done [5.1 sec].

8867 [main] INFO – Loading classifier from edu/stanford/nlp/models/ner/english.muc.7class.distsim.crf.ser.gz … done [1.9 sec].

10760 [main] INFO – Loading classifier from edu/stanford/nlp/models/ner/english.conll.4class.distsim.crf.ser.gz … done [1.9 sec].

10863 [main] INFO edu.stanford.nlp.time.JollyDayHolidays – Initializing JollyDayHoliday for SUTime from classpath edu/stanford/nlp/models/sutime/jollyday/Holidays_sutime.xml as sutime.binder.1.

15003 [main] INFO edu.stanford.nlp.time.TimeExpressionExtractorImpl – Using following SUTime rules: edu/stanford/nlp/models/sutime/defs.sutime.txt,edu/stanford/nlp/models/sutime/english.sutime.txt,edu/stanford/nlp/models/sutime/english.holidays.sutime.txt

59495 [main] INFO edu.stanford.nlp.pipeline.TokensRegexNERAnnotator – ner.fine.regexner: Read 580704 unique entries out of 581863 from edu/stanford/nlp/models/kbp/english/gazetteers/, 0 TokensRegex patterns.

62679 [main] INFO edu.stanford.nlp.pipeline.TokensRegexNERAnnotator – ner.fine.regexner: Read 4869 unique entries out of 4869 from edu/stanford/nlp/models/kbp/english/gazetteers/, 0 TokensRegex patterns.

62681 [main] INFO edu.stanford.nlp.pipeline.TokensRegexNERAnnotator – ner.fine.regexner: Read 585573 unique entries from 2 files

Exception in thread "main" java.lang.OutOfMemoryError: GC overhead limit exceeded

at edu.stanford.nlp.ling.tokensregex.TokenSequencePattern.getNewEnv(

at edu.stanford.nlp.pipeline.TokensRegexNERAnnotator.createPatternMatcher(

at edu.stanford.nlp.pipeline.TokensRegexNERAnnotator.<init>(

at edu.stanford.nlp.pipeline.NERCombinerAnnotator.setUpFineGrainedNER(

at edu.stanford.nlp.pipeline.NERCombinerAnnotator.<init>(

at edu.stanford.nlp.pipeline.AnnotatorImplementations.ner(

at edu.stanford.nlp.pipeline.StanfordCoreNLP.lambda$getNamedAnnotators$5(

at edu.stanford.nlp.pipeline.StanfordCoreNLP$$Lambda$16/1918627686.apply(Unknown Source)

at edu.stanford.nlp.pipeline.StanfordCoreNLP.lambda$null$30(

at edu.stanford.nlp.pipeline.StanfordCoreNLP$$Lambda$38/1844169442.get(Unknown Source)

at edu.stanford.nlp.util.Lazy$3.compute(

at edu.stanford.nlp.util.Lazy.get(

at edu.stanford.nlp.pipeline.AnnotatorPool.get(

at edu.stanford.nlp.pipeline.StanfordCoreNLP.<init>(

at edu.stanford.nlp.pipeline.StanfordCoreNLP.<init>(

at edu.stanford.nlp.pipeline.StanfordCoreNLP.<init>(

at com.sancha.nlp.CoreNlpExample.main(

This is what exception i got

vijay kumar says:

Hi I am getting an out of memory exception, will you help me out?

Andrea Nardi says:

Can CORE NLP reads a .txt or .doc file in order to process a text inside it?
Please answer me! I need to know it for my Master's degree thesis!!!! thanks

T&E chhakchhuak-renthlei says:

Can we perform java application project without using maven, just a simple JForm based application using this core nlp libraries? Or is it required to compulsorily use the maven?

Abhineet Singh says:

im getting some error while running the code

Abhineet Singh says:

will the dependencies get downloaded automatically, or we have to download it manually?

Samuel Minale says:

Thank you for the video and I really want to use this for other language ("Amharic Language" ) , do you have any idea on how can I use this steps for languages other than English??

selma bouchahed says:

can you help me and tell me which tool i can use for Recognise the medical entity named in java??

Write a comment


Area 51