Class AccentPhrase
日本語のアクセント句(accent phrase)
Namespace: LibSasara.Model.FullContextLabel
Assembly: LibSasara.dll
Syntax
public sealed record AccentPhrase : IAccentPhrase, IFullContext, IEquatable<AccentPhrase>
Constructors
AccentPhrase(int, string, bool)
アクセント句のコンストラクタ
Declaration
public AccentPhrase(int moraNumber, string accentType, bool isInterrogative)
Parameters
Type | Name | Description |
---|---|---|
int | moraNumber | |
string | accentType | |
bool | isInterrogative |
Properties
AccentType
accent type
Declaration
public string AccentType { get; }
Property Value
Type | Description |
---|---|
string | 1 ∼ 49 |
IsInterrogative
whether the current accent phrase interrogative or not
Declaration
public bool IsInterrogative { get; }
Property Value
Type | Description |
---|---|
bool |
IsPoseInsertion
whether pause insertion or not in between the previous/next accent phrase and the current accent phrase
previous/next accent phrase only
Declaration
public bool? IsPoseInsertion { get; }
Property Value
Type | Description |
---|---|
bool? |
MoraNumber
the number of moras
Declaration
public int MoraNumber { get; }
Property Value
Type | Description |
---|---|
int | 1 ∼ 49 |
PosInBackwordAccentPhrase
position of the current accent phrase identity in the current breath group by the accent phrase (backward)
current accent phrase only
Declaration
public int? PosInBackwordAccentPhrase { get; }
Property Value
Type | Description |
---|---|
int? | 1 ∼ 49 |
PosInBackwordBreathGroup
position of the current breath group identity by breath group (backward)
Declaration
public int? PosInBackwordBreathGroup { get; }
Property Value
Type | Description |
---|---|
int? |
PosInBackwordMora
position of the current accent phrase identity in the current breath group by the mora (backward)
current accent phrase only
Declaration
public int? PosInBackwordMora { get; }
Property Value
Type | Description |
---|---|
int? | 1 ∼ 199 |
PosInForwordAccentPhrase
position of the current accent phrase identity in the current breath group by the accent phrase (forward)
current accent phrase only
Declaration
public int? PosInForwordAccentPhrase { get; }
Property Value
Type | Description |
---|---|
int? | 1 ∼ 49 |
PosInForwordBreathGroup
position of the current breath group identity by breath group (forward)
current accent phrase only
Declaration
public int? PosInForwordBreathGroup { get; }
Property Value
Type | Description |
---|---|
int? | 1 ∼ 49 |
PosInForwordMora
position of the current accent phrase identity in the current breath group by the mora (forward)
current accent phrase only
Declaration
public int? PosInForwordMora { get; }
Property Value
Type | Description |
---|---|
int? | 1 ∼ 199 |