Rewrite the initializeTagDict function