Refactored learning model serialization, renamed tagging model (onf -> wsj), fixed tests.