Skip to content

microslaw/hackactonTask

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Table of contents

General info

Polish curse word classification using simple heuristic.

Used languages and tools:

  • Python 3.10.7

Setup

To censor words import censoring.py, and add badWords.txt to the same directory. For in-file use examples see example1.py and example2.py

Functions

  • censorWord - if word variable is classified as a curse replaces all but first and last characters with '*', unless other replaceChar variable is specified
  • isBadWord - returns true if word variable is classified as curse, or false otherwise

Authors

BEST Gdansk hackaton team "Natural stupidity"

  • microslaw
  • mszablewski
  • sgolebiewska
  • szpkwsk

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages