[Air-L] Software that counts words per line of text
Maurice Vergeer
m.vergeer at maw.ru.nl
Fri Jun 9 08:46:10 PDT 2017
Dear Xanat
do you have access to SPSS and have you worked with it?
Lately SPSS has become more capable handling texts. A procedure listed
below should enable you to do the job. Use it with the compute statement to
create variables indicating the keywords are present or not.
Similar things can be done in R.
SPSS manual:
CHAR.SUBSTR. CHAR.SUBSTR(strexpr,pos[,length]). String. Returns the
substring beginning at character
position pos of strexpr. The optional third argument represents the number
of characters in the substring.
If the optional argument length is omitted, returns the substring beginning
at character position pos of
strexpr and running to the end of strexpr. For example CHAR.SUBSTR('abcd',
2) returns 'bcd' and
CHAR.SUBSTR('abcd', 2, 2) returns 'bc'. (Note: Use the SUBSTR function
instead of CHAR.SUBSTR if you
want to use the function on the left side of an equals sign to replace a
substring.)
Hope this gets you on your way
Maurice
On Fri, Jun 9, 2017 at 7:05 AM, Xanat Meza <kt_designbox at yahoo.com> wrote:
> Is there any available software where I can input a list of keywords and a
> long text composed by several sentences (or paragraphs), and the output
> gives me the keyword count per sentence/paragraph?
> Regards, Xanat V. Meza
>
> Ph.D. candidate - Kansei, Behavioral and Brain SciencesUniversity of
> Tsukuba
> M.A. Media and Communication
> Yeungnam University
> B.D. Graphic Communication Design
> Universidad Autonoma Metropolitana
> _______________________________________________
> The Air-L at listserv.aoir.org mailing list
> is provided by the Association of Internet Researchers http://aoir.org
> Subscribe, change options or unsubscribe at: http://listserv.aoir.org/
> listinfo.cgi/air-l-aoir.org
>
> Join the Association of Internet Researchers:
> http://www.aoir.org/
--
________________________________________________
Maurice Vergeer
To contact me, see http://mauricevergeer.nl/node/5
For yesterday's news in perspective: http://www.echovannl.nl/
To see my publications, see http://mauricevergeer.nl/node/1
PGP public key:
https://keys.mailvelope.com/pks/lookup?op=get&search=0xE7BF24D19BE34017
________________________________________________
More information about the Air-L
mailing list