MLKitEntityExtraction フレームワーク リファレンス
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
MLKMoneyEntity
@interface MLKMoneyEntity : NSObject
テキストから抽出された金額エンティティ。
-
検出されたアノテーションの通貨部分。書式設定は適用されないため、
最初の文字列のサブセットが作成されます。
宣言
Objective-C
@property (nonatomic, readonly) NSString *_Nonnull unnormalizedCurrency;
-
検出されたアノテーションの整数部分。これは、小数点の左側に記述された整数です。
宣言
Objective-C
@property (nonatomic, readonly) NSInteger integerPart;
-
検出されたアノテーションの小数部分。これは、小数点記号の右側に記述される整数です。
宣言
Objective-C
@property (nonatomic, readonly) NSInteger fractionalPart;
-
宣言
Objective-C
- (nonnull instancetype)init;
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2024-09-12 UTC。
[[["わかりやすい","easyToUnderstand","thumb-up"],["問題の解決に役立った","solvedMyProblem","thumb-up"],["その他","otherUp","thumb-up"]],[["必要な情報がない","missingTheInformationINeed","thumb-down"],["複雑すぎる / 手順が多すぎる","tooComplicatedTooManySteps","thumb-down"],["最新ではない","outOfDate","thumb-down"],["翻訳に関する問題","translationIssue","thumb-down"],["サンプル / コードに問題がある","samplesCodeIssue","thumb-down"],["その他","otherDown","thumb-down"]],["最終更新日 2024-09-12 UTC。"],[[["`MLKMoneyEntity` is an object that represents money extracted from text."],["It provides access to the currency, integer part, and fractional part of the detected money value."],["The `unnormalizedCurrency` property contains the original currency text from the input."],["The `integerPart` and `fractionalPart` properties provide the numerical components of the money value."]]],[]]