clothespeg has asked for the wisdom of the Perl Monks concerning the following question:

Hello! I am a beginner in Perl. I found this page (http://www.cs.columbia.edu/~hgs/research/projects/ita-misunderstandings/semantic/code/sentiment.pl) with many codes for natural language processing. The codes I am interested in are the ones dealing with SentiWordNet. I just don't understand the following part:
=head3 getWordOrientation =head4 Description Calculate the sentiment values for the given word using local copy of +Sentiwordnet. We search for sentiment values of most frequently used +adjective form of the given word and then the most frequently used ad +verb form of the given word. =head4 Inputs =over 12 =item Word for which we need to find out the sentiment. =item Reference to array of Lemmas from Sentiwordnet. =item Hash of Positive values from Sentiwordnet. =item Hash of Negative values from sentiwordnet. =back =head4 Outputs =over 12 =item Positive score for the word. =item Negative score for the word. =item Neutral score for the word. =item -1 -1 -1 if word is not found in Sentiwordnet. =back =cut
Is that part of a code? I don't understand really. What does this = sign mean? Thank you for your help!

Replies are listed 'Best First'.
Re: Understanding SentiWordNet Perl Code
by haukex (Archbishop) on Jul 09, 2019 at 05:25 UTC

    Welcome to Perl and the Monastery, clothespeg!

    What does this = sign mean?

    That's POD - Plain Old Documentation. You can read more about it at perlpod.

    Edit: Fixed typo.

Re: Understanding SentiWordNet Perl Code
by Laurent_R (Canon) on Jul 09, 2019 at 07:51 UTC
    You might want to run the pod2html program (distributed with Perl) on your file and redirect the output to a file named, for example, senti_doc.html. Then you'll be able to read the documentation in a more user-friendly format with any Web browser.
Re: Understanding SentiWordNet Perl Code
by clothespeg (Novice) on Jul 10, 2019 at 04:19 UTC
    Thank you!