NER and POS Tagging Annotation using One Prodigy User Interface

Hi @sigitpurnomo,

Thanks for detailed descriptions!

The problem here is that pos_manual UI uses ner_manual UI under the hood and the they both refer to the same text object.

The best way to combine ner_manual and pos_manual UIs and keep them independent would be via pages UI.
I've written a very similar recipe in this post. Could you check if the solution there could work for you?
Also, let me know if you need help adapting it. I suppose you would just need to add a function for creating the NER page instead of the choice page:

def create_ner_page(text: str, tokens: List[Dict],labels: List[str]) -> Dict[str, Any]:
    """Create a single page configuration with the given parameters."""
    page = {
        "text": text,
        "tokens": tokens,
        "view_id": "ner_manual",
        "config": {
            "labels": labels
        }
    }
    return set_hashes(page)