fork download
  1. import spacy
  2.  
  3. nlp = spacy.load('en')
  4. sents = nlp(u'A woman is walking through the door.')
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
Main.java:1: error: '.' expected
import spacy
            ^
Main.java:3: error: ';' expected
nlp = spacy.load('en')
   ^
Main.java:3: error: unclosed character literal
nlp = spacy.load('en')
                 ^
Main.java:3: error: unclosed character literal
nlp = spacy.load('en')
                    ^
Main.java:4: error: unclosed character literal
sents = nlp(u'A woman is walking through the door.')
             ^
Main.java:4: error: unclosed character literal
sents = nlp(u'A woman is walking through the door.')
                                                  ^
6 errors
stdout

Standard output is empty