Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 38 lines (33 sloc) 1.162 kB
95a9583 @dmnapolitano Many major changes happening...now does parsing and named entity reco…
dmnapolitano authored
1 namespace java CoreNLP
2 namespace py corenlp
3
4 struct ParseTree
5 {
6 1:string tree,
7 2:double score
8 }
9
10 struct NamedEntity
11 {
12 1:string entity,
13 2:string tag,
14 3:i32 startOffset,
15 4:i32 endOffset
16 }
17
18 exception SerializedException
19 {
20 1: required binary payload
21 }
22
23 service StanfordCoreNLP
24 {
25 void ping(),
062f5f8 @dmnapolitano Whoa, MAJOR fix to NER NamedEntity object creation; MUCH simpler code…
dmnapolitano authored
26 oneway void zip(),
95a9583 @dmnapolitano Many major changes happening...now does parsing and named entity reco…
dmnapolitano authored
27 list<ParseTree> parse_text(1:string text, 2:list<string> outputFormat),
28 ParseTree parse_tokens(1:list<string> tokens, 2:list<string> outputFormat),
94591b1 @dmnapolitano Can now generate a parse tree from a pre-POS-tagged sentence.
dmnapolitano authored
29 ParseTree parse_tagged_sentence(1:string taggedSentence, 2:list<string> outputFormat, 3:string divider),
f30f59b @dmnapolitano I think NER is done.
dmnapolitano authored
30 list<NamedEntity> get_entities_from_text(1:string text),
31 list<NamedEntity> get_entities_from_tokens(1:list<string> tokens),
062f5f8 @dmnapolitano Whoa, MAJOR fix to NER NamedEntity object creation; MUCH simpler code…
dmnapolitano authored
32 list<NamedEntity> get_entities_from_trees(1:list<string> trees),
d29ad8f @dmnapolitano Coref might be done
dmnapolitano authored
33 list<string> resolve_coreferences_in_text(1:string text),
34 list<string> resolve_coreferences_in_tokenized_sentences(1:list<string> sentencesWithTokensSeparatedBySpace),
0bd2e64 @dmnapolitano Now with limited Tregex-ability.
dmnapolitano authored
35 list<string> resolve_coreferences_in_trees(1:list<string> trees),
36 list<string> evaluate_tregex_pattern(1:string parseTree, 2:string tregexPattern)
95a9583 @dmnapolitano Many major changes happening...now does parsing and named entity reco…
dmnapolitano authored
37 }
Something went wrong with that request. Please try again.