Linguistics began to be studied systematically by the Indian scholar P?nini in the 6th century BCE. Beginning around the 4th century BCE, Warring States period China also developed its own grammatical traditions. Aristotle laid the foundation of Western linguistics as part of the study of rhetoric in his Poetics ca. 335 BC. Traditions of Arabic grammar and Hebrew grammar developed during the Middle Ages in a religious context like P?nini's Sanskrit grammar.
Modern approaches began to develop in the 18th century when the classical discipline of rhetoric was gradually removed. During the 19th century, linguistics came to be regarded as belonging to either psychology or biology, and such views remain the foundation of today's mainstream Anglo-American linguistics. They were however contested in the early 20th century by Ferdinand de Saussure who established linguistics as an autonomous discipline within social sciences. Following Saussure's concept, general linguistics consists of the study of language as a semiotic system which includes the subfields of phonology, morphology, syntax, and semantics. The linguist's approach to these can be synchronic or diachronic.
Today, linguistics is considered as relating to a large number of scientific approaches and is further split into several subfields including applied linguistics, psycholinguistics, sociolinguistics, computational linguistics, and so on.
Across cultures, the early history of linguistics is associated with a need to disambiguate discourse, especially for ritual texts or arguments. This often led to explorations of sound-meaning mappings, and the debate over conventional versus naturalistic origins for these symbols. Finally, this led to the processes by which larger structures are formed from units.
The earliest linguistic texts - written in cuneiform on clay tablets - date almost four thousand years before the present. In the early centuries of the second millennium BCE, in southern Mesopotamia, there arose a grammatical tradition that lasted more than 2,500 years. The linguistic texts from the earliest parts of the tradition were lists of nouns in Sumerian (a language isolate, that is, a language with no known genetic relatives), the language of religious and legal texts at the time. Sumerian was being replaced in everyday speech by a very different (and unrelated) language, Akkadian; it remained however as a language of prestige and continued to be used in religious and legal contexts. It therefore had to be taught as a foreign language, and to facilitate this, information about Sumerian was recorded in writing by Akkadian-speaking scribes.
Over the centuries, the lists became standardised, and the Sumerian words were provided with Akkadian translations. Ultimately texts emerged that gave Akkadian equivalents for not just single words, but for entire paradigms of varying forms for words: one text, for instance, has 227 different forms of the verb ?ar "to place".
Linguistics in ancient India derives its impetus from the need to correctly recite and interpret the Vedic texts. Already in the oldest Indian text, the Rigveda, v?k ("speech") is deified. By 1200 BCE, the oral performance of these texts becomes standardized, and treatises on ritual recitation suggest splitting up the Sanskrit compounds into words, stems, and phonetic units, providing an impetus for morphology and phonetics.
Some of the earliest activities in the description of language have been attributed to the Indian grammarian Pini (6th century BCE), who wrote a rule-based description of the Sanskrit language in his Adhy?y?.
Over the next few centuries, clarity was reached in the organization of sound units, and the stop consonants were organized in a 5x5 square (c. 800 BCE, Pratisakhyas), eventually leading to a systematic alphabet, Br?hm?, by the 3rd century BCE.
In semantics, the early Sanskrit grammarian kayana (before c. 500 BCE) proposes that verbs represent ontologically prior categories, and that all nouns are etymologically derived from actions. The etymologist Y?ska (c. 5th century BCE) posits that meaning inheres in the sentence, and that word meanings are derived based on sentential usage. He also provides four categories of words--nouns, verbs, pre-verbs, and particles/invariants--and a test for nouns both concrete and abstract: words which can be indicated by the pronoun that.
Pini (c. 6th century BCE) opposes the Y?ska view that sentences are primary, and proposes a grammar for composing semantics from morphemic roots. Transcending the ritual text to consider living language, Pini specifies a comprehensive set of about 4,000 aphoristic rules (sutras) that:
In addition, the Pinian school also provides a list of 2000 verb roots which form the objects on which these rules are applied, a list of sounds (the so-called Shiva-sutras), and a list of 260 words not derivable by the rules.
The extremely succinct specification of these rules and their complex interactions led to considerable commentary and extrapolation over the following centuries. The phonological structure includes defining a notion of sound universals similar to the modern phoneme, the systematization of consonants based on oral cavity constriction, and vowels based on height and duration. However, it is the ambition of mapping these from morpheme to semantics that is truly remarkable in modern terms.
Grammarians following Pini include K?ty?yana (c. 3rd century BCE), who wrote aphorisms on Pini (the Varttika) and advanced mathematics; Patañjali (2nd century BCE), known for his commentary on selected topics in Pini's grammar (the Mahabhasya) and on K?ty?yana's aphorisms, as well as, according to some, the author of the Yoga Sutras, and Pingala, with his mathematical approach to prosody. Several debates ranged over centuries, for example, on whether word-meaning mappings were conventional (Vaisheshika-Nyaya) or eternal (K?ty?yana-Patañjali-M?ms?).
The Nyaya Sutras specified three types of meaning: the individual (this cow), the type universal (cowhood), and the image (draw the cow). That the sound of a word also forms a class (sound-universal) was observed by Bhart?hari (c. 500 CE), who also posits that language-universals are the units of thought, close to the nominalist or even the linguistic determinism position. Bhart?hari also considers the sentence to be ontologically primary (word meanings are learned given their sentential use).
Unfortunately, Pini's rule-based method of linguistic analysis and description has remained relatively unknown to Western linguistics until more recently. Franz Bopp used Pini's work as a linguistic source for his 1807 Sanskrit grammar but disregarded his methodology. Pini's system also differs from modern formal linguistics in that, since Sanskrit is a free word-order language, it did not provide syntactic rules. Formal linguistics, as first proposed by Louis Hjelmslev in 1943, is nonetheless based on the same concept that the expression of meaning is organised on different layers of linguistic form (including phonology and morphology).
The Pali Grammar of Kacchayana, dated to the early centuries CE, describes the language of the Buddhist canon.
In addition, this Indian influence played a role in the development of the English language in Pakistan. Native speakers of Urdu: [ ? s r ? ] (start)Native speakers of Punjabi: [s ?
r ? ] (start)Another example of variable influence of first language on PakistaniEnglish is that of [ ? ]Native speakers of Urdu: [ ] (measure)Native speakers of Punjabi: [ ] or [ ] (measure)In this example, the [ ? ] is either realized as a [ ? ] or a [ ] by Punjab 
Founding Fathers In the 1600s, Joannes Goropius Becanus was the oldest representative of Dutch linguistics. He was the first person to publish a fragment of Gothic, mainly The lord's prayer. Franciscus Juniuns, Lambert ten Kate from Amsterdam and George Hickes from England are considered to be the founding fathers of German linguistics. 
The Greeks developed an alphabet using symbols from the Phoenicians, adding signs for vowels and for extra consonants appropriate to their idiom (see Robins, 1997). In the Phoenicians and in earlier Greek writing systems, such as Linear B, graphemes indicated syllables, that is sound combinations of a consonant and a vowel. The addition of vowels by the Greeks was a major breakthrough as it facilitated the writing of Greek by representing both vowels and consonants with distinct graphemes. As a result of the introduction of writing, poetry such as the Homeric poems became written and several editions were created and commented on, forming the basis of philology and criticism.
Along with written speech, the Greeks commenced studying grammatical and philosophical issues. A philosophical discussion about the nature and origins of language can be found as early as the works of Plato. A subject of concern was whether language was man-made, a social artifact, or supernatural in origin. Plato in his Cratylus presents the naturalistic view, that word meanings emerge from a natural process, independent of the language user. His arguments are partly based on examples of compounding, where the meaning of the whole is usually related to the constituents, although by the end he admits a small role for convention. The sophists and Socrates introduced dialectics as a new text genre. The Platonic dialogs contain definitions of the meters of the poems and tragedy, the form and the structure of those texts (see the Republic and Phaidros, Ion, etc.).
Aristotle supports the conventional origins of meaning. He defined the logic of speech and of the argument. Furthermore, Aristotle's works on rhetoric and poetics became of the utmost importance for the understanding of tragedy, poetry, public discussions etc. as text genres. Aristotle's work on logic interrelates with his special interest in language, and his work on this area was fundamentally important for the development of the study of language (logos in Greek means both "language" and "logic reasoning"). In Categories, Aristotle defines what is meant by "synonymous" or univocal words, what is meant by "homonymous" or equivocal words, and what is meant by "paronymous" or denominative words. He divides forms of speech as being:
Next, he distinguishes between a subject of predication, namely that of which anything is affirmed or denied, and a subject of inhesion. A thing is said to be inherent in a subject, when, though it is not a part of the subject, it cannot possibly exist without the subject, e.g., shape in a thing having a shape. The categories are not abstract platonic entities but are found in speech, these are substance, quantity, quality, relation, place, time, position, state, action and affection. In de Interpretatione, Aristotle analyzes categoric propositions, and draws a series of basic conclusions on the routine issues of classifying and defining basic linguistic forms, such as simple terms and propositions, nouns and verbs, negation, the quantity of simple propositions (primitive roots of the quantifiers in modern symbolic logic), investigations on the excluded middle (which to Aristotle isn't applicable to future tense propositions -- the Problem of future contingents), and on modal propositions.
The Stoics made linguistics an important part of their system of the cosmos and the human. They played an important role in defining the linguistic sign-terms adopted later on by Ferdinand de Saussure like "significant" and "signifié". The Stoics studied phonetics, grammar and etymology as separate levels of study. In phonetics and phonology the articulators were defined. The syllable became an important structure for the understanding of speech organization. One of the most important contributions of the Stoics in language study was the gradual definition of the terminology and theory echoed in modern linguistics.
Alexandrian grammarians also studied speech sounds and prosody; they defined parts of speech with notions such as "noun", "verb", etc. There was also a discussion about the role of analogy in language, in this discussion the grammatici in Alexandria supported the view that language and especially morphology is based on analogy or paradigm, whereas the grammatic in schools in Asia Minor consider that language is not based on analogical bases but rather on exceptions.
Alexandrians, like their predecessors, were very interested in meter and its role in poetry. The metrical "feet" in the Greek was based on the length of time taken to pronounce each syllable, with syllables categorized according to their weight as either "long" syllables or "short" syllables (also known as "heavy" and "light" syllables, respectively, to distinguish them from long and short vowels). The foot is often compared to a musical measure and the long and short syllables to whole notes and half notes. The basic unit in Greek and Latin prosody is a mora, which is defined as a single short syllable. A long syllable is equivalent to two moras. A long syllable contains either a long vowel, a diphthong, or a short vowel followed by two or more consonants.
Various rules of elision sometimes prevent a grammatical syllable from making a full syllable, and certain other lengthening and shortening rules (such as correption) can create long or short syllables in contexts where one would expect the opposite. The most important Classical meter as defined by the Alexandrian grammarians was the dactylic hexameter, the meter of Homeric poetry. This form uses verses of six feet. The first four feet are normally dactyls, but can be spondees. The fifth foot is almost always a dactyl. The sixth foot is either a spondee or a trochee. The initial syllable of either foot is called the ictus, the basic "beat" of the verse. There is usually a caesura after the ictus of the third foot.
The text Tékhn? grammatiké (c. 100 BCE, Gk. gramma meant letter, and this title means "Art of letters"), possibly written by Dionysius Thrax (170 - 90 BCE), is considered the earliest grammar book in the Greek tradition. It lists eight parts of speech and lays out the broad details of Greek morphology including the case structures. This text was intended as a pedagogic guide (as was Panini), and also covers punctuation and some aspects of prosody. Other grammars by Charisius (mainly a compilation of Thrax, as well as lost texts by Remmius Palaemon and others) and Diomedes (focusing more on prosody) were popular in Rome as pedagogic material for teaching Greek to native Latin-speakers.
One of the most prominent scholars of Alexandria and of the antiquity was Apollonius Dyscolus. Apollonius wrote more than thirty treatises on questions of syntax, semantics, morphology, prosody, orthography, dialectology, and more. Happily, four of these are preserved--we still have a Syntax in four books, and three one-book monographs on pronouns, adverbs, and connectives, respectively.
Lexicography become an important domain of study as many grammarians compiled dictionaries, thesauri and lists of special words "" that were old, or dialectical or special (such as medical words or botanic words) at that period. In the early medieval times we find more categories of dictionaries like the dictionary of Suida (considered the first encyclopedic dictionary), etymological dictionaries etc.
At that period, the Greek language functioned as a lingua franca, a language spoken throughout the known world (for the Greeks and Romans) of that time and, as a result, modern linguistics struggles to overcome this. With the Greeks a tradition commenced in the study of language. The Romans and the medieval world followed, and their laborious work is considered[by whom?] today as a part of our everyday language. Think, for example, of notions such as the word, the syllable, the verb, the subject etc.
In the 4th century, Aelius Donatus compiled the Latin grammar Ars Grammatica that was to be the defining school text through the Middle Ages. A smaller version, Ars Minor, covered only the eight parts of speech; eventually when books came to be printed in the 15th century, this was one of the first books to be printed. Schoolboys subjected to all this education gave us the current meaning of "grammar" (attested in English since 1176).
Similar to the Indian tradition, Chinese philology, Xiaoxue ( "elementary studies"), began as an aid to understanding classics in the Han dynasty (c. 3rd century BCE). Xiaoxue came to be divided into three branches: Xungu ( "exegesis"), Wenzi ( "script [analysis]") and Yinyun ( "[study of] sounds") and reached its golden age in the 17th century CE (Qing Dynasty). The glossary Erya (c. 3rd century BCE), comparable to the Indian Nighantu, is regarded as the first linguistic work in China. Shuowen Jiezi (c. 2nd century BCE), the first Chinese dictionary, classifies Chinese characters by radicals, a practice that would be followed by most subsequent lexicographers. Two more pioneering works produced during the Han Dynasty are Fangyan, the first Chinese work concerning dialects, and Shiming, devoted to etymology.
As in ancient Greece, early Chinese thinkers were concerned with the relationship between names and reality. Confucius (6th century BCE) famously emphasized the moral commitment implicit in a name, (zhengming) stating that the moral collapse of the pre-Qin was a result of the failure to rectify behaviour to meet the moral commitment inherent in names: "Good government consists in the ruler being a ruler, the minister being a minister, the father being a father, and the son being a son... If names be not correct, language is not in accordance with the truth of things." (Analects 12.11,13.3).
However, what is the reality implied by a name? The later Mohists or the group known as School of Names (ming jia, 479-221 BCE), consider that ming (? "name") may refer to three kinds of shi (? "actuality"): type universals (horse), individual (John), and unrestricted (thing). They adopt a realist position on the name-reality connection - universals arise because "the world itself fixes the patterns of similarity and difference by which things should be divided into kinds". The philosophical tradition is well known for conundra resembling the sophists, e.g. when Gongsun Longzi (4th century BCE) questions if in copula statements (X is Y), are X and Y identical or is X a subclass of Y. This is the famous paradox "a white horse is not a horse".
Xun Zi (3rd century BCE) revisits the principle of zhengming, but instead of rectifying behaviour to suit the names, his emphasis is on rectifying language to correctly reflect reality. This is consistent with a more "conventional" view of word origins (yueding sucheng ?).
The study of phonology in China began late, and was influenced by the Indian tradition, after Buddhism had become popular in China. The rime dictionary is a type of dictionary arranged by tone and rime, in which the pronunciations of characters are indicated by fanqie spellings. Rime tables were later produced to aid the understanding of fanqie.
Philological studies flourished during the Qing Dynasty, with Duan Yucai and Wang Niansun as the towering figures. The last great philologist of the era was Zhang Binglin, who also helped lay the foundation of modern Chinese linguistics. The Western comparative method was brought into China by Bernard Karlgren, the first scholar to reconstruct Middle Chinese and Old Chinese with Latin alphabet (not IPA). Important modern Chinese linguists include Y. R. Chao, Luo Changpei, Li Fanggui and Wang Li.
The ancient commentators on the classics paid much attention to syntax and the use of particles. But the first Chinese grammar, in the modern sense of the word, was produced by Ma Jianzhong (late 19th century). His grammar was based on the Latin (prescriptive) model.
Due to the rapid expansion of Islam in the 8th century, many people learned Arabic as a lingua franca. For this reason, the earliest grammatical treatises on Arabic are often written by non-native speakers.
The earliest grammarian who is known to us is ?Abd All?h ibn Ab? Isq al-?a?ram? (died 735-736 CE, 117 AH). The efforts of three generations of grammarians culminated in the book of the Persian linguist Sib?wayhi (c. 760-793).
In De vulgari eloquentia ("On the Eloquence of Vernacular"), Dante expanded the scope of linguistic enquiry from Latin/Greek to include the languages of the day. Other linguistic works of the same period concerning the vernaculars include the First Grammatical Treatise (Icelandic) or the Auraicept na n-Éces (Irish).
The Renaissance and Baroque period saw an intensified interest in linguistics, notably for the purpose of Bible translations by the Jesuits, and also related to philosophical speculation on philosophical languages and the origin of language.
Modern linguistics did not begin until the late 18th century, and the Romantic or animist theses of Johann Gottfried Herder and Johann Christoph Adelung remained influential well into the 19th century.
In the history of American linguistics, there were hundreds of Indigenous languages that were never recorded. Many of the languages were spoken and so they are now inaccessible. Under these circumstances, linguistics such as Franz Boas tried to prescribed sound methodical principles for the analysis of unfamiliar languages. Boas was an influential linguist and was followed by Edward Sapir and Leonard Bloomfield. 
During the 18th century conjectural history, based on a mix of linguistics and anthropology, on the topic of both the origin and progress of language and society was fashionable. These thinkers contributed to the construction of academic paradigms in which some languages were labelled "primitive" relative to the English language. Within this paradigm a primitive people could be discerned by their primitive language, as in the case of Hugh Blair who argued that Native Americans gesticulated wildly to compensate for poor lexicon of their primitive language. Around the same time, James Burnett authored a 6 volume treatise that delved more deeply into the matter of "savage languages". Other writers theorized that Native American languages were "nothing but the natural and instinctive cries of the animal" without grammatical structure. The thinkers within this paradigm connected themselves with the Greeks and Romans, viewed as the only civilized persons of the ancient world, a view articulated by Thomas Sheridan who compiled an important 18th century pronunciation dictionary: "It was to the care taken in the cultivation of their languages, that Greece and Rome, owed that splendor, which eclipsed all the other nations of the world".
In the 18th century James Burnett, Lord Monboddo analyzed numerous languages and deduced logical elements of the evolution of human languages. His thinking was interleaved with his precursive concepts of biological evolution. Some of his early concepts have been validated and are considered correct today. In his The Sanscrit Language (1786), Sir William Jones proposed that Sanskrit and Persian had resemblances to Classical Greek, Latin, Gothic, and Celtic languages. From this idea sprung the field of comparative linguistics and historical linguistics. Through the 19th century, European linguistics centered on the comparative history of the Indo-European languages, with a concern for finding their common roots and tracing their development.
In 1786, it was discovered that there is a regular sound that corresponded in the languages spoken in Europe, India, and Persia. This lead to the conclusion that all of the languages can from a common ancestor and during the 19th-century linguistics were devoted to figuring out the nuances of the parent language. It was discovered that this parent language started approximately 6000 years ago and has also developed in English, Russian, and Hindi. 
In the 1820s, Wilhelm von Humboldt observed that human language was a rule-governed system, anticipating a theme that was to become central in the formal work on syntax and semantics of language in the 20th century. Of this observation he said that it allowed language to make "infinite use of finite means" (Über den Dualis, 1827). Humboldt's work is associated with the movement of Romantic linguistics, which was inspired by Naturphilosophie and Romantic science. Other notable representatives of the movement include Friedrich Schlegel and Franz Bopp.
Historical linguistics continues today and linguistics have succeeded in grouping approximately 5000 languages of the world into a number of common ancestors. 
In Europe there was a development of structural linguistics, initiated by Ferdinand de Saussure, a Swiss professor of Indo-European and general linguistics, whose lectures on general linguistics, published posthumously by his students, set the direction of European linguistic analysis from the 1920s on; his approach has been widely adopted in other fields under the broad term "Structuralism".
By the 20th century, the attention shifted from language change to the structure, which is governed by rules and principles. This structure turned more into grammar and by the 1920s structural linguistic, was developing into sophisticated methods of grammatical analysis.
During the second World War, North American linguists Leonard Bloomfield, William Mandeville Austin and several of his students and colleagues developed teaching materials for a variety of languages whose knowledge was needed for the war effort. This work led to an increasing prominence of the field of linguistics, which became a recognized discipline in most American universities only after the war.