An Android library that allows blocking of colloquial words from text

Overview

AndroidProfanityFilter

Twitter URL

Add to project

Step 1. Add it in your root build.gradle at the end of repositories:

Groovy

allprojects {
    repositories {
        ...
        maven { url 'https://jitpack.io' }
    }
}

Kotlin (build.gradle.kts)

allprojects {
    repositories {
        ...
        maven("https://jitpack.io")
    }
}

Step 2. Add the dependency

Groovy

dependencies {
    implementation 'com.github.phucynwa:AndroidProfanityFilter:0.0.3'
}

Kotlin (build.gradle.kts)

dependencies {
    implementation("com.github.phucynwa:AndroidProfanityFilter:0.0.3")
}

Using

val dictionary = PlainDictionary(this, "bad_words_en_us.txt")
val profanityFilter = AndroidProfanityFilter(dictionary = dictionary)
val censoredText = profanityFilter.censor(originalText)

License

Copyright 2021 Phuc YNWA

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   https://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
You might also like...
Text to Speech Project for Spring Boot and Kotlin, Auth Server, Python with Fast API (gTTS)
Text to Speech Project for Spring Boot and Kotlin, Auth Server, Python with Fast API (gTTS)

TTS-App Text to Speech Project for Spring Boot and Kotlin, Auth Server, Python with Fast API (gTTS) Python의 gTTS lib를 활용하여 텍스트를 음성으로 변환하는 서비스를 구현해봅니다.

Sample app that displays a birthday card with text and an image

Birthday Card App Sample app that displays a birthday card with text and an image. Used in the Android Basics with Kotlin course. Pre-requisites Andro

ANTLR is a powerful parser generator for reading, processing, executing, or translating structured text or binary files.

ANTLR (ANother Tool for Language Recognition) is a powerful parser generator for reading, processing, executing, or translating structured text or binary files.

Text Recognizer App Using the ML Kit

Features Detects text in images Using the ML Kit Text Recognition API Uses the CameraX to show a viewfinder and display the camera preview Provides a

SmartLens uses Google's ML Kit for Barcode scanning, Face recognition, Text recognition, and Image labeling.
SmartLens uses Google's ML Kit for Barcode scanning, Face recognition, Text recognition, and Image labeling.

SmartLens SmartLens uses Google's ML Kit for Barcode scanning, Face recognition, Text recognition, and Image labeling. 📷 Screen Shots 🔥 Features It

Not so deep text reader inspired by BORIS, written in Kotlin

Barnable Reader Prototype Deep text reader library that generates a semantic model from a short input text. At the moment it is very primitive and is

neutriNote: All-in-one preservation of written thoughts, be those text, math (LaTeX), rich markdown, drawings
neutriNote: All-in-one preservation of written thoughts, be those text, math (LaTeX), rich markdown, drawings

Official | FAQ | Documentation | Mastodon | XDA neutriNote (Community Edition) What is neutriNote? In a nutshell, all-in-one preservation of written t

Implement Text Recognition using MLKit in Jetpack Compose using Kotlin
Implement Text Recognition using MLKit in Jetpack Compose using Kotlin

Implement Text Recognition using MLKit in Jetpack Compose using Kotlin. The application is built using Kotlin Programming Language with Jetpack Compose Navigation.

Small library that allows the application to display a small troubleshooting guide in case of repeated app startup crashes.
Small library that allows the application to display a small troubleshooting guide in case of repeated app startup crashes.

AppSalvager What is it? AppSalvager allows you to combat the issue of repeating crashes on app startup. Failed data migration, SDKs not handling their

Releases(0.0.3)
Owner
Phuc YNWA
I'm an Android developer and have worked with Kotlin for over 3 years.
Phuc YNWA
Will export all your words from LingQ to a tab-separated UTF-8 text file, Html, and Anki

LingQWordsExport Will export all your words from LingQ to a tab-separated UTF-8 text file, Html, and Anki. Here you can find a documentation page. Ins

Sergey Svistunov 2 Apr 21, 2022
An Android Application which provides meanings for words searched.

An Android Application which provides meanings for words searched. It also displays some examples, synonyms and antonyms of the searched word.

Siddharth Singh 2 Aug 8, 2022
Words App which acts as a dictionary. Use the concept of Intent.

Words App This folder contains the source code for the Words app codelab. Introduction Words app allows you to select a letter and use Intents to navi

Naman Agarwal 6 Dec 6, 2021
KeyCip - an Android app that allows users to encrypt, decrypt and sign text, photos, videos and other files

KeyCip is an Android app that allows users to encrypt, decrypt and sign text, photos, videos and other files. To accomplish this goal, it relie

null 18 Nov 26, 2022
Application that allows to search some products and display them in a list, also allows to add some product to the shopping cart and remove it

Application that allows to search some products and display them in a list, also allows to add some product to the shopping cart and remove it

Victor 3 Aug 18, 2022
CutableTextView - the super lightweight library that helps to you cut long text. ✂️

An easy to use CutableTextView when you need to cut a long text. ✂️ ✂️ ✂️ Gradle dependencies { implementation 'com.github.devit951:cutabletextvie

Ildarov 2 Aug 29, 2019
Native android application that scans for text in images. Uses ML kit under the hood.

Scannerate - Ad free Text Recognition Android application built using Kotlin to extract text from images. Uses Google's ML kit library under the hood.

null 24 Dec 1, 2022
Android App Face recognition using MobiFacenet + text to speech

Face_Recognition real time #Android App Face recognition using MobileFacenet.

Tran Quyen 1 Feb 17, 2022
Android app built with MVP architectural approach and uses Marvel Comics API that allows developers everywhere to access information about Marvel's vast library of comics. :zap:

Villains & Heroes Android app built with MVP architectural approach and uses Marvel Comics API that allows developers everywhere to access information

André Mion 53 Jul 13, 2022
Simple app to Transfer Media and Text from computer to mobile.

TransferByte Simple app to Transfer Media and Text from computer to mobile.Written in kotlin. Recycler view used for listing the media posted and down

AFIL K UMMER 3 Jun 15, 2021