unitedstates / glossary

A glossary for the United States.
Creative Commons Zero v1.0 Universal
42 stars 13 forks source link

Allow tagging or some other sort of categorization #3

Open arowla opened 11 years ago

arowla commented 11 years ago

We need a way to distinguish words from different subject areas. What if a word has different definitions in more than one subject area?

konklone commented 11 years ago

Agreed. I was thinking about a "Tags: one, two, three" at the bottom of an entry, that our parser would read in as an array. This wouldn't be enough to enable multiple context-specific definitions for a term, but it would allow basic categorization.

I was also thinking of at some point introducing real namespaces, like "congress", represented as directories, which would allow multiple definitions of a term, but I was hoping to wait until that was a pain point, since it'd up the complexity of the system.

gregelin commented 11 years ago

I definitely think tagging should be kept at the bottom of a definition.

konklone commented 10 years ago

I agree - though I am (probably temporarily) moving the terms imported from the State Decoded into a "legal" directory, and the congressional terms into a "congress" directory. Until things stabilize, it's easier for me to iterate on the Congress terms and test out formats without them blending into the mass of imported stuff. It also may be an indicator that there's a need for one level of hierarchy, and tagging for other kinds of grouping -- and maybe not.