syntax error when using ConditionalFreqDist
<p>I am trying to get the ConditionalFreqDist but Python keeps giving me a syntax error on the third line (for category in ..). I can't figure out the problem, any ideas (I'm a beginner).</p>

<pre><code> def persoonlijkvnw(mijn_corpus):
    cfd = nltk.ConditionalFreqDist(category,word)
    for category in mijn_corpus.categories()
    for word in mijn_corpus.words(categories=category)
    category = mijn_corpus.categories()
    persoonlijke_vnw = ['ik','jij','hij','wij','jullie','zij']
    cfd.tabulate(conditions=category, samples=persoonlijke_vnw)
</code></pre>
