10,735
edits
TheNightAvl (talk | contribs) No edit summary |
TheNightAvl (talk | contribs) No edit summary |
||
Line 14: | Line 14: | ||
-- matched against first. | -- matched against first. | ||
------------------------- | ------------------------- | ||
local | local subtopics = { | ||
['biochemistry'] = {'biology','chemistry'}, | ['biochemistry'] = {'biology','chemistry'}, | ||
['enzymes'] = 'biochemistry', | ['enzymes'] = 'biochemistry', | ||
['organic chemistry'] = 'chemistry', | ['organic chemistry'] = 'chemistry', | ||
['sugars'] = 'chemistry', | ['sugars'] = 'chemistry', | ||
['cytology'] = 'biology', | ['cytology'] = 'biology', | ||
['genetics'] = 'biology', | ['genetics'] = 'biology', | ||
Line 44: | Line 26: | ||
['physiology'] = 'biology', | ['physiology'] = 'biology', | ||
['taxonomy'] = 'biology', | ['taxonomy'] = 'biology', | ||
['phonetics'] = 'linguistics', | ['phonetics'] = 'linguistics', | ||
['phonology'] = 'linguistics', | ['phonology'] = 'linguistics', | ||
['algebra'] = 'mathematics', | ['algebra'] = 'mathematics', | ||
['arithmetic'] = 'mathematics', | ['arithmetic'] = 'mathematics', | ||
Line 53: | Line 37: | ||
['trigonometry'] = 'mathematics', | ['trigonometry'] = 'mathematics', | ||
['trigonometric functions'] = 'trigonometry', | ['trigonometric functions'] = 'trigonometry', | ||
['nuclear physics'] = 'physics', | ['nuclear physics'] = 'physics', | ||
['months'] = 'time', | ['months'] = 'time', | ||
['seasons'] = 'time', | ['seasons'] = 'time', | ||
['days'] = 'time', | ['days'] = 'time', | ||
} | |||
local pos = { | |||
"adjective", | |||
"adverb", | |||
"article", | |||
"conjunction", | |||
"determiner", | |||
"interjection", | |||
"noun", | |||
"numeral", | |||
"particle", | |||
"participle", | |||
"phrase", | |||
"postposition", | |||
"preposition", | |||
"pronoun", | |||
"proper noun", | |||
"symbol", | |||
"verb", | |||
} | } | ||
Line 416: | Line 422: | ||
-- process subtopics | -- process subtopics | ||
for subtopic, supertopics in pairs( | for subtopic, supertopics in pairs(subtopics) do | ||
local subcats = {} | local subcats = {} | ||
table.insert(subcats, "%l topics") | table.insert(subcats, "%l topics") |