Jump to content

Suggestion: Fiverr could use natural language processing (NLP) to help check gig descriptions abide by the Gig Policy on language use


uk1000

Recommended Posts

In the Fiverr Gig Policy page at https://help.fiverr.com/hc/en-us/articles/360011421218

it says:

Quote

Gig descriptions in English are mandatory but you can use additional languages—as long as all the information is also available in English

but the system doesn't currently seem to be doing any automatic checks to see that gigs follow that policy about the language in gig descriptions.

eg. there are gig descriptions with text like "jjkkasdf kjdhfgurt..." and with text totally in Russian and where none of the description is in English.

So my idea is for Fiverr to check the words in gig descriptions (eg. when publishing a new gig or after amending one) to check that there is some minimum amount of English text in the description. It might be that some of the English words used aren't in the software dictionary that Fiverr might use for this check or that some of the English words are misspelled by the seller but that could be taken into account by not making the minimum amount of English required too high.

Here's a couple of Python code examples to show the sort basic code that could be used (and created with the help of perplexity.ai - with some of it by me).

The functions below use the Pyenchant Python library (see https://pyenchant.github.io/pyenchant/)

import enchant

def english_word_percentage(text):
    english_dict = enchant.Dict("en_US")
    words_in_text = text.split()
    nr_english_words = 0
    for word in words_in_text:
        if english_dict.check(word):
            nr_english_words += 1
    return nr_english_words / len(words_in_text)

def get_nr_of_english_words_in_text(text):
    english_dict = enchant.Dict("en_US")
    words_in_text = text.split()
    nr_english_words = 0
    for word in words_in_text:
        if english_dict.check(word):
            nr_english_words += 1
    return nr_english_words

So Fiverr could warn the user or flag the gig description for manual checking by staff if the number of English words in a gig description aren't at or above a specified minimum or if the percentage of English words in a gig description aren't at or above a specified minimum.

Edited by uk1000
  • Like 2
Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...