How bills are tagged 16 topics
Every topic has keyword rules. A rule that matches the lead of a bill's official title (the text before the first semicolon) scores 3, a match elsewhere in the title scores 1, and a match on the name of a committee the bill was referred to scores 2. A bill gets a topic when its score is 2 or more; its highest-scoring topic is its main topic. The rules are OK Capitol Guide's 16-topic taxonomy, matched case-insensitively on whole words and word stems.
| Topic | Title keywords | Committee keywords |
|---|---|---|
| Budget & taxes | revenue and taxation, income tax, sales (and use )?tax, ad valorem, tax credits?, excise tax, taxation, appropriations?, budget, public finance, state fiscal, tax exemption, gross production | appropriations, revenue and taxation, finance, appr/sub |
| Schools (K-12) | schools?, education, teachers?, students?, charter schools?, school district, curriculum, special education, strong readers, state board of education, state department of education, school funding, parental choice | common education, education( oversight)?, education subcommittee |
| Higher education & workforce | higher education, regents, universit(y|ies), colleges?, career ?(and )?tech(nology)?, workforce, higher learning access, apprentice, oklahoma's promise, scholarships? | higher education, postsecondary, workforce |
| Health & mental health | health, medicaid, mental health, hospitals?, pharmac(y|ist|ies), nursing, medical(?! marijuana), long-term care, abortion, prescription, substance abuse, emergency medical, physicians?, dental, vaccin, health care authority | health, public health, long-term care |
| Criminal justice & public safety | crimes?, criminal, prisons?, corrections, law enforcement, police, sheriffs?, firearms?, self-defense, controlled dangerous, domestic (violence|abuse), human trafficking, sex offenders?, driving under the influence, pardon, parole, assault, larceny, juvenile, public safety, victim, bureau of investigation, emergency management, firefighters? | criminal, public safety, judiciary - criminal, corrections |
| Courts & civil law | civil procedure, courts?, torts?, damages, probate, wills, guardian and ward, marriage, divorce, child custody, landlord, contracts?, liens?, property, eminent domain, jurors?, notar(y|ies), trusts, tort claims, judges?, district attorneys?, evidence | civil judiciary, judiciary, judiciary - civil |
| Elections & ethics | elections?, voters?, absentee, ballots?, initiative and referendum, initiative petition, ethics, campaign, legislative districts, open meeting, open records, election board | elections, ethics |
| State government & agencies | state government, state agenc, administrative procedures, administrative rules, sunset, state employees?, retirement, pension, office of management, omes, capitol, constitution(al)?, state property, public buildings, records, rules, governor, legislature, statutes and reports, oklahoma constitution, state powers, federal, tribal, tribes?, compacts?, sovereign | government, retirement, rules, state powers, administrative rules, pensions |
| Cities, towns & counties | count(y|ies), cities, towns?, municipal(ities|ity)?, city, fire protection district, libraries, county officers, county commissioners, county sheriffs | county and municipal, local and county |
| Environment, water & wildlife | environment, waters?, wildlife, game and fish, state parks, conservation, biosolids, mines, mining, natural resources, public lands, animals?, hunting, fishing, environmental quality, water resources, pollution, flood | wildlife, natural resources |
| Energy & utilities | oil and gas, energy, corporation commission, public utilit, utilities, wind energy, solar, nuclear, pipelines?, electric, gross production, petroleum, natural gas | energy, utilities |
| Agriculture & rural life | agricultur, farm, ranch, livestock, cattle, rural, veterinar, hemp, food, poultry, meat, crops? | agriculture, rural |
| Transportation & vehicles | motor vehicles?, transportation, turnpikes?, roads?, bridges?, highways?, driver licen[sc]es?, license plates, railroads?, aircraft, airports?, aeronautic, motor carriers?, service oklahoma, traffic | transportation, aeronautics |
| Children, families & social services | children, child, famil(y|ies), human services, poor persons, foster, child care, adoption, public assistance, disabilit, blind, aging, seniors?, parental rights, children's code, juvenile code, developmental | children, human services, family |
| Veterans & military | veterans?, militia, national guard, soldiers and sailors, military, armed forces | veteran |
| Business, jobs & the economy | labor, workers'? compensation, employ(er|ee|ment)s?, economic development, corporations, commerce, business, professions and occupations, consumer, securities, commercial code, banks?, banking, financial institutions, insurance, minimum wage, tourism, credit, aerospace, artificial intelligence, technology, social media, cybersecurity, broadband | business, commerce, economic development, banking, insurance, technology, tourism |
Tags are a reading aid, not an official subject index; a bill can be tagged into a topic it only touches. Industries use the same method with their own rules (Industries).