Created
February 5, 2018 19:34
-
-
Save jamesmontemagno/488e2cae4bbb25a5ac25f5f3d54d1833 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class Rootobject | |
{ | |
public Languagedetection languageDetection { get; set; } | |
public Keyphrases keyPhrases { get; set; } | |
public Sentiment sentiment { get; set; } | |
} | |
public class Languagedetection | |
{ | |
public Document[] documents { get; set; } | |
public object[] errors { get; set; } | |
} | |
public class Document | |
{ | |
public string id { get; set; } | |
public Detectedlanguage[] detectedLanguages { get; set; } | |
} | |
public class Detectedlanguage | |
{ | |
public string name { get; set; } | |
public string iso6391Name { get; set; } | |
public float score { get; set; } | |
} | |
public class Keyphrases | |
{ | |
public Document1[] documents { get; set; } | |
public object[] errors { get; set; } | |
} | |
public class Document1 | |
{ | |
public string id { get; set; } | |
public string[] keyPhrases { get; set; } | |
} | |
public class Sentiment | |
{ | |
public Document2[] documents { get; set; } | |
public object[] errors { get; set; } | |
} | |
public class Document2 | |
{ | |
public string id { get; set; } | |
public float score { get; set; } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment