Automatic tagging of an Arabic corpus using APT