Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Latest commit

 

History

History
History
42 lines (23 loc) · 1.01 KB

File metadata and controls

42 lines (23 loc) · 1.01 KB
Copy raw file
Download raw file
Edit and raw actions

Screenshot

##USAGE ######CI Status : travis

Clone the repository.

git clone https://github.com/emirozer/profanity-java-jersey.git

Initialize and update the submodule

git submodule init
git submodule update

Clean and test

mvn clean test

Run

mvn exec:java

You will be able to reach the profanity server & functionality through:

localhost:8080/pjj/filter/

Sample Query:

localhost:8080/pjj/filter/?input=emir is an asshole sometimes&lang=en
response -->  "emir is an ******* sometimes"

localhost:8080/pjj/filter/?input=emir is an 4ssh0l3 sometimes&lang=en
response -->  "emir is an ******* sometimes"

If you are unsure of the lang send an empty string; "" Supported languages:

{"cs", "da", "de", "en", "eo", "es", "fi", "fr", "hu", "it",
            "ja", "ko", "nl", "no", "pl", "pt", "ru", "sv", "th", "tlh", "tr", "zh"}
Morty Proxy This is a proxified and sanitized view of the page, visit original site.