thomasxwright / Feather-Trace

1 stars 0 forks source link

Abbreviated descriptions for birds can skip the name of the bird. #17

Open thomasxwright opened 1 year ago

thomasxwright commented 1 year ago

General descriptions always seem to start with "[Name of bird] is "

in an abbreviated card, that wastes critical space. Chop it out with some code kinda like

descrip.map(descr => descr.split(' is ').slice(1).join(' is '))

(except run a check to make sure this isn't grabbing a segment in like the third sentence of the description LOL)

thomasxwright commented 1 year ago

Implemented, but some birds are extinct. their first sentence is in past tense and therefore isn't recognized by that formula.