컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
Textclassifier
대화, 링크, 선택 및 텍스트의 기타 유사한 구성을 식별합니다.
최근 업데이트 |
안정화 버전 |
출시 후보 버전 |
베타 버전 |
알파 버전 |
2022년 3월 23일 |
- |
- |
- |
1.0.0-alpha04 |
종속 항목 선언
TextClassifier의 종속 항목을 추가하려면 프로젝트에 Google Maven 저장소를 추가해야 합니다. 자세한 내용은 Google Maven 저장소를 읽어보세요.
다음과 같이 앱 또는 모듈의 build.gradle
파일에 필요한 아티팩트의 종속 항목을 추가합니다.
Groovy
dependencies {
implementation "androidx.textclassifier:textclassifier:1.0.0-alpha04"
}
Kotlin
dependencies {
implementation("androidx.textclassifier:textclassifier:1.0.0-alpha04")
}
종속 항목에 관한 자세한 내용은 빌드 종속 항목 추가를 참고하세요.
의견
제출하신 의견은 Jetpack을 개선하는 데 도움이 됩니다. 새로운 문제를 발견하거나 라이브러리 개선을 위한 아이디어가 있다면 Google에 알려 주세요. 새 문제를 제출하기 전에 이 라이브러리의 기존 문제를 살펴보시기 바랍니다. 별표 버튼을 클릭하여 기존 문제에 투표할 수 있습니다.
새로운 문제 제출하기
자세한 내용은 Issue Tracker 문서를 참조하세요.
버전 1.0.0
버전 1.0.0-alpha04
2022년 3월 23일
androidx.textclassifier:textclassifier:1.0.0-alpha04
가 출시되었습니다. 버전 1.0.0-alpha04에 포함된 커밋을 확인하세요.
API 변경사항
버그 수정
MissingGetterMatchingBuilder
의 API 린트 검사가 androidx용으로 사용 설정되었습니다. (I4bbea, b/138602561)
AppCompatRatingBar
PNG 드로어블이 벡터 소스로 대체되었습니다. 이로 인해 개별 별표의 시각적 모양이 약간 변경될 수 있습니다. (I6b99d)
TextClassifier 버전 1.0.0-alpha03
2020년 1월 22일
androidx.textclassifier:textclassifier:1.0.0-alpha03
이 출시되었습니다. 버전 1.0.0-alpha03에 포함된 커밋을 확인하세요.
새로운 기능
API 변경사항
setIncludeDefaultEntityTypes
에서 includeTypesFromTextClassifier
로 이름이 변경되었습니다.
setIncludedEntityTypes
에서 setIncludedTypes
로 이름이 변경되었습니다.
setExcludedEntityTypes
에서 setExcludedTypes
로 이름이 변경되었습니다.
버그 수정
버전 1.0.0-alpha02
2019년 2월 7일
androidx.textclassifier 1.0.0-alpha02
가 출시되었습니다.
API 변경사항
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
2018년 12월 3일
TextClassifier
에서 androidx
로의 첫 번째 리팩터링입니다. 이 출시에서는 (android.view.textclassifier.TextClassifier
)[/reference/android/view/textclassifier/TextClassifier] 기능, 특히 Smart Linkify를 API 14로 백포트합니다.
이 페이지에 나와 있는 콘텐츠와 코드 샘플에는 콘텐츠 라이선스에서 설명하는 라이선스가 적용됩니다. 자바 및 OpenJDK는 Oracle 및 Oracle 계열사의 상표 또는 등록 상표입니다.
최종 업데이트: 2025-07-27(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"]],["최종 업데이트: 2025-07-27(UTC)"],[],[],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."]]