fix bug, trim end need minus 1
change label_extraction prototype
fix bug, initial code put wrong place
change nodeutil get text method
add text node ratio is 1.0f
add debug information for text node