User:Krinkle/Indonesia cat-matrix/indocat.py

topics = [
          (u'Buildings', u'in', u''),
              (u'Houses', u'in', u'Buildings'),
          (u'Culture', u'of', u''),
          (u'Roads', u'in', u''),
              (u'Streets', u'in', u'Roads'),
          (u'Transport infrastructure', u'in', u''),
              (u'Bridges', u'in', u'Transport infrastructure'),
          (u'Economy', u'of', u''),
              (u'Agriculture', u'in', u'Economy'),
          (u'People', u'of', u''),
              (u'Men', u'of', u'People'),
              (u'Women', u'of', u'People'),
          (u'Geography', u'of', u''),
              (u'Bays', u'of', u'Geography'),
              (u'Beaches', u'of', u'Geography'),
              (u'Coasts', u'of', u'Geography'),
              (u'Lakes', u'of', u'Geography'),
              (u'Mountains', u'of', u'Geography'),
              (u'Rivers', u'of', u'Geography'),
              (u'Seas', u'of', u'Geography'),
              (u'Valleys', u'of', u'Geography'),
              (u'Villages', u'in', u'Geography'),
          (u'Nature', u'of', u''),
              (u'Animals', u'of', u'Nature'),
              (u'Flora', u'of', u'Nature'),
          ]

locations = [
             (u'Sumatra', u'', u'Indonesia', u''),
                 (u'Aceh', u'', u'Sumatra', u''),
                 (u'North Sumatra', u'', u'Sumatra', u''),
                 (u'West Sumatra', u'', u'Sumatra', u''),
                 (u'Bengkulu (province)', u'', u'Sumatra', u''),
                 (u'Riau', u'', u'Sumatra', u''),
                 (u'Lampung', u'', u'Sumatra', u''),
             (u'Java', u'', u'Indonesia', u''),
                 (u'Jakarta', u'', u'Java', u''),
                 (u'West Java', u'', u'Java', u''),
                 (u'East Java', u'', u'Java', u''),
                 (u'Banten', u'', u'Java', u''),
                 (u'Yogyakarta', u'', u'Java', u''),            
                 (u'Central Java', u'', u'Java', u''),
             (u'Kalimantan', u'', u'Indonesia', u''),
                 (u'West Kalimantan', u'', u'Kalimantan', u''),
                 (u'Central Kalimantan', u'', u'Kalimantan', u''),
                 (u'East Kalimantan', u'', u'Kalimantan', u''),
                 (u'South Kalimantan', u'', u'Kalimantan', u''),
             (u'Lesser Sunda Islands', u'the', u'Indonesia', u''),
                 (u'Bali', u'', u'Lesser Sunda Islands', u'the'),
             (u'Sulawesi', u'', u'Indonesia', u''),
                 (u'West Sulawesi', u'', u'Sulawesi', u''),
                 (u'North Sulawesi', u'', u'Sulawesi', u''),
                 (u'Central Sulawesi', u'', u'Sulawesi', u''),
                 (u'South Sulawesi', u'', u'Sulawesi', u''),
                 (u'South East Sulawesi', u'', u'Sulawesi', u''),
                 (u'Gorontalo (province)', u'', u'Sulawesi', u''),
             ]