Commit 8547ba75 authored by Alessandro CERIONI's avatar Alessandro CERIONI
Browse files

Added the generate_slug script

parent 6e0d5ac7
from nltk.corpus import stopwords
from slugify import slugify
def generate_slug( txt ):
return slugify( txt, stopwords=stopwords.words('french') )
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment