neelsmith / latin-corpus

Citable corpus of texts in Latin
4 stars 1 forks source link

On `LatinCorpus`, the `lexicalToken` method is broken #34

Closed neelsmith closed 4 years ago

neelsmith commented 4 years ago

Returning an empty Vector.

One correct implementation could just be

lc.tokens.filter(t => t.category == edu.holycross.shot.latin.LexicalToken)
neelsmith commented 4 years ago

fixed in 2.2.2