This paper presents a novel algorithm for topic modeling that integrates expert opinion, using a new data structure called tdag to improve the arrangement of topic assignments from traditional models like NMF and LDA. The effectiveness of this approach is evaluated based on coherence and the alignment with expert opinions, with experimental results showing adjustments made to improve topic accuracy. The study includes theoretical proofs and practical experiments, showcasing potential for enhancing topic modeling and recommendations for future research directions.