Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 49 lines (43 sloc) 1.546 kb
95a9583 @dmnapolitano Many major changes happening...now does parsing and named entity recogni...
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
74692ff @dmnapolitano Now with part-of-speech tagging :smile:
dmnapolitano authored
18 struct TaggedToken
19 {
20 1:string tag,
21 2:string token
22 }
23
95a9583 @dmnapolitano Many major changes happening...now does parsing and named entity recogni...
dmnapolitano authored
24 exception SerializedException
25 {
26 1: required binary payload
27 }
28
29 service StanfordCoreNLP
30 {
31 void ping(),
062f5f8 @dmnapolitano Whoa, MAJOR fix to NER NamedEntity object creation; MUCH simpler code as...
dmnapolitano authored
32 oneway void zip(),
95a9583 @dmnapolitano Many major changes happening...now does parsing and named entity recogni...
dmnapolitano authored
33 list<ParseTree> parse_text(1:string text, 2:list<string> outputFormat),
34 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
35 ParseTree parse_tagged_sentence(1:string taggedSentence, 2:list<string> outputFormat, 3:string divider),
8a0a81b @dmnapolitano (1) log4j is now set up in a useful way :grinning:, (2) made start_serve...
dmnapolitano authored
36 string lexicalize_parse_tree(1:string tree),
f30f59b @dmnapolitano I think NER is done.
dmnapolitano authored
37 list<NamedEntity> get_entities_from_text(1:string text),
38 list<NamedEntity> get_entities_from_tokens(1:list<string> tokens),
062f5f8 @dmnapolitano Whoa, MAJOR fix to NER NamedEntity object creation; MUCH simpler code as...
dmnapolitano authored
39 list<NamedEntity> get_entities_from_trees(1:list<string> trees),
d29ad8f @dmnapolitano Coref might be done
dmnapolitano authored
40 list<string> resolve_coreferences_in_text(1:string text),
41 list<string> resolve_coreferences_in_tokenized_sentences(1:list<string> sentencesWithTokensSeparatedBySpace),
0bd2e64 @dmnapolitano Now with limited Tregex-ability.
dmnapolitano authored
42 list<string> resolve_coreferences_in_trees(1:list<string> trees),
74692ff @dmnapolitano Now with part-of-speech tagging :smile:
dmnapolitano authored
43 list<string> evaluate_tregex_pattern(1:string parseTree, 2:string tregexPattern),
44 list<list<TaggedToken>> tag_text(1:string untokenizedText),
854f872 @dmnapolitano Now with the ability to tokenize arbitrary text and untokenize a single ...
dmnapolitano authored
45 list<TaggedToken> tag_tokenized_sentence(1:list<string> tokenizedSentence),
46 string untokenize_sentence(1:list<string> sentenceTokens),
47 list<list<string>> tokenize_text(1:string arbitraryText)
95a9583 @dmnapolitano Many major changes happening...now does parsing and named entity recogni...
dmnapolitano authored
48 }
Something went wrong with that request. Please try again.