An algorithm for computing the elements of a given weight of the canonical basis of a quantized enveloping algebra is described. Subsequently, a similar algorithm is presented for computing the canonical basis of a finite-dimensional module.
"Constructing canonical bases of quantized enveloping algebras." Experiment. Math. 11 (2) 161 - 170, 2002.