Metadata-Version: 2.4
Name: constructional-diversity
Version: 0.0.10
Summary: This is a package with which users can analyze constructional diversity, constructional complexity, and verbal diversity.
Home-page: https://pypi.org/project/constructional-diversity
Author: Haerim Hwang
Author-email: yayhaerim@gmail.com
License: MIT
Requires-Python: >=3.9
Description-Content-Type: text/markdown
Requires-Dist: more_itertools
Requires-Dist: spacy
Requires-Dist: numpy
Requires-Dist: pandas
Requires-Dist: torch
Requires-Dist: openpyxl
Dynamic: author
Dynamic: author-email
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: license
Dynamic: requires-dist
Dynamic: requires-python
Dynamic: summary

🧠 Constructional Diversity Analyzer (CDA)
	The Constructional Diversity Analyzer (CDA) is a tool designed to measure the constructional diversity, constructional complexity, and verbal diversity of English texts.


✨ Features
	CDA outputs various scores for the following indices.

	(1) Constructional diversity: Calculates root TTR (RTTR; Guiraud, 1960), Herdan’s C (or log TTR; Chotlos, 1944; Herdan, 1960), Maas’ score (Maas, 1972), moving-average type-token ratio (MATTR; Covington & McFall, 2010), hypergeometric distribution diversity index (HD-D; McCarthy & Jarvis, 2007), measure of textual lexical diversity (MTLD-Original; McCarthy, 2005; McCarthy & Jarvis, 2010), moving-average bidirectional measure of textual lexical diversity (MTLD-MA-BI; McCarthy & Jarvis, 2010), and moving-average wrapped measure of textual lexical diversity (MTLD-WRAP; McCarthy & Jarvis, 2010) based on constructions.

	(2) Constructional Complexity: Calculates the mean number of dependents as well as modifiers per construction.

	(3) Verbal Diversity: Calculates root TTR (RTTR; Guiraud, 1960), Herdan’s C (or log TTR; Chotlos, 1944; Herdan, 1960), Maas’ score (Maas, 1972), moving-average type-token ratio (MATTR; Covington & McFall, 2010), hypergeometric distribution diversity index (HD-D; McCarthy & Jarvis, 2007), measure of textual lexical diversity (MTLD-Original; McCarthy, 2005; McCarthy & Jarvis, 2010), moving-average bidirectional measure of textual lexical diversity (MTLD-MA-BI; McCarthy & Jarvis, 2010), and moving-average wrapped measure of textual lexical diversity (MTLD-WRAP; McCarthy & Jarvis, 2010) based on verbs.


📚 Construction Types
	CDA identifies and analyzes the following constructions:

	(1) Attributive construction
	(2) Caused motion construction
	(3) Ditransitive construction
	(4) Intransitive motion construction
	(5) Intransitive resultative construction
	(6) Passive construction
	(7) Simple-intransitive construction
	(8) Simple-transitive construction
	(9) There-expletive construction
	(10) Transitive resultative construction


🛠️ Built With
Kivy – for GUI development

spaCy – for natural language processing


📄 License
This project is released under the MIT License.
