But both of them creates lots of NLP related datapoints such as POS, NER. I don't want to store any information but use them in cypher query. Can you please help me on how it could be achieved? Eg: "credits" -> "credit"
You could take different words and get the lemma with spacy. You can do an APOC and it receives a parameter, the word and the result will be the lemma.
Just to check if my understanding is correct - You are asking me create a model kinda object and perform lookup everytime, I need a lemma of the keyword from the model?
To paraphrase my question:
I'm making a dynamic cypher query, which in-takes a set of words (generally for 5 words) and finds out their lemma of individual words and which is required for further processing.
For example: "Best offers for vacation this summer"
Output interested: ['Best', 'offer', 'for', 'vacation', 'this', 'summer']