I wrote:
In most treebanks, sentences are annotated either (by or with ?) dependency structure or phrase structure depending on the syntax properties of the language.
The dependency structure is not the doer of the annotation, can I still use "by"? Should I only use "by" for the doeractor of the action?