code: public final AnalyzeSyntaxResponse analyzeSyntax(Document document) {
  
      AnalyzeSyntaxRequest request = AnalyzeSyntaxRequest.newBuilder().setDocument(document).build();
      return analyzeSyntax(request);
    }
docs: Analyzes the syntax of the text and provides sentence boundaries and tokenization along with
  part of speech tags, dependency trees, and other properties.
  
  <p>Sample code:
  
  <pre><code>
  try (LanguageServiceClient languageServiceClient = LanguageServiceClient.create()) {
  Document document = Document.newBuilder().build();
  AnalyzeSyntaxResponse response = languageServiceClient.analyzeSyntax(document);
  }
  </code></pre>
  
  @param document Input document.
  @throws com.google.api.gax.rpc.ApiException if the remote call fails