Appearance
@sylis/api / modules/ai/dto/grammar.dto / SentenceGrammarAnalysisDto
Class: SentenceGrammarAnalysisDto
Defined in: apps/api/src/modules/ai/dto/grammar.dto.ts:233
句子语法分析结果DTO
Implements
Constructors
Constructor
new SentenceGrammarAnalysisDto():
SentenceGrammarAnalysisDto
Returns
SentenceGrammarAnalysisDto
Properties
clauses
clauses:
ClauseAnalysisDto[]
Defined in: apps/api/src/modules/ai/dto/grammar.dto.ts:276
从句分析
Implementation of
SentenceGrammarAnalysis.clauses
overallConfidence
overallConfidence:
number
Defined in: apps/api/src/modules/ai/dto/grammar.dto.ts:279
语法解析的总体置信度
Implementation of
SentenceGrammarAnalysis.overallConfidence
phrases
phrases:
PhraseAnalysisDto[]
Defined in: apps/api/src/modules/ai/dto/grammar.dto.ts:268
短语分析
Implementation of
SentenceGrammarAnalysis.phrases
sentence
sentence:
string
Defined in: apps/api/src/modules/ai/dto/grammar.dto.ts:238
原始句子
Implementation of
SentenceGrammarAnalysis.sentence
sentenceStructure
sentenceStructure:
"simple"|"compound"|"complex"|"compound-complex"
Defined in: apps/api/src/modules/ai/dto/grammar.dto.ts:252
句子结构
Implementation of
SentenceGrammarAnalysis.sentenceStructure
sentenceType
sentenceType:
"declarative"|"interrogative"|"imperative"|"exclamatory"
Defined in: apps/api/src/modules/ai/dto/grammar.dto.ts:245
句子类型
Implementation of
SentenceGrammarAnalysis.sentenceType
summary
summary:
string
Defined in: apps/api/src/modules/ai/dto/grammar.dto.ts:286
语法分析总结
Implementation of
SentenceGrammarAnalysis.summary
words
words:
WordGrammarAnalysisDto[]
Defined in: apps/api/src/modules/ai/dto/grammar.dto.ts:260
每个词语的语法分析