تنظيم صفحاتك في مجموعات
يمكنك حفظ المحتوى وتصنيفه حسب إعداداتك المفضّلة.
مصنِّف نصي
لتحديد المحادثات والروابط والاختيارات وغيرها من العناصر المشابهة في النص
آخر تعديل |
الإصدار الثابت |
سحب المرشح |
الإصدار التجريبي |
إصدار أولي |
23 آذار (مارس) 2022 |
- |
- |
- |
1.0.0-alpha04 |
الإعلان عن التبعيات
لإضافة تبعية على TextClassifier، عليك إضافة مستودع Google Maven إلى
مشروعك. يمكنك الاطّلاع على مستودع Maven من Google
للحصول على مزيد من المعلومات.
أضِف التبعيات للعناصر التي تحتاج إليها في ملف build.gradle
ل
تطبيقك أو وحدتك:
Groovy
dependencies {
implementation "androidx.textclassifier:textclassifier:1.0.0-alpha04"
}
Kotlin
dependencies {
implementation("androidx.textclassifier:textclassifier:1.0.0-alpha04")
}
لمزيد من المعلومات عن العناصر الاعتمادية، اطّلِع على مقالة إضافة عناصر الاعتماد الخاصة بالإصدار.
ملاحظات
تساعدنا ملاحظاتك في تحسين Jetpack. يُرجى إعلامنا إذا واجهت مشاكل جديدة أو كان لديك
أفكار لتحسين هذه المكتبة. يُرجى الاطّلاع على
المشاكل الحالية
في هذه المكتبة قبل إنشاء مكتبة جديدة. يمكنك إضافة صوتك إلى مشكلة حالية عن طريق
النقر على زر النجمة.
إنشاء عدد جديد
راجِع مستندات أداة تتبُّع المشاكل
للحصول على مزيد من المعلومات.
الإصدار 1.0.0
الإصدار 1.0.0-alpha04
23 آذار (مارس) 2022
تم طرح androidx.textclassifier:textclassifier:1.0.0-alpha04
. يحتوي الإصدار 1.0.0-alpha04 على هذه المراجعات.
تغييرات واجهة برمجة التطبيقات
إصلاح الأخطاء
- تم تفعيل فحص الأخطاء في واجهة برمجة التطبيقات لنظام التشغيل
MissingGetterMatchingBuilder
في حزمة androidx (I4bbea، b/138602561)
AppCompatRatingBar
تم استبدال ملفات PNG القابلة للرسم بمصادر رسومات متجهة. وقد يؤدي ذلك إلى حدوث تغييرات طفيفة في المظهر المرئي للنجوم الفردية. (I6b99d)
الإصدار 1.0.0-alpha03 من TextClassifier
22 كانون الثاني (يناير) 2020
تم إصدار androidx.textclassifier:textclassifier:1.0.0-alpha03
. يحتوي الإصدار 1.0.0-alpha03 على عمليات التنفيذ هذه.
الميزات الجديدة
تغييرات واجهة برمجة التطبيقات
- تمت إعادة تسمية
setIncludeDefaultEntityTypes
ليصبح includeTypesFromTextClassifier
.
- تمت إعادة تسمية "
setIncludedEntityTypes
" إلى "setIncludedTypes
".
- تمت إعادة تسمية
setExcludedEntityTypes
ليصبح setExcludedTypes
.
إصلاح الأخطاء
الإصدار 1.0.0-alpha02
7 شباط (فبراير) 2019
تم إصدار androidx.textclassifier 1.0.0-alpha02
.
تغييرات واجهة برمجة التطبيقات
TextLinks.TextLink.getEntityType
يحلّ محلّ TextLinks.TextLink.getEntity
TextLinks.TextLink.getEntityTypeCount
يحلّ محلّ TextLinks.TextLink.getEntityCount
TextSelection.getEntityType
يحلّ محلّ TextSelection.getEntity
TextSelection.getEntityTypeCount
يحلّ محل TextSelection.getEntityCount
إصلاح الأخطاء
- إصلاح مشكلة تسرُّب الذاكرة في AndroidX TextClassificationManager. (aosp/887354)
- شريط الأدوات العائم: يمكنك التعامل مع تغييرات موضع TextView. (aosp/877713)
الإصدار 1.0.0-alpha01
3 كانون الأول (ديسمبر) 2018
هذه هي المرة الأولى التي تتم فيها
إعادة هيكلة TextClassifier
إلى androidx
. يعيد هذا الإصدار طرح ميزات
(android.view.textclassifier.TextClassifier
)[/reference/android/view/textclassifier/TextClassifier]
، لا سيما ميزة "Smart Linkify"، في واجهة برمجة التطبيقات 14.
يخضع كل من المحتوى وعيّنات التعليمات البرمجية في هذه الصفحة للتراخيص الموضحّة في ترخيص استخدام المحتوى. إنّ Java وOpenJDK هما علامتان تجاريتان مسجَّلتان لشركة Oracle و/أو الشركات التابعة لها.
تاريخ التعديل الأخير: 2025-07-27 (حسب التوقيت العالمي المتفَّق عليه)
[[["يسهُل فهم المحتوى.","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"]],["تاريخ التعديل الأخير: 2025-07-27 (حسب التوقيت العالمي المتفَّق عليه)"],[],[],null,["# Textclassifier\n==============\n\nAPI Reference \n[androidx.textclassifier](/reference/kotlin/androidx/textclassifier/package-summary) \nIdentifies conversations, links, selections, and other similar constructs in text. \n\n| Latest Update | Stable Release | Release Candidate | Beta Release | Alpha Release |\n|----------------|----------------|-------------------|--------------|--------------------------------------------------------------------------|\n| March 23, 2022 | - | - | - | [1.0.0-alpha04](/jetpack/androidx/releases/textclassifier#1.0.0-alpha04) |\n\nDeclaring dependencies\n----------------------\n\nTo add a dependency on TextClassifier, you must add the Google Maven repository to your\nproject. Read [Google's Maven repository](/studio/build/dependencies#google-maven)\nfor more information.\n\nAdd the dependencies for the artifacts you need in the `build.gradle` file for\nyour app or module: \n\n### Groovy\n\n```groovy\ndependencies {\n implementation \"androidx.textclassifier:textclassifier:1.0.0-alpha04\"\n}\n```\n\n### Kotlin\n\n```kotlin\ndependencies {\n implementation(\"androidx.textclassifier:textclassifier:1.0.0-alpha04\")\n}\n```\n\nFor more information about dependencies, see [Add build dependencies](/studio/build/dependencies).\n\nFeedback\n--------\n\nYour feedback helps make Jetpack better. Let us know if you discover new issues or have\nideas for improving this library. Please take a look at the\n[existing issues](https://issuetracker.google.com/issues?q=componentid:878772%20status:open)\nin this library before you create a new one. You can add your vote to an existing issue by\nclicking the star button.\n\n[Create a new issue](https://issuetracker.google.com/issues/new?component=878772&template=1441952)\n\nSee the [Issue Tracker documentation](https://developers.google.com/issue-tracker)\nfor more information.\n\nVersion 1.0.0\n-------------\n\n### Version 1.0.0-alpha04\n\nMarch 23, 2022\n\n`androidx.textclassifier:textclassifier:1.0.0-alpha04` is released. [Version 1.0.0-alpha04 contains these commits.](https://android.googlesource.com/platform/frameworks/support/+log/0a3d894e8fe0217f1312fb163a89ad51bf15794e..5ef5671233460b844828e14a816255dbf7904868/textclassifier/textclassifier)\n\n**API Changes**\n\n- Deprecate all the APIs in the textclassifier module ([Idc180](https://android-review.googlesource.com/#/q/Idc18063196531c0e926162fefeadf2dc5f559da1), [b/210509084](https://issuetracker.google.com/issues/210509084))\n\n**Bug Fixes**\n\n- API lint check for `MissingGetterMatchingBuilder` is enabled for androidx ([I4bbea](https://android-review.googlesource.com/#/q/I4bbeacf9869d8338a3d7086acb40bc56ec68c3f9), [b/138602561](https://issuetracker.google.com/issues/138602561))\n- `AppCompatRatingBar` PNG drawables have been replaced with vector sources. This may cause slight changes in the visual appearance of individual stars. ([I6b99d](https://android-review.googlesource.com/#/q/I6b99d3fde8d3cd275d0fc279324066bcd7f3ecd6))\n\n### TextClassifier Version 1.0.0-alpha03\n\nJanuary 22, 2020\n\n`androidx.textclassifier:textclassifier:1.0.0-alpha03` is released. [Version 1.0.0-alpha03 contains these commits](https://android.googlesource.com/platform/frameworks/support/+log/ddceab357394ac5ab55c825844f111afe9401261..0a3d894e8fe0217f1312fb163a89ad51bf15794e/textclassifier).\n\n**New features**\n\n**API changes**\n\n- `setIncludeDefaultEntityTypes` has been renamed to `includeTypesFromTextClassifier`\n- `setIncludedEntityTypes` has been renamed to `setIncludedTypes`\n- `setExcludedEntityTypes` has been renamed to `setExcludedTypes`\n\n**Bug fixes**\n\n### Version 1.0.0-alpha02\n\nFebruary 7, 2019\n\n`androidx.textclassifier 1.0.0-alpha02` is released.\n\n**API changes**\n\n- `TextLinks.TextLink.getEntityType` replaces `TextLinks.TextLink.getEntity`\n- `TextLinks.TextLink.getEntityTypeCount` replaces `TextLinks.TextLink.getEntityCount`\n- `TextSelection.getEntityType` replaces `TextSelection.getEntity`\n- `TextSelection.getEntityTypeCount` replaces \\`TextSelection.getEntityCount\n\n**Bug fixes**\n\n- Fix a memory leak issue in AndroidX TextClassificationManager. ([aosp/887354](https://android-review.googlesource.com/887354))\n- Floating Toolbar: Handle TextView position changes. ([aosp/877713](https://android-review.googlesource.com/877713))\n\n### Version 1.0.0-alpha01\n\nDecember 3, 2018\n\nThis is the first\nrefactoring of `TextClassifier` to `androidx`. This release backports\n(`android.view.textclassifier.TextClassifier`)\\[/reference/android/view/textclassifier/TextClassifier\\]\nfeatures, particularly Smart Linkify, back to API 14."]]