Open spyysalo opened 13 years ago
Pushing for later milestone.
What I have found for the response to getDocument
:
Mandatory:
text
Optional:
attributes
entities
equivs
events
modifications
normalizations
relations
triggers
comments
action
ctime
mtime
messages
source_files
Optional (with client-side fall-backs):
sentence_offsets
token_offsets
The current object sent over JSON from the server to the client has some historical idiosyncrasies and bits that are needlessly specific to the particular application / server-side storage. For example
The protocol should be generalized and cleaned up (possibly also in other aspects) and defined at least semi-formally.