/ Published in: Python
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
from wordnet import * from wntools import * def substituteKeyword(description, keyword): words = description.split(' ') return string.join( map(lambda word: (keyword, word)[morphy(word, 'noun')==None], words), ' ' )
URL: http://www.blackcodeseo.com/keyword-distribution-over-rss-syndication/