Language documentation and language typology