Skip to content
Newer
Older
100644 34 lines (29 sloc) 787 Bytes
95a9583 @dmnapolitano Many major changes happening...now does parsing and named entity reco…
dmnapolitano authored Mar 12, 2013
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 Mar 20, 2013
26 oneway void zip(),
95a9583 @dmnapolitano Many major changes happening...now does parsing and named entity reco…
dmnapolitano authored Mar 12, 2013
27 list<ParseTree> parse_text(1:string text, 2:list<string> outputFormat),
28 ParseTree parse_tokens(1:list<string> tokens, 2:list<string> outputFormat),
f30f59b @dmnapolitano I think NER is done.
dmnapolitano authored Mar 13, 2013
29 list<NamedEntity> get_entities_from_text(1:string text),
30 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 Mar 20, 2013
31 list<NamedEntity> get_entities_from_trees(1:list<string> trees),
32 list<string> resolve_coreferences_in_trees(1:list<string> trees)
95a9583 @dmnapolitano Many major changes happening...now does parsing and named entity reco…
dmnapolitano authored Mar 12, 2013
33 }
Something went wrong with that request. Please try again.