-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
484 additions
and
31 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
using System; | ||
using System.Drawing; | ||
using System.Reflection; | ||
using System.Text.RegularExpressions; | ||
|
||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,36 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
using System.Threading.Tasks; | ||
using System.Collections.Generic; | ||
|
||
namespace SubtitleEdit | ||
{ | ||
public class IspraviResult | ||
{ | ||
public IspraviStatus Status { get; set; } | ||
public IspraviResponse Response { get; set; } | ||
public IspraviStatus status { get; set; } | ||
|
||
public IspraviResponse response { get; set; } | ||
} | ||
|
||
public class IspraviStatus | ||
{ | ||
public string Text { get; set; } | ||
public int Code { get; set; } | ||
public string text { get; set; } | ||
public int code { get; set; } | ||
} | ||
public class IspraviResponse | ||
{ | ||
public string Errors { get; set; } | ||
public List<IspraviError> Error { get; set; } | ||
/// <summary> | ||
/// Number of errors | ||
/// </summary> | ||
public int errors { get; set; } | ||
|
||
public List<IspraviError> error { get; set; } | ||
} | ||
|
||
public class IspraviError | ||
{ | ||
public string Suspicious { get; set; } | ||
public string suspicious { get; set; } | ||
public string @class { get; set; } | ||
public int length { get; set; } | ||
public int occurrences { get; set; } | ||
public List<int> position { get; set; } | ||
public List<string> suggestions { get; set; } | ||
} | ||
} |
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
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
Oops, something went wrong.