Transforming Hidden States into Binary Semantic Features