Hi Danil, >> Just transform your input like "brown fox" into "ADJ:brown|<your >> payload> NOUN:fox|<other payload>" > > I understand that this denotes "ADJ" and "NOUN" to be interpreted as the > actual token and "brown" and "fox" as payloads (followed by <other > payload>), right?
Sorry for replying to myself, but I've realised only now that you probably meant to replace the full token string ("brown") by "ADJ:brown" and use the payload otherwise, right? Regarding incoming queries, this method makes it necessary to perform a Wildcard query (e.g. "NOUN:*") when I am not interested in the actual text ("brown") -- which may happen more or less frequently -- am I right? However, this might be an acceptable trade-off... Best regards, Carsten -- Institut für Deutsche Sprache | http://www.ids-mannheim.de Projekt KorAP | http://korap.ids-mannheim.de Tel. +49-(0)621-43740789 | schno...@ids-mannheim.de Korpusanalyseplattform der nächsten Generation Next Generation Corpus Analysis Platform --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org