// Corpus POS français synthétique, rédigé pour ce carnet.
var corpus = new (string Word,string Tag)[][] {
new (string Word,string Tag)[] { ("la", "DET"), ("porte", "NOM"), ("verte", "ADJ"), ("est", "VER"), ("fermée", "ADJ"), (".", "PUNCT") },
new (string Word,string Tag)[] { ("une", "DET"), ("voile", "NOM"), ("blanche", "ADJ"), ("glisse", "VER"), ("sur", "PREP"), ("la", "DET"), ("mer", "NOM"), (".", "PUNCT") },
new (string Word,string Tag)[] { ("la", "DET"), ("coupe", "NOM"), ("dorée", "ADJ"), ("brille", "VER"), ("sur", "PREP"), ("la", "DET"), ("table", "NOM"), (".", "PUNCT") },
new (string Word,string Tag)[] { ("la", "DET"), ("garde", "NOM"), ("royale", "ADJ"), ("dort", "VER"), ("encore", "ADV"), (".", "PUNCT") },
new (string Word,string Tag)[] { ("une", "DET"), ("avance", "NOM"), ("sérieuse", "ADJ"), ("surprend", "VER"), ("la", "DET"), ("banque", "NOM"), (".", "PUNCT") },
new (string Word,string Tag)[] { ("le", "DET"), ("voile", "NOM"), ("noir", "ADJ"), ("recouvre", "VER"), ("la", "DET"), ("fenêtre", "NOM"), (".", "PUNCT") },
new (string Word,string Tag)[] { ("la", "DET"), ("porte", "NOM"), ("grince", "VER"), ("dans", "PREP"), ("la", "DET"), ("maison", "NOM"), (".", "PUNCT") },
new (string Word,string Tag)[] { ("leur", "DET"), ("garde", "NOM"), ("veille", "VER"), ("toute", "DET"), ("la", "DET"), ("nuit", "NOM"), (".", "PUNCT") },
new (string Word,string Tag)[] { ("il", "PRON"), ("porte", "VER"), ("un", "DET"), ("manteau", "NOM"), ("gris", "ADJ"), (".", "PUNCT") },
new (string Word,string Tag)[] { ("elle", "PRON"), ("voile", "VER"), ("la", "DET"), ("fenêtre", "NOM"), ("sale", "ADJ"), (".", "PUNCT") },
new (string Word,string Tag)[] { ("il", "PRON"), ("coupe", "VER"), ("la", "DET"), ("pomme", "NOM"), ("rouge", "ADJ"), (".", "PUNCT") },
new (string Word,string Tag)[] { ("il", "PRON"), ("garde", "VER"), ("la", "DET"), ("clé", "NOM"), ("précieuse", "ADJ"), (".", "PUNCT") },
new (string Word,string Tag)[] { ("elle", "PRON"), ("avance", "VER"), ("doucement", "ADV"), ("dans", "PREP"), ("le", "DET"), ("brouillard", "NOM"), (".", "PUNCT") },
new (string Word,string Tag)[] { ("la", "DET"), ("femme", "NOM"), ("porte", "VER"), ("un", "DET"), ("chapeau", "NOM"), (".", "PUNCT") },
new (string Word,string Tag)[] { ("le", "DET"), ("vent", "NOM"), ("voile", "VER"), ("les", "DET"), ("toits", "NOM"), (".", "PUNCT") },
new (string Word,string Tag)[] { ("le", "DET"), ("cuisinier", "NOM"), ("coupe", "VER"), ("le", "DET"), ("pain", "NOM"), (".", "PUNCT") },
new (string Word,string Tag)[] { ("la", "DET"), ("nourrice", "NOM"), ("garde", "VER"), ("les", "DET"), ("enfants", "NOM"), (".", "PUNCT") },
new (string Word,string Tag)[] { ("la", "DET"), ("procession", "NOM"), ("avance", "VER"), ("lentement", "ADV"), (".", "PUNCT") },
new (string Word,string Tag)[] { ("il", "PRON"), ("le", "PRON"), ("garde", "VER"), ("précieusement", "ADV"), (".", "PUNCT") },
new (string Word,string Tag)[] { ("elle", "PRON"), ("la", "PRON"), ("porte", "VER"), ("toujours", "ADV"), (".", "PUNCT") },
new (string Word,string Tag)[] { ("on", "PRON"), ("les", "PRON"), ("coupe", "VER"), ("chaque", "DET"), ("matin", "NOM"), (".", "PUNCT") },
new (string Word,string Tag)[] { ("il", "PRON"), ("la", "PRON"), ("voile", "VER"), ("encore", "ADV"), (".", "PUNCT") },
new (string Word,string Tag)[] { ("le", "DET"), ("chat", "NOM"), ("dort", "VER"), (".", "PUNCT") },
new (string Word,string Tag)[] { ("la", "DET"), ("souris", "NOM"), ("mange", "VER"), ("sans", "PREP"), ("bruit", "NOM"), (".", "PUNCT") },
new (string Word,string Tag)[] { ("un", "DET"), ("homme", "NOM"), ("lit", "VER"), ("le", "DET"), ("journal", "NOM"), (".", "PUNCT") },
new (string Word,string Tag)[] { ("elle", "PRON"), ("chante", "VER"), ("dans", "PREP"), ("la", "DET"), ("cuisine", "NOM"), (".", "PUNCT") },
new (string Word,string Tag)[] { ("le", "DET"), ("facteur", "NOM"), ("ouvre", "VER"), ("la", "DET"), ("boîte", "NOM"), ("bleue", "ADJ"), (".", "PUNCT") },
new (string Word,string Tag)[] { ("ils", "PRON"), ("observent", "VER"), ("la", "DET"), ("scène", "NOM"), (".", "PUNCT") },
new (string Word,string Tag)[] { ("la", "DET"), ("lumière", "NOM"), ("éclaire", "VER"), ("le", "DET"), ("jardin", "NOM"), (".", "PUNCT") },
new (string Word,string Tag)[] { ("un", "DET"), ("enfant", "NOM"), ("dessine", "VER"), ("sur", "PREP"), ("une", "DET"), ("page", "NOM"), ("blanche", "ADJ"), (".", "PUNCT") },
new (string Word,string Tag)[] { ("elle", "PRON"), ("ferme", "VER"), ("la", "DET"), ("fenêtre", "NOM"), (".", "PUNCT") },
new (string Word,string Tag)[] { ("le", "DET"), ("journal", "NOM"), ("annonce", "VER"), ("une", "DET"), ("réponse", "NOM"), ("claire", "ADJ"), (".", "PUNCT") },
new (string Word,string Tag)[] { ("la", "DET"), ("voile", "NOM"), ("rouge", "ADJ"), ("tourne", "VER"), (".", "PUNCT") },
new (string Word,string Tag)[] { ("elle", "PRON"), ("porte", "VER"), ("une", "DET"), ("robe", "NOM"), ("bleue", "ADJ"), (".", "PUNCT") },
new (string Word,string Tag)[] { ("il", "PRON"), ("voile", "VER"), ("la", "DET"), ("vérité", "NOM"), (".", "PUNCT") },
new (string Word,string Tag)[] { ("le", "DET"), ("garde", "NOM"), ("ferme", "VER"), ("la", "DET"), ("grille", "NOM"), (".", "PUNCT") },
new (string Word,string Tag)[] { ("elle", "PRON"), ("coupe", "VER"), ("le", "DET"), ("gazon", "NOM"), (".", "PUNCT") },
new (string Word,string Tag)[] { ("la", "DET"), ("coupe", "NOM"), ("brille", "VER"), (".", "PUNCT") },
new (string Word,string Tag)[] { ("il", "PRON"), ("la", "PRON"), ("garde", "VER"), (".", "PUNCT") },
new (string Word,string Tag)[] { ("une", "DET"), ("avance", "NOM"), ("rapide", "ADJ"), ("surprend", "VER"), (".", "PUNCT") },
new (string Word,string Tag)[] { ("le", "DET"), ("matelot", "NOM"), ("voile", "VER"), ("la", "DET"), ("voile", "NOM"), (".", "PUNCT") },
new (string Word,string Tag)[] { ("le", "DET"), ("concierge", "NOM"), ("ouvre", "VER"), ("la", "DET"), ("porte", "NOM"), ("verte", "ADJ"), (".", "PUNCT") }
};
Console.WriteLine($"Corpus : {corpus.Length} phrases, {corpus.Sum(s=>s.Length)} tokens, {corpus.SelectMany(s=>s).Select(x=>x.Word).Distinct().Count()} types, {corpus.SelectMany(s=>s).Select(x=>x.Tag).Distinct().Count()} étiquettes");