Tool in Mylly: Relation algebra / Join | fi
Join of relations
Join takes two relations and produces the set of combinations of their attributes where the shared attributes match.
The input and output relations are represented as TSV files.
The first input relation consists of some word forms annotated with a lemma, a sentence number, and a token number. The second input relation consists of sentence numbers annotated with the mood of a sentence.
The output relation consists of those word forms in the first input relation that had their sentence number in the second input relation (all of them), still annotated with their token and sentence numbers and lemmas, and now also with the mood of the sentence.
- Relation algebra for context