Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TextAnalytics] SummarySentece is now a struct #22915

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -736,9 +736,11 @@ internal SentimentConfidenceScores() { }
public double Neutral { get { throw null; } }
public double Positive { get { throw null; } }
}
public partial class SummarySentence
[System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
public readonly partial struct SummarySentence
{
internal SummarySentence() { }
private readonly object _dummy;
private readonly int _dummyPrimitive;
public int Length { get { throw null; } }
public int Offset { get { throw null; } }
public double RankScore { get { throw null; } }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ namespace Azure.AI.TextAnalytics
/// operation. The service attributes a rank score to it for measuring how relevant
/// the sentence is to the input document.
/// </summary>
public class SummarySentence
public readonly struct SummarySentence
{
internal SummarySentence(ExtractedSummarySentence sentence)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
using Azure.AI.TextAnalytics;
using NUnit.Framework;

/// <summary>
/// The suite of tests for the <see cref="TextAnalyticsModelFactory"/> class.
/// </summary>
namespace Azure.AI.TextAnalytics.Tests
{
/// <summary>
/// The suite of tests for the <see cref="TextAnalyticsModelFactory"/> class.
/// </summary>
public class TextAnalyticsModelFactoryTests
{
#region Extract Summary
Expand Down