Skip to content

Instantly share code, notes, and snippets.

@GroupDocsGists
Created December 9, 2019 15:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save GroupDocsGists/532cfce72a60ca6a7abf861812193fd8 to your computer and use it in GitHub Desktop.
Save GroupDocsGists/532cfce72a60ca6a7abf861812193fd8 to your computer and use it in GitHub Desktop.
try
{
response = classifier.Classify("password-protected.docx", dataFolderPath, password: "password");
Console.WriteLine(response.BestClassName, response.BestClassProbability);
}
catch (ApiException e)
{
Console.WriteLine(e.Message);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment