Open another-helpful-user opened 1 year ago
Hey @another-helpful-user - sorry for being late to reply to this, I missed it before.
I'm not quite sure I understand the questions - in terms of search terms, there are several examples on the tutorials / documentation that cover different kinds of searches: https://lisc-tools.github.io/lisc/auto_tutorials/index.html
If this doesn't answer your request, could you provide an example of what you are trying to search for?
Hello Tom, Is it possible to have more than one inclusion on a term?
Meaning: Term: (A) Inclusion: (B) Inclusion: (C)
(A) AND (B) AND (C)
Thank you.
Hey @JoaoPimenta88 - yeh, you can add more than one inclusion per term, just add them as a list of inclusions, and they should all be joined together with 'AND'. You can see an overview of term construction here - in the inclusions part try out adding extra terms and double check that it works as expected.
I created a list of inclusions but it adds them with OR instead of AND.
terms = [['cars']] base = Base() base.add_terms(terms) inclusions = [['wheels','colour','year']] base.add_terms(inclusions, 'inclusions') base.check_terms() print(base.make_search_term(0))
Output: ("cars")AND("wheels"OR"colour"OR"year")
Hello, thank you for the nice package and documentation!
I managed to search for co-occurences using the pattern terms =[[A],[B] inclusions=[C] coming to a search string of "(A) AND (B) AND (C)".
How can I design a word search with the same search string? So far I only managed "(A) OR (B) AND (C)" or "(A) AND (B or C)" via inclusions. I can then get the dois from the result and find overlaps, but that's rather annoying and not within the package framework.
Any help is appreciated.