-
-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #135 from latin-language-toolkit/bobs_relation
Add another label set
- Loading branch information
Showing
2 changed files
with
343 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,123 @@ | ||
{ | ||
"main" : { | ||
"template" : "templates/main_with_sidepanel.html", | ||
"retrievers" : { | ||
"TreebankRetriever" : { | ||
"resource" : "fakePerseids" | ||
} | ||
}, | ||
"plugins" : [ | ||
"text", | ||
"search", | ||
"morph", | ||
"relation", | ||
"depTree", | ||
"history" | ||
] | ||
}, | ||
|
||
"navbar" : { | ||
"template" : "templates/navbar1.html", | ||
"search" : true, | ||
"navigation" : true | ||
}, | ||
|
||
"resources" : { | ||
"fakePerseids" : { | ||
"route" : "http://74.70.97.104:8085/xml_server/:doc", | ||
"params" : [ | ||
"doc", | ||
"s" | ||
] | ||
}, | ||
|
||
"fakeGold" : { | ||
"route" : "http://74.70.97.104:8085/xml_server/gold:gold", | ||
"params" : [ | ||
"gold", | ||
"s" | ||
] | ||
}, | ||
|
||
"lexInvFusekiEndpoint" : { | ||
"route" : "http://sosol.perseus.tufts.edu/fuseki/ds/query?format=json" | ||
}, | ||
|
||
"morphologyService" : { | ||
"route" : "http://services.perseids.org/bsp/morphologyservice/analysis/word?lang=lat&engine=morpheuslat" | ||
} | ||
}, | ||
|
||
"plugins" : { | ||
"text" : { | ||
"name" : "text", | ||
"main" : true, | ||
"template" : "templates/text2.html" | ||
}, | ||
|
||
"depTree" : { | ||
"name" : "depTree", | ||
"main" : true, | ||
"contextMenu" : true, | ||
"contextMenuTemplate": "templates/arethusa.dep_tree/context_menu.html", | ||
"template" : "templates/dep_tree.html" | ||
}, | ||
|
||
"search" : { | ||
"name" : "search", | ||
"template" : "templates/search.html", | ||
"regex" : true | ||
}, | ||
|
||
"morph" : { | ||
"name" : "morph", | ||
"retrievers" : { | ||
"BspMorphRetriever" : { | ||
"resource" : "morphologyService" | ||
} | ||
}, | ||
"template" : "templates/morph3.html", | ||
"contextMenu" : true, | ||
"contextMenuTemplate": "templates/arethusa.morph/context_menu.html", | ||
"lexicalInventory" : { | ||
"retriever" : { | ||
"LexicalInventoryRetriever" : { | ||
"resource" : "lexInvFusekiEndpoint" | ||
} | ||
} | ||
}, | ||
"matchAll" : true, | ||
"fileUrl" : "./static/configs/morph/attributes.json" | ||
}, | ||
|
||
"relation" : { | ||
"name" : "relation", | ||
"template" : "templates/relation.html", | ||
"contextMenu" : true, | ||
"contextMenuTemplate": "templates/arethusa.relation/context_menu.html", | ||
"fileUrl" : "./static/configs/relation/bobs_relation.json" | ||
}, | ||
|
||
"review" : { | ||
"name" : "review", | ||
"template" : "templates/arethusa.review/review.html", | ||
"retrievers" : { | ||
"TreebankRetriever" : { | ||
"resource" : "fakeGold" | ||
} | ||
} | ||
}, | ||
|
||
"history" : { | ||
"name" : "history", | ||
"listener" : true, | ||
"maxSize" : 5, | ||
"template" : "templates/history.html" | ||
}, | ||
|
||
"comment" : { | ||
"name" : "comment", | ||
"template" : "templates/comment2.html" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,220 @@ | ||
{ | ||
"relations" : { | ||
"labels" : { | ||
"SBJ" : { | ||
"short" : "SBJ", | ||
"long" : "subject" | ||
}, | ||
"MnVb" : { | ||
"short" : "MnVb", | ||
"long" : "main verb" | ||
}, | ||
"Poss" : { | ||
"short" : "Poss", | ||
"long" : "possessive" | ||
}, | ||
"OBJ" : { | ||
"short" : "OBJ", | ||
"long" : "object", | ||
"nested" : { | ||
"DirObj" : { | ||
"short" : "DirObj", | ||
"long" : "direct object" | ||
}, | ||
"InObj" : { | ||
"short" : "InObj", | ||
"long" : "indirect object" | ||
}, | ||
"OPrep" : { | ||
"short" : "OPrep", | ||
"long" : "object of preposition", | ||
"nested": { | ||
"acp" : { | ||
"short" : "acp", | ||
"long" : "accompaniment" | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"ATR" : { | ||
"short" : "ATR", | ||
"long" : "attribute" | ||
}, | ||
"Pnom" : { | ||
"short" : "Pnom", | ||
"long" : "predicate nominal" | ||
}, | ||
"Prep" : { | ||
"short" : "Prep", | ||
"long" : "preposition" | ||
}, | ||
"ADV" : { | ||
"short" : "ADV", | ||
"long" : "adverb", | ||
"nested" : { | ||
"Inst" : { | ||
"short" : "Inst", | ||
"long" : "instrument" | ||
}, | ||
"Spr" : { | ||
"short" : "Spr", | ||
"long" : "separation" | ||
}, | ||
"Mnr" : { | ||
"short" : "Mnr", | ||
"long" : "manner" | ||
}, | ||
"Qty" : { | ||
"short" : "Qty", | ||
"long" : "quantity" | ||
}, | ||
"Cau" : { | ||
"short" : "Cau", | ||
"long" : "cause" | ||
}, | ||
"Plc" : { | ||
"short" : "Plc", | ||
"long" : "place" | ||
}, | ||
"acp" : { | ||
"short" : "acp", | ||
"long" : "accompaniment" | ||
}, | ||
"Rsp" : { | ||
"short" : "Rsp", | ||
"long" : "respect" | ||
}, | ||
"Lmt" : { | ||
"short" : "Lmt", | ||
"long" : "limit" | ||
}, | ||
"Dur" : { | ||
"short" : "Dur", | ||
"long" : "duration" | ||
}, | ||
"Twh" : { | ||
"short" : "Twh", | ||
"long" : "time when" | ||
}, | ||
"Twin" : { | ||
"short" : "Twin", | ||
"long" : "time within" | ||
}, | ||
"Dgr" : { | ||
"short" : "Dgr", | ||
"long" : "degree of difference" | ||
}, | ||
"Rfr" : { | ||
"short" : "Rfr", | ||
"long" : "reference" | ||
} | ||
} | ||
}, | ||
"Agt" : { | ||
"short" : "Agt", | ||
"long" : "agent" | ||
}, | ||
"APOS" : { | ||
"short" : "APOS", | ||
"long" : "apposition" | ||
}, | ||
"COORD" : { | ||
"short" : "COORD", | ||
"long" : "coordinator" | ||
}, | ||
"SbConj" : { | ||
"short" : "SbConj", | ||
"long" : "subordinated conjunction" | ||
}, | ||
"SntAdv" : { | ||
"short" : "SntAdv", | ||
"long" : "sentence adverbial" | ||
}, | ||
"AuxV" : { | ||
"short" : "AuxV", | ||
"long" : "auxiliary verb" | ||
}, | ||
"AuxZ" : { | ||
"short" : "AuxZ", | ||
"long" : "emphatic adverbial" | ||
}, | ||
"Adr" : { | ||
"short" : "Adr", | ||
"long" : "adress" | ||
}, | ||
"CL" : { | ||
"short" : "CL", | ||
"long" : "clause", | ||
"nested" : { | ||
"Comp" : { | ||
"short" : "Comp", | ||
"long" : "complement" | ||
}, | ||
"Temp" : { | ||
"short" : "Temp", | ||
"long" : "temporal" | ||
}, | ||
"Caus" : { | ||
"short" : "Caus", | ||
"long" : "causal" | ||
}, | ||
"Conces" : { | ||
"short" : "Conces", | ||
"long" : "concessive" | ||
}, | ||
"Cond" : { | ||
"short" : "Cond", | ||
"long" : "conditional" | ||
}, | ||
"Rel" : { | ||
"short" : "Rel", | ||
"long" : "relative" | ||
}, | ||
"Cir" : { | ||
"short" : "Cir", | ||
"long" : "circumstance" | ||
}, | ||
"Prp" : { | ||
"short" : "Prp", | ||
"long" : "purpose" | ||
}, | ||
"IndCom" : { | ||
"short" : "IndCom", | ||
"long" : "indirect command" | ||
}, | ||
"Rslt" : { | ||
"short" : "Rslt", | ||
"long" : "result" | ||
}, | ||
"Sbt" : { | ||
"short" : "Sbt", | ||
"long" : "substantive" | ||
}, | ||
"Is" : { | ||
"short" : "Is", | ||
"long" : "indirect statement" | ||
}, | ||
"IQ" : { | ||
"short" : "IQ", | ||
"long" : "indirect question" | ||
}, | ||
"Abs" : { | ||
"short" : "Abs", | ||
"long" : "absolute" | ||
} | ||
} | ||
} | ||
}, | ||
"suffixes" : { | ||
"CO" : { | ||
"short" : "CO", | ||
"long" : "coordinated" | ||
}, | ||
"AP" : { | ||
"short" : "AP", | ||
"long" : "appositioned" | ||
} | ||
} | ||
} | ||
} |