Skip to content

emirozer/profanity-java-jersey

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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"}

About

some fun project i did over a weekend years ago :)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages