Skip to content

edu.stanford.nlp.pipeline.Document vs. stanfordnlp.protobuf.Document #4

@scottagt

Description

@scottagt

Hi, forgive me for asking stupid question(s) but, why are these two classes named the same thing but function differently and use different naming conventions? 🙃

Why does the CoreNLP Server return stanfordnlp.protobuf.Document while the pipeline returns edu.stanford.nlp.pipeline.Document? Are there any helper functions that can convert between the two?

Lastly, is the source of the dependency (in the protobuf.Document) the same as the governor of the dependency (in the pipeline.Document) or is it the dependent?

Appreciate your time and all the work ya'll have done!! :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions