Freq in a bilingual conversation

Leonid Spektor spektor at andrew.cmu.edu
Fri Jun 24 15:27:35 UTC 2011


Kevin,

	You must be using unix system. In this case the second command needs to have +s option surrounded with quotes. So, the command is:

clan/unix/bin/freq +l +s"@s&eng" clan/chats/myfile.cha

Leonid.




On Jun 24, 2011, at 04:42, Kevin Donnelly wrote:

> Hi Leonid
> 
> ::::On Thursday 23 June 2011 Leonid Spektor said::::
>> 	The +s"@s:eng&spa" option needs a star character to match the actual 
> word.
>> So, the right command is +s"*@s:eng&spa".
> 
> Great - this works fine.
> 
>> 	A better command would be "freq +l myfile.cha +s at s&eng" for English words
>> and command "freq +l myfile.cha +s at s&spa" for Spanish words.
>> For more information about the +s at s option type "freq +s at s" in commands
>> window. The +l option assigns explicit language tag to every word, thus
>> making the use of +s"[- eng]" option unnecessary.
> 
> This would indeed be useful, but unfortunately it doesn't work here - I get:
> =====
> clan/unix/bin/freq +l clan/chats/myfile.cha +s at s&spa
> [1] 17700
> 
> +s at s Followed by search pattern
>    r word
>    & stem language marker
>    + suffix language marker
>    $ part-of-speech marker
>    o all other elements not specified by user
>  followed by - or + and/or the following
>    * find any match
>    % erase any match
>    word -find "word"
> 
> For example:
>    +s"@r-*,&-it"
>  find all words with Italian stems
>    +s"@r*,&it,$n"
>  find all words with Italian stems and part of speech tag "n"
>    +s"@r-*,&-en,o-%"
>  find all words with English stems and erase all other markers
>    +s"@r*,&it,+en"
>  find all words with Italian stems and English suffix
> No command 'spa' found, did you mean:
> <snip>
> =====
> 
> I've tried various permutations of +s at s&spa, but no luck. :-(
> 
> -- 
> Pob hwyl / Best wishes
> 
> Kevin Donnelly
> kevindonnelly.org.uk
> 
> -- 
> 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