How to fade out data in the result?
Find more posts tagged with
Sort by:
1 - 4 of
41
Hi Sebastian,
thanks for your answer!
But I think your description doesn't solve my problem...
Today I found the operator FeatureNameFilter. Is it possible to skip all features with "skip_features_with_name" (Which expression is needed here?) and to except special features with "except_features_with_name" (Which seperator do I need to write several features in the input field?)?
Or is there another operator where I can select features (words) which I only want to get back in the result?
As yet I only foundf operators to skip features/words from the result. But I need an operator where I can say which features/words I want to get back in the result.
Greetings,
Ina
thanks for your answer!
But I think your description doesn't solve my problem...
Today I found the operator FeatureNameFilter. Is it possible to skip all features with "skip_features_with_name" (Which expression is needed here?) and to except special features with "except_features_with_name" (Which seperator do I need to write several features in the input field?)?
Or is there another operator where I can select features (words) which I only want to get back in the result?
As yet I only foundf operators to skip features/words from the result. But I need an operator where I can say which features/words I want to get back in the result.
Greetings,
Ina
Hi Ina,
ok, now I understand what you are going to do. The operator "AttributeFilter": It allows to select, which attributes should be kept. Therefore you switch the condition_class to "attribute_name_filter" and then enumerate each attribute name in the parameter_string field, separated by a pipe: |
If you want to catch several equal attributes, you might use regular expressions to specify them. Please do a quick google search for understanding regular expressions. Or search this forum, if I recall correctly someone has posted a link on a good tutorial a few weeks ago.
Sebastian
ok, now I understand what you are going to do. The operator "AttributeFilter": It allows to select, which attributes should be kept. Therefore you switch the condition_class to "attribute_name_filter" and then enumerate each attribute name in the parameter_string field, separated by a pipe: |
If you want to catch several equal attributes, you might use regular expressions to specify them. Please do a quick google search for understanding regular expressions. Or search this forum, if I recall correctly someone has posted a link on a good tutorial a few weeks ago.
<operator name="Root" class="Process" expanded="yes">Greetings,
<operator name="AttributeFilter" class="AttributeFilter">
<parameter key="condition_class" value="attribute_name_filter"/>
<parameter key="parameter_string" value="att1|att2|att.*"/>
</operator>
</operator>
Sebastian
if I understood you correctly, you are going to filter the resulting wordlist? If it's only for viewing purposes, you could use a process like this: It first imports the texts and writes the WordList as file. This wordlist is then read in as ExampleSet. You now have all the abilities to filter the wordlist as for normal exampleSets. For example you could use the ExampleFilter in the way described above. It will keep only examples, with the specified attribute matching the given regular expression.
Greetings,
Sebastian