Exemple #1
0
 /// <summary>
 /// Initializes a new instance of DocumentSelectionMark. Used by the <see cref="DocumentAnalysisModelFactory"/>.
 /// </summary>
 internal DocumentSelectionMark(SelectionMarkState state, BoundingPolygon boundingPolygon, DocumentSpan span, float confidence)
 {
     State           = state;
     BoundingPolygon = boundingPolygon;
     Span            = span;
     Confidence      = confidence;
 }
Exemple #2
0
 /// <summary>
 /// Initializes a new instance of DocumentWord. Use for the <see cref="DocumentAnalysisModelFactory"/>.
 /// </summary>
 internal DocumentWord(string content, BoundingPolygon boundingPolygon, DocumentSpan span, float confidence)
 {
     Content         = content;
     BoundingPolygon = boundingPolygon;
     Span            = span;
     Confidence      = confidence;
 }
Exemple #3
0
 /// <summary>
 /// Initializes a new instance of DocumentLine. Used by the <see cref="DocumentAnalysisModelFactory"/>.
 /// </summary>
 internal DocumentLine(string content, BoundingPolygon boundingPolygon, IReadOnlyList <DocumentSpan> spans)
 {
     Content         = content;
     BoundingPolygon = boundingPolygon;
     Spans           = spans;
 }
Exemple #4
0
 /// <summary>
 /// Initializes a new instance of BoundingRegion. Used by the <see cref="DocumentAnalysisModelFactory"/>.
 /// </summary>
 internal BoundingRegion(int pageNumber, BoundingPolygon boundingPolygon)
 {
     PageNumber      = pageNumber;
     BoundingPolygon = boundingPolygon;
 }