Run FREQ for stems only, using a .cut file

Leonid Spektor spektor at andrew.cmu.edu
Mon Jan 30 20:11:01 UTC 2023


Loïc,

	To get stems only your search string must be "+smr-*,o-%". This has to be also reflected inside your reX2.cut file. Each line in that file is its own search command, minus the +s string. Attached is the modified reX2-stems.cut file that will give you stems only.



Leonid.


> On Jan 30, 2023, at 10:30, Loïc Liégeois <lliegeois.android at gmail.com> wrote:
> 
> Dear all,
> 
> I want to run FREQ on the child %mor tier, but for stems only, and only on a list of stems saved in a .cut file.
> The result I obtain is unexpected, in the sense that I obtain several results for a same stem, more precisely one line for each POS tag.
> 
> For example, if I run the command
> 
> freq +t*CHI +t%mor -t* +s at reX2.cut "mr-*,o-%" +o Madeleine-050508.cha
> 
> I obtain this result:
> 
> From file <Madeleine-050508.cha>
> Speaker: *CHI:
>   4 v|reconnaître-INF
>   3 v|rejouer-PRES&SUB&13s
>   3 v|repousser-IMP&2s
>   3 v|repousser-INF
>   3 v|repousser-PRES&SUB&2s
>   2 part|rentrer-PP&m&pl
>   2 v|revenir-INF
>   1 part|rentrer-PP&m
>   1 part|repeindre-PP&m
>   1 v|recommencer-INF
>   1 v|rejouer-FUT&3s
>   1 v|rejouer-IMP&2s
>   1 v|rejouer-INF
>   1 v|rendormir-INF
>   1 v|rentrer-INF
>   1 v|rentrer-PRES&SUB&2s
>   1 v|repousser-PRES&SUB&13s
>   1 v|revenir-PRES&3s
> 
> Does anyone know how I can be able to obtain only one line per stem ? I tried several commands an options combinations, but nothing works... I attach the files that I used in my example.
> 
> Thanks in advance !
> Best,
> Loïc
> 
> -- 
> Loïc Liégeois
> IR Université Paris Cité - UFR Linguistique
> Site Olympe de Gouges, Bureau 640
> CLILLAC-ARP (EA 3967) et LLF (UMR 7110)
> *********************************
> 
> Tél. : 01-57-27-57-58
> Pages personnelles : LLF <http://www.llf.cnrs.fr/fr/Gens/Liegeois/> / CLILLAC-ARP <http://www.clillac-arp.univ-paris-diderot.fr/user/loic_liegeois/>
> 
> -- 
> You received this message because you are subscribed to the Google Groups "chibolts" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to chibolts+unsubscribe at googlegroups.com <mailto:chibolts+unsubscribe at googlegroups.com>.
> To view this discussion on the web visit https://groups.google.com/d/msgid/chibolts/b275c0c7-8554-4581-b244-782a2e8cda17n%40googlegroups.com <https://groups.google.com/d/msgid/chibolts/b275c0c7-8554-4581-b244-782a2e8cda17n%40googlegroups.com?utm_medium=email&utm_source=footer>.

-- 
You received this message because you are subscribed to the Google Groups "chibolts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chibolts+unsubscribe at googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/chibolts/442E9645-6465-4ABA-986E-ADEA5022F992%40andrew.cmu.edu.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listserv.linguistlist.org/pipermail/chibolts/attachments/20230130/976b4e2d/attachment-0004.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: reX2-stems.cut
Type: text/chat
Size: 8736 bytes
Desc: not available
URL: <http://listserv.linguistlist.org/pipermail/chibolts/attachments/20230130/976b4e2d/attachment-0003.bin>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listserv.linguistlist.org/pipermail/chibolts/attachments/20230130/976b4e2d/attachment-0005.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: reX2.cut
Type: text/chat
Size: 6652 bytes
Desc: not available
URL: <http://listserv.linguistlist.org/pipermail/chibolts/attachments/20230130/976b4e2d/attachment-0004.bin>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listserv.linguistlist.org/pipermail/chibolts/attachments/20230130/976b4e2d/attachment-0006.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Madeleine-050508.cha
Type: text/chat
Size: 204510 bytes
Desc: not available
URL: <http://listserv.linguistlist.org/pipermail/chibolts/attachments/20230130/976b4e2d/attachment-0005.bin>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listserv.linguistlist.org/pipermail/chibolts/attachments/20230130/976b4e2d/attachment-0007.htm>


More information about the Chibolts mailing list