Skip to content

avoid class between Tag as class and Tag as type #33

@andrewufrank

Description

@andrewufrank

I have difficulties using chatter when I extend it with other POS tags and had to copy the data Tag .. verbatim to my code. The name tag is used multiple times, first as class and then as type in Conll and Brown. Exporting Tag(..) from NLP.Types and NLP.Corpora.Conll produces the clash.

I would recommend to change the class name as Tags and to change the type names to ConllTag and BrownTag.
(by the way, in NLP.Corpora.Conll there are two qualified imports as T (Data.Text and NLP.Types.Tags))
thank you!
andrew

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions