tallying affixes

Leonid Spektor spektor at andrew.cmu.edu
Wed May 4 19:02:45 UTC 2011


Jamie,

	Here are a few commands that will let you do what I understand you want:

The +u option in these commands will combine all words from all data files specified on command line into one list, instead of creating separate lists of words for every data file individually.

This command will list all suffixes and prefixes along with words they were used with in %mor tier format:
freq +s"@#*" +s"@-*" +s"@&-*" +u *.cha

Adding +d7 option will also display each corresponding word from speaker tier:
freq +s"@#*" +s"@-*" +s"@&-*" +d7 +u  *.cha

If you want to count how many distinct suffixes and prefixes there are, then use this command:
freq +s"@#*,o%" +s"@-*,o%" +s"@&-*,o%" +u *.cha

To also include the original form of the %mor formatted word that is associated with each suffix and prefix add +d6 option:
freq +s"@#*,o%" +s"@-*,o%" +s"@&-*,o%" +d6 +u *.cha

To see what corresponding words on speaker tier look like replace +d6 with +d7 option:
freq +s"@#*,o%" +s"@-*,o%" +s"@&-*,o%" +d7 +u *.cha

The +d7 option will only work if you download the latest version of CLAN.
Hope this help.

Leonid.





On May 4, 2011, at 13:43, Jamie Smith wrote:

> I am using CLAN to analyze a batch of transcripts and I would
> appreciate a little help with FREQ syntax. Can I tell CLAN to tally
> all affixes, both prefixes like un# and suffixes like -LY? In the past
> I have made a file with a list of all target affixes, but I have been
> looking again at the section on lemmatization in the manual and
> thinking there must be a more efficient strategy. I haven't been able
> to figure out how to do it, though.
> 
> Thanks for any help you can offer.
> 
> Best,
> Jamie in Illinois
> 
> -- 
> You received this message because you are subscribed to the Google Groups "chibolts" group.
> To post to this group, send email to chibolts at googlegroups.com.
> To unsubscribe from this group, send email to chibolts+unsubscribe at googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/chibolts?hl=en.
> 
> 

-- 
You received this message because you are subscribed to the Google Groups "chibolts" group.
To post to this group, send email to chibolts at googlegroups.com.
To unsubscribe from this group, send email to chibolts+unsubscribe at googlegroups.com.
For more options, visit this group at http://groups.google.com/group/chibolts?hl=en.



More information about the Chibolts mailing list