Featured controls
From Impure Wiki
Contents |
RemarkableWords
This control offers a simple but powerful method to get quick insights from long bodies of text. It will extract the most relevant words from a particular text, based on the combination of two measures: how many times does a word appear in the text, and how common that word is in the text's language. The exact formula for the calculation of word remarkableness is
- frequency_of_word_in_text / (frequency_of_word_in_corpus+1)
Currently, two languages are supported: English (EN) and Spanish (SP). When you first place it on the stage, it will load the frequent words list for the language you choose (default is English) as obtained from these sources:
Using this operator you can quickly represent any text as a tag cloud for a view of its most relevant concepts. See a practical example that uses CirclesTagCloud as visualizator in the tutorials section.
SyntacticTextFilter
This is doubtlessly one of the most advanced modules in Impure. It performs very complex operations on texts. It is also aimed at advanced users: some previous knowledge and browsing of the documentation is required to take full advantage of it.
This control tags words according to their syntactical functions. You can identify verbs, nouns, adjectives, and many more specific categories with it. There is a standard codification to refer to each of them: for example, VB for verbs, NN for nouns, JJ for adjectives, etc. The second inlet will take one of these strings as a value. It is called the 'filter' parameter.
This codification is called the Pennsylvania Treebank Tag-set and is described in detail here
SemanticTextAnalyzer
ExponentialConvergence
This control brings continuity to transitions in vector structures. This is commonly known as tweening between a starting and a destination state.
You can, for example, transition between a smaller rectangle and a bigger one, in such a way that it grows little by little instead of jumping abruptly from one size to the other.
Accumulation
Confluence
This control receives two Objects. Whenever one of this objects change the output become this Object. This control is useful when you want to have two different selection criteria. Imagine two ways of object selection (a List selector and Network visualizator which allows node selection).
FileWrite
This control allows Impure to write images and text to the local file system.
In the following example we use Impure to generate a CSV containing some cities with their geo location:
6 String Barcelona 173 174 7 String New York 170 228 8 String Dehli 169 278 13 Number 100 650 298 15 String y 173 462 16 String x 175 354 9 listAssembler5 274 189 12 tableToCsv 609 351 14 getPropertyValuesFromList 343 488 17 getPropertyValuesFromList 349 356 18 listAssembler5 508 333 3 GeocoderMultiGoogleMaps 368 184 2 FileWrite 721 565 11 TableVisualizator 732 201 375 141 6 9 7 9 1 8 9 2 9 3 12 2 13 11 1 16 17 1 15 14 1 3 17 3 14 9 18 17 18 1 14 18 2 18 11 18 12
This example uses impure to save an image of a video captured by a camera:
0 VideoCameraControl 516 109 2 FileWrite 851 224 1 BitmapDataSimpleVisualizator 517 302 341 257 0 1 0 2
ExcelTableLoader
This is another control that enhances connectivity with your local file system. With ExcelTableLoader you can import your Excel files into impure, converting them to a Table.
4 Interval 0,4 415 487 5 Interval 50,200 451 374 7 TableVisualizator 779 356 254 167 3 IntSelector 522 501 8 ExcelTableLoader 496 222 6 SimpleScroll 530 354 10 100 6 7 1 4 3 3 7 4 5 6 8 7
