Use word id to construct DicNode instead of isTerminal flag.

Bug: 14425059
Change-Id: I8484d34756bd76668ece34211e7366a4758d7bf5
11 files changed