Tamamlanmış

Profanity Filter

C++ class to take a string and efficiently determine whether it contains profanity or personal information.

Critical: must be your own work. must not leak memory or crash. must be well-formatted, well-commented in English and maintainable.

## Deliverables

Needs to have:

* An initialisation function that reads in a text file of bad words - one word (or phrase) per line - and a text file of good words - again, one word (or phrase) per line.

* A validation function that checks if a string contains any of the bad words and returns 0 or 1 (as long as the bad word is not a substring of one of the good words -? e.g. "ass" may be bad, but "glass" is okay.)

* It should recognise character/number substitutions (cr4p)

* It should deal with spaces (c r a p)?

* It should deal with non-alphanumeric wildcards (cr*p)

* It should deal with substrings (blahblahcrapblahblah)

* ... and obviously combinations of the above

* A function to log filtered strings that fail validation to a file

It must never crash or leak memory, irrespective of the data that it is given.

Execution time is critical - more important to memory use.

Execution time must not increase proportionally with? the number of bad words, so I propose using something like a b-tree to store and process the words.

I'll be wanting to know the method that will be used in advance.

Beceriler: C Programlama, Mühendislik, Linux, MySQL, PHP, Yazılım Mimarisi, Yazılım Test Etme

Daha fazlasını gör: profanity filter, tree programming, substrings in c, substring in c, substring c, strings in c programming, r programming class, programming tree, c substring, c string substring, cr&r, c programming strings, bad programming, glass tree, bad words filter, determine text english, recognise, filter log file, propose something, memory leak

İşveren Hakkında:
( 6 değerlendirme ) Nottingham, United Kingdom

Proje NO: #3173506

Seçilen:

fidoder

See private message.

%selectedBids___i_period_sub_7% gün içinde 85%project_currencyDetails_sign_sub_9% %project_currencyDetails_code_sub_10%
(2 Değerlendirme)
2.9

Bu iş için 10 freelancer ortalamada $197 teklif veriyor

vw6868760vw

See private message.

$85 USD in 14 gün içinde
(53 Değerlendirme)
5.6
phpdevteam

See private message.

$102 USD in 14 gün içinde
(59 Değerlendirme)
5.4
blakel12

See private message.

$425 USD in 14 gün içinde
(33 Değerlendirme)
5.2
shaileshgoel

See private message.

$85 USD in 14 gün içinde
(0 Değerlendirme)
0.0
sankhachowdhury

See private message.

$467.5 USD in 14 gün içinde
(0 Değerlendirme)
1.1
cppcssolutions

See private message.

$255 USD in 14 gün içinde
(0 Değerlendirme)
0.0
adelaidadevelop

See private message.

$63.75 USD in 14 gün içinde
(1 Yorum)
0.0
phant0mvw

See private message.

$340 USD in 14 gün içinde
(0 Değerlendirme)
0.0
niceghost

See private message.

$59.5 USD in 14 gün içinde
(0 Değerlendirme)
0.0