User Tools

Site Tools


ai:llm:language

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
ai:llm:language [2024/11/29 12:04] peterai:llm:language [2024/11/30 10:35] (current) peter
Line 3: Line 3:
 Flag each word as noun, verb, adjective, or adverb. 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
 +  * Pronouns
 +  * Verbs
 +  * Adjectives
 +  * Adverbs
 +  * Prepositions
 +  * Conjunctions
 +  * Interjections
 +
 +----
 +
 +===== 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 ===== ===== 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. An adjective is a word that describes or defines a noun or noun phrase.
Line 28: Line 75:
     * 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.     * 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.     * 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.
 +
 +----
  
  
 +<code sql>
 +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
 +)
 +</code>
  
 +----
ai/llm/language.1732881888.txt.gz · Last modified: 2024/11/29 12:04 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki