This is an old revision of the document!
Table of Contents
AI - LLM - Language
Flag each word as noun, verb, adjective, or adverb.
- Commonly, Adjectives modify nouns and Adverbs modify verbs.
Consider this:
- Adjective
- Adverb
- Conjunction
- Determiner
- Noun
- Number
- Preposition
- Pronoun
- Verb
Nouns
A noun is a word that names something, such as a person, place, thing, or idea.
- Nouns can be used as adjectives and adjectives are nouns
- Proper nouns is a specific name of a person, place, or thing and is always capitalized.
- Common nouns is the generic name of an item in a class or group and is not capitalized unless appearing at the beginning of a sentence or in a title.
One important distinction to be made is whether a noun is a proper noun or a common noun. A proper noun is a specific name of a person, place, or thing and is always capitalized.
Verbs
Verbs are words that describe actions, whether physical or mental.
Adjective
An adjective is a word that describes the traits, qualities, or number of a noun.
An adjective is a word that describes or defines a noun or noun phrase.
- Its semantic role is to change information given by the noun.
Adjectives can modify nouns even without appearing right before them in a sentence.
- Acting as what is called a subjective complement with the help of a linking verb, a predicate adjective modifies the subject of a sentence.
- A linking verb is a verb like to be, to feel, to seem, or to taste that, rather than describing an action, helps to describe a state of being or a sensory experience.
Adjectives come in three forms, known as degrees: absolute, comparative, and superlative.
- Absolute adjectives describe something in its own right.
- Comparative adjectives make a comparison between two or more things.
- For most one-syllable adjectives, the comparative is formed by adding the suffix -er (or just -r if the adjective already ends with an e).
- For two-syllable adjectives, some use -er to form the comparative while others use the word more. In general, two-syllable adjectives ending in –er, –le, –ow, –ure, or –y can be made comparative by adding -er (in the case of -y words, replace y with –ier).
- For adjectives of three or more syllables, add the word more.
- Superlative adjectives indicate that something has the highest degree of the quality in question.
- One-syllable adjectives become superlatives by adding the suffix -est (or just -st for adjectives that already end in e). As with the comparative, some two-syllable adjectives use -est to form the superlative while others use the word most.
- In general, two-syllable adjectives ending in -y replace -y with -iest.
- Adjectives of three or more syllables add the word most. When you use an article with a superlative adjective, it will almost always be the definite article (the) rather than a or an.
- Using a superlative inherently indicates that you are talking about a specific item or items.
- Coordinate adjectives should be separated by a comma or the word and.
- Adjectives are said to be coordinate if they modify the same noun in a sentence to the same degree.
Adverb
An adverb is a word that modifies (describes) a verb, an adjective, another adverb, or even a whole sentence.
- Adverbs often end in -ly, but some (such as fast) look exactly the same as their adjective counterparts.
SELECT RANK() OVER(ORDER BY COUNT DESC) rank, COUNT, comment, avg_score, count_subs, count_authors, example_id FROM ( SELECT comment, COUNT(*) COUNT, AVG(avg_score) avg_score, COUNT(UNIQUE(subs)) count_subs, COUNT(UNIQUE(author)) count_authors, FIRST(example_id) example_id FROM ( SELECT body comment, author, AVG(score) avg_score, UNIQUE(subreddit) subs, FIRST('http://reddit.com/r/'+subreddit+'/comments/'+REGEXP_REPLACE(link_id, 't[0-9]_','')+'/c/'+id) example_id FROM [fh-bigquery:reddit_comments.2015_05] WHERE author NOT IN (SELECT author FROM [fh-bigquery:reddit_comments.bots_201505]) AND subreddit IN (SELECT subreddit FROM [fh-bigquery:reddit_comments.subr_rank_201505] WHERE authors>10000) GROUP EACH BY 1, 2 ) GROUP EACH BY 1 ORDER BY 2 DESC LIMIT 300 )