# look up frequencies for the word "aber"
query(LCC.data, var="word", query="aber")
# show all entries with a frequency of exactly 3000 in the corpus
query(LCC.data, "freq", 3000)
# now, which words appear more than 40000 times in a million?
query(LCC.data, "pmio", 40000, "gt")
# example for a range request: words with a log10 between 2 and 2.1
# (including these two values)
query(LCC.data, "log10", c(2, 2.1))
# (and without them)
query(LCC.data, "log10", c(2, 2.1), "gt")
# get all "he" lemmata in a previously tagged text object
query(tagged.txt, "lemma", "he")
Run the code above in your browser using DataLab