feat(autotag) refine rules

This commit is contained in:
SansGuidon 2025-01-18 06:42:46 +00:00
parent c0b474aebb
commit feb256db3c

View File

@ -17,10 +17,8 @@ function auto_tag_plugin_init(ConfigManager $conf)
'archive,archiving,archives,archivage' => 'archiving,archives', 'archive,archiving,archives,archivage' => 'archiving,archives',
'art,arts' => 'culture', 'art,arts' => 'culture',
'ask hn,news.ycombinator.com/item,reddit.com/r/' => 'debate', 'ask hn,news.ycombinator.com/item,reddit.com/r/' => 'debate',
'audio,audiofiles,fichiers audio' => 'audio',
'autism,autisme,autist,autiste' => 'autism', 'autism,autisme,autist,autiste' => 'autism',
'automation,automate,automatisation,automatic,scripting,terminal,bash script,script python,python script,lua,script shell,script bash,shell script' => 'scripting,automation', 'automation,automate,automatisation,automatic,scripting,terminal,bash script,script python,python script,lua,script shell,script bash,shell script' => 'scripting,automation',
'beauty,beau,beauté,imperfection,imperfections' => 'beauty,imperfection',
'belgian,belgium,belge,belgique' => 'belgium', 'belgian,belgium,belge,belgique' => 'belgium',
'board game,board games,boardgame,jeu de société,jeux de société' => 'board-games,geek', 'board game,board games,boardgame,jeu de société,jeux de société' => 'board-games,geek',
'bookmarks,favoris,signets' => 'bookmarks-management', 'bookmarks,favoris,signets' => 'bookmarks-management',
@ -60,7 +58,7 @@ function auto_tag_plugin_init(ConfigManager $conf)
'espresso,coffee,café' => 'coffee', 'espresso,coffee,café' => 'coffee',
'ethic,ethique,ethics' => 'ethics', 'ethic,ethique,ethics' => 'ethics',
'explor,going deep,exploration' => 'discovery', 'explor,going deep,exploration' => 'discovery',
'fediverse,unsafe,liberté,fédivers' => 'privacy-and-security,freedom,social-media', 'fediverse,unsafe,liberté,fédiverse' => 'privacy-and-security,freedom,social-media',
'libre,free,liberté' => 'freedom', 'libre,free,liberté' => 'freedom',
'logiciel libre,free software,logiciel gratuit,free to use' => 'free-software', 'logiciel libre,free software,logiciel gratuit,free to use' => 'free-software',
'from home,remote work,work remote,travail à distance,télétravail' => 'remote-work', 'from home,remote work,work remote,travail à distance,télétravail' => 'remote-work',
@ -95,9 +93,9 @@ function auto_tag_plugin_init(ConfigManager $conf)
'open-source,open source,code source libre' => 'open-source,free', 'open-source,open source,code source libre' => 'open-source,free',
'optimize,optimization,speed up,an efficient,optimiser,optimisation' => 'optimization', 'optimize,optimization,speed up,an efficient,optimiser,optimisation' => 'optimization',
'philosoph,philosophie' => 'philosophy', 'philosoph,philosophie' => 'philosophy',
'photography,photos,photographie' => 'photography,photos', 'photography,photos,photographie' => 'photos',
'podcast,podcasts' => 'podcast', 'podcast,podcasts' => 'podcast',
'ego,narciss,narcissisme' => 'psychology,ego', 'ego,narcissism,narcissist,narcissisme' => 'psychology',
'psycholog,psychologie' => 'psychology', 'psycholog,psychologie' => 'psychology',
'voting,politic,politique,vote' => 'politics', 'voting,politic,politique,vote' => 'politics',
'python,logiciels en python' => 'python,software-development,code', 'python,logiciels en python' => 'python,software-development,code',
@ -107,7 +105,7 @@ function auto_tag_plugin_init(ConfigManager $conf)
'quality,qualité' => 'quality', 'quality,qualité' => 'quality',
'recommandations,recommendation,conseils' => 'recommandations,recommendations', 'recommandations,recommendation,conseils' => 'recommandations,recommendations',
'recycling,sustainable,green web,climate,recyclage,web écologique,climat,car bloat,environmenta,environmentally,plasic waste' => 'ecology', 'recycling,sustainable,green web,climate,recyclage,web écologique,climat,car bloat,environmenta,environmentally,plasic waste' => 'ecology',
'religion,chretiens,bible,coran,islam,musulmans,croyants,athée,la foi,église' => 'religion', 'religion,chretiens,bible,coran,islam,musulmans,croyants,athée,la foi,église' => 'philosophy',
'reviews,critique,avis' => 'reviews', 'reviews,critique,avis' => 'reviews',
'rss,rss feed,miniflux,web reader,lecteur web' => 'content-aggregation,content-curation', 'rss,rss feed,miniflux,web reader,lecteur web' => 'content-aggregation,content-curation',
'ruby,rails app,applications ruby' => 'ruby,software-development,code', 'ruby,rails app,applications ruby' => 'ruby,software-development,code',
@ -117,13 +115,13 @@ function auto_tag_plugin_init(ConfigManager $conf)
'security,permission,sécurité,secure,privacy,private,degoogl,gdpr,data protection,online tracking,user profiling,anonymo,anonymi,surveillance,malware,spyware,decentrali,secrets,privacy matters,vpn,passkey,protéger' => 'privacy-and-security', 'security,permission,sécurité,secure,privacy,private,degoogl,gdpr,data protection,online tracking,user profiling,anonymo,anonymi,surveillance,malware,spyware,decentrali,secrets,privacy matters,vpn,passkey,protéger' => 'privacy-and-security',
'simplicity,minimal,declutter,stopped using,simple,simplification,simplifier,reduction in,no longer needed,minimalisme,simplicité,réduction' => 'minimalism', 'simplicity,minimal,declutter,stopped using,simple,simplification,simplifier,reduction in,no longer needed,minimalisme,simplicité,réduction' => 'minimalism',
'small web,indie web,indieweb,petit web' => 'small-web', 'small web,indie web,indieweb,petit web' => 'small-web',
'smartphone,android,mobile,phone,téléphone,portables' => 'mobile', 'smartphone,android,mobile,phone,téléphone,sms' => 'mobile',
'snippet,extrait de code' => 'code', 'snippet,extrait de code' => 'code',
'static site,static-site,site statique' => 'static-site,static-web', 'static site,static-site,site statique' => 'static-site,static-web',
'teamwork,collaborat,équipe,cooperat,coordinat,travail équipe' => 'collaboration', 'teamwork,collaborat,équipe,cooperat,coordinat,travail équipe' => 'collaboration',
'technology,technologie' => 'technology', 'technology,technologie' => 'technology',
'template,modèle' => 'template', 'template,modèle' => 'template',
'terminal,tools-and-resources' => 'terminal,tools-and-resources', 'terminal,tools-and-resources,terminaltrove' => 'terminal,tools-and-resources',
'test,tester' => 'testing', 'test,tester' => 'testing',
'text-based,plaintext,markup language,markdown,plain text,basé sur du texte,langage balisé' => 'plaintext,minimalism,formats,text-files', 'text-based,plaintext,markup language,markdown,plain text,basé sur du texte,langage balisé' => 'plaintext,minimalism,formats,text-files',
'time to update,maintainers,tech-debt,legacy code,long term software,temps pour mettre à jour' => 'maintenance,tech-debt', 'time to update,maintainers,tech-debt,legacy code,long term software,temps pour mettre à jour' => 'maintenance,tech-debt',