Skip to content
This repository was archived by the owner on Jun 30, 2022. It is now read-only.

Commit 5ac04e0

Browse files
flash2048lauren-mills
authored andcommitted
Fix misspellings in comments (#1741)
1 parent 6bdc768 commit 5ac04e0

File tree

15 files changed

+25
-25
lines changed

15 files changed

+25
-25
lines changed

skills/src/csharp/automotiveskill/automotiveskill/Dialogs/MainDialog.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ public MainDialog(
7777
var result = await luisService.RecognizeAsync<Luis.settingsLuis>(dc.Context, CancellationToken.None);
7878
var intent = result?.TopIntent().intent;
7979

80-
// Update state with vehiclesettings luis result and entities
80+
// Update state with vehicle settings luis result and entities
8181
state.AddRecognizerResult(result);
8282

8383
// switch on general intents

skills/src/csharp/automotiveskill/automotiveskill/Dialogs/VehicleSettingsDialog.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ public VehicleSettingsDialog(
6767
vehicleSettingNameSelectionLuisRecognizer = services.CognitiveModelSets["en"].LuisServices["settings_name"];
6868
vehicleSettingValueSelectionLuisRecognizer = services.CognitiveModelSets["en"].LuisServices["settings_value"];
6969

70-
// Supporting setting files are stored as embeddded resources
70+
// Supporting setting files are stored as embedded resources
7171
var resourceAssembly = typeof(VehicleSettingsDialog).Assembly;
7272

7373
var settingFile = resourceAssembly

skills/src/csharp/automotiveskill/automotiveskill/Models/AvailableSetting.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public class AvailableSetting : IEquatable<AvailableSetting>
3434
public IList<AvailableSettingValue> Values { get; set; }
3535

3636
/// <summary>
37-
/// Gets or sets a value indicating whether whether a numeric amount makes sense for this setting.
37+
/// Gets or sets a value indicating whether a numeric amount makes sense for this setting.
3838
/// If an amount is allowed for this setting, the unit "%" (percent) is
3939
/// always considered supported with a min of 0 and a max of 100.
4040
/// </summary>

skills/src/csharp/automotiveskill/automotiveskill/Models/AvailableSettingValue.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@ public class AvailableSettingValue : IEquatable<AvailableSettingValue>
2020
public string CanonicalName { get; set; }
2121

2222
/// <summary>
23-
/// Gets or sets a value indicating whether whether this value requires a numeric amount.
23+
/// Gets or sets a value indicating whether this value requires a numeric amount.
2424
/// </summary>
2525
/// <value>Whether this setting requires an amount.</value>
2626
public bool RequiresAmount { get; set; }
2727

2828
/// <summary>
29-
/// Gets or sets a value indicating whether whether changing the setting to this value requires explicit
29+
/// Gets or sets a value indicating whether changing the setting to this value requires explicit
3030
/// confirmation from the user.
3131
/// </summary>
3232
/// <value>Indicates whether changing this setting requires confirmation from the user.</value>
@@ -42,7 +42,7 @@ public class AvailableSettingValue : IEquatable<AvailableSettingValue>
4242
public string Antonym { get; set; }
4343

4444
/// <summary>
45-
/// Gets or sets a value indicating whether whether this value changes the sign of the amount.
45+
/// Gets or sets a value indicating whether this value changes the sign of the amount.
4646
/// For example, the value "Decrease" would have this flag set to true
4747
/// because it implies a negative change in the amount. For example,
4848
/// "decrease by 5" means the same as "change by minus 5".

skills/src/csharp/automotiveskill/automotiveskill/Models/SettingChange.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,12 @@ public class SettingChange : SettingOperation, IEquatable<SettingChange>
2222
public SettingAmount Amount { get; set; }
2323

2424
/// <summary>
25-
/// Gets or sets a value indicating whether whether the amount is a margin relative to the current amount of the setting.
25+
/// Gets or sets a value indicating whether the amount is a margin relative to the current amount of the setting.
2626
/// </summary>
2727
public bool IsRelativeAmount { get; set; }
2828

2929
/// <summary>
30-
/// Gets or sets a value indicating whether whether the user has confirmed this change explicitly.
30+
/// Gets or sets a value indicating whether the user has confirmed this change explicitly.
3131
/// </summary>
3232
public bool IsConfirmed { get; set; }
3333

skills/src/csharp/automotiveskill/automotiveskill/Utilities/SettingFilter.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public SettingFilter(SettingList settingList)
4242
this.settingMatcher = new SettingMatcher(this.settingList);
4343
this.numberNormalizer = new NumberNormalizer();
4444

45-
// Supporting setting files are stored as embeddded resources
45+
// Supporting setting files are stored as embedded resources
4646
Assembly resourceAssembly = typeof(SettingFilter).Assembly;
4747

4848
var amountNormalizerFile = resourceAssembly

skills/src/csharp/automotiveskill/automotiveskilltest/API/SettingFilterTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ public override void Initialize()
1919
{
2020
base.Initialize();
2121

22-
// Supporting setting files are stored as embeddded resources
22+
// Supporting setting files are stored as embedded resources
2323
var resourceAssembly = typeof(VehicleSettingsDialog).Assembly;
2424

2525
var settingFile = resourceAssembly

skills/src/csharp/automotiveskill/automotiveskilltest/Flow/Fakes/MockVehicleSettingsIntent.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ public MockVehicleSettingsIntent(string userInput)
100100
return (Intent.None, 0.0);
101101
}
102102

103-
// Default is setting change apart from declarative used ocassionally above
103+
// Default is setting change apart from declarative used occasionally above
104104
if (Intents.Count == 0)
105105
{
106106
Intents.Add(Intent.VEHICLE_SETTINGS_CHANGE, intentScore);

skills/src/csharp/calendarskill/calendarskill/Dialogs/FindContactDialog.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ public FindContactDialog(
282282
// when replaced by itself, the reason will be Confirm No.
283283
var options = (FindContactDialogOptions)sc.Options;
284284

285-
// set the ConfirmPerson to null as defaut.
285+
// set the ConfirmPerson to null as default.
286286
state.ConfirmedPerson = null;
287287
return await sc.BeginDialogAsync(Actions.UpdateName, options: options, cancellationToken: cancellationToken);
288288
}

skills/src/csharp/calendarskill/calendarskill/Models/AskParameterModel.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ namespace CalendarSkill.Models
55
public enum AskParameterType
66
{
77
/// <summary>
8-
/// defaut type, ask for details about event
8+
/// default type, ask for details about event
99
/// </summary>
1010
AskForDetail = 0,
1111

@@ -35,7 +35,7 @@ public enum AskParameterType
3535
AskForLocation = 5,
3636

3737
/// <summary>
38-
/// ask for attenddees
38+
/// ask for attendees
3939
/// </summary>
4040
AskForAttendee = 6,
4141

@@ -67,7 +67,7 @@ public AskParameterModel(string content)
6767
{
6868
case AskParameterType.AskForDetail:
6969
{
70-
// can set defuat here if needed
70+
// can set default here if needed
7171
break;
7272
}
7373

0 commit comments

Comments
 (0)