# Cohen's kappa with three categories of variable

I have to calculate the inter-agreement rate using cohen's kappa. However, I only know how to do it with two observers and two categories of my variable.

I have a set of tweets. Each tweet should be rated as positive/negative/neutral by two observers, thus I have two observers yet 3 categories.

How should the formula of this look like?