CQL 1: Complex corpus searches with the Corpus Query Language

  Рет қаралды 30,835

Sketch Engine

Sketch Engine

Күн бұрын

Пікірлер: 20
@andreaantal9660
@andreaantal9660 2 жыл бұрын
This was very useful! Thanks!
@SketchEngine
@SketchEngine 2 жыл бұрын
Thank you. We are happy to hear you liked it.
@lovebts774
@lovebts774 2 жыл бұрын
I am trying to search for all sentences including "make + someone/something/nouns + Verb" and I am using this formula: [lemma = "make" ] [ ] {0,10}[tag = V.*] but I cannot find the result. Can you help me fix it? Thank you. By the way, {1.10] means any words in between 'MAKE' and ' a verb' is ok
@charlienbredefeld4392
@charlienbredefeld4392 2 жыл бұрын
I am wondering if it is possible to define a noun [tag="N.*"] that is written starting with a capital letter (I am looking at a learner corpus here). As Sketch Engine only has the uncoded corpus available, that would be my attempt to find the errors on capitilazation in English writing of learners. Also, is there a way to exclude names from the results? I could not find a tag for names.
@SketchEngine
@SketchEngine 2 жыл бұрын
This is the CQL you should use [word="[[:upper:]].*" & tag="N.*"]
@charlienbredefeld4392
@charlienbredefeld4392 2 жыл бұрын
@@SketchEngine Thanks a lot!! Is there also a way to exclude words at the start of a sentence?
@SketchEngine
@SketchEngine 2 жыл бұрын
@@charlienbredefeld4392 There should be but I do not quite understand what you mean. Can you give a concrete example of what exactly you want to find?
@charlienbredefeld4392
@charlienbredefeld4392 2 жыл бұрын
​@@SketchEngine Sure, I want to find all falsely capitalized nouns in the learner corpus. Therefore I need to exclude all proper nouns from the search and all nouns that stand at the beginning of a sentence. This is how far I have come: [word="[[:upper:]].*" & tag="N.*" & tag!="NP"] I am missing the code for "not at the beginning of the sentence" Thanks so much.
@SketchEngine
@SketchEngine 2 жыл бұрын
Not completely easy. We are thinking.....
@laurac7269
@laurac7269 6 ай бұрын
Hello! I have a question: I'm looking for N + PREP. + pierre and I'm using the cql: [tag="NOM"] [tag="PRE.*"] [lemma="pierre"] , but it's not working. Could someone help me please? PS [tag="NOM"] [ ] [lemma="pierre"] is actually working!
@ondrejmatuska8945
@ondrejmatuska8945 6 ай бұрын
Are you sure the tagset of your corpus contains the tag PREP? Please generate the result (even the empty incorrect result) in the interface and click the "Request help and support" icon in top right of the interface and type your question. This way our support team will receive the necessary additional information to be able to help.
@laurac7269
@laurac7269 6 ай бұрын
@@ondrejmatuska8945 I gave a look to the tagset and solved the problem (it’s “PRP” and not “PRE” as I originally typed ). Thanks :)
@laurac7269
@laurac7269 6 ай бұрын
@@ondrejmatuska8945 there is a mistake in the values Sketch Engine. The right tag for prepositions is PRP! I’ve reported it.
@ondrejmatuska8945
@ondrejmatuska8945 6 ай бұрын
@@laurac7269 When working with tags, it is always useful to refger to the corpus infor page which shows the tags for the corpus. The tagsets may differ between corpora, especially if you use some less common corpora such as historical corpora.
@emmajuul4592
@emmajuul4592 Жыл бұрын
Hi. I am working on this search: [word="som"][tag="P.*"][tag="N.*"][tag="P.*"][lemma="være"] (in Danish, but I don't think it matters for my question). How do I exclude examples/results, where a new sentence or paragraph begins after the noun? I am searching for results without a full stop "." between the noun and the pronoun. If my question needs to be specified, please say so. Thank you in advance :-)
@SketchEngine
@SketchEngine Жыл бұрын
You should use the within operator as explained in another video here: kzbin.info/www/bejne/nWisqK2Ng9-bd6s
@atikhomthienthong416
@atikhomthienthong416 5 жыл бұрын
I want to identify passive structures. How should I do?
@SketchEngine
@SketchEngine 5 жыл бұрын
Sorry for the late reply. There is no magic button to find passive structures, you have to use CQL to search for be + -ed or similar. Please email support@sketchneinge.eu if you need more help.
Using Corpus Query Language (CQL) for the first time in Sketch Engine
11:27
Маусымашар-2023 / Гала-концерт / АТУ қоштасу
1:27:35
Jaidarman OFFICIAL / JCI
Рет қаралды 390 М.
Word sketch - analyse collocations in a corpus
4:01
Sketch Engine
Рет қаралды 29 М.
Mindset of Successful Programmers
4:56
bigboxSWE
Рет қаралды 1,2 МЛН
Google's 9 Hour AI Prompt Engineering Course In 20 Minutes
20:17
Tina Huang
Рет қаралды 173 М.
A visual guide to Bayesian thinking
11:25
Julia Galef
Рет қаралды 1,9 МЛН
Build a corpus from the web
5:25
Sketch Engine
Рет қаралды 32 М.
Маусымашар-2023 / Гала-концерт / АТУ қоштасу
1:27:35
Jaidarman OFFICIAL / JCI
Рет қаралды 390 М.