from typing import Any


def parts_of_speech_categorize(postag_transcript: list) -> tuple[Any, Any, Any, Any, Any, Any, Any, Any]:
    """
    Iterates through the tokenized, POS (Part Of Speech) assigned transcript
    :param postag_transcript: Transcript file tokenized and assigned a POS label by the nltk package.
    :return: Returns a tuple, each index of which contains a list of words that pertain to a given POS.
    """
    nouns, verbs, adjectives, adverbs, prepositions, determiners, pronouns, conjunctions = [[]]*8
    for item in postag_transcript:
        word = item[0]
        POS = item[1]
        if POS in ['NN', 'NNS', 'NNP', 'NNPS']:
            nouns.append(word)
        elif POS in ['VB', 'VBG', 'VBN', 'VBP', 'VBD', 'VBZ']:
            verbs.append(word)
        elif POS in ['JJ', 'JJR', 'JJS']:
            adjectives.append(word)
        elif POS == 'IN':
            prepositions.append(word)
        elif POS == 'DT':
            determiners.append(word)
        elif POS == 'CC':
            conjunctions.append(word)
        elif POS in ['PRP', 'PRP$']:
            pronouns.append(word)
        elif POS in ['RB', 'RBR', 'RBS']:
            adverbs.append(word)
    return nouns, verbs, adjectives, adverbs, prepositions, determiners, pronouns, conjunctions