Typecraft v2.5
Jump to: navigation, search

Difference between revisions of "Classroom:Norwegian Grammar Checking"

(Usage of the grammar checker)
(Usage of the grammar checker)
Line 58: Line 58:
 
If the system does not contain a certain word used in the input string, the response will inform you that this is so:  
 
If the system does not contain a certain word used in the input string, the response will inform you that this is so:  
  
  ''Lexicon entry `...' is missing''
+
            ''Lexicon entry `...' is missing''
  
 
Please note that the system does not have many non-Norwegian proper names in its repository, so that writing ''Jeg heter ...'' with a non-Norwegian proper name in the dotted area may well result in the above message.
 
Please note that the system does not have many non-Norwegian proper names in its repository, so that writing ''Jeg heter ...'' with a non-Norwegian proper name in the dotted area may well result in the above message.

Revision as of 14:57, 25 January 2016

Norwegian Grammar Checking

Korektor gramatyczny dla języka norweskiego


Ćwiczenia z gramatyki norweskiej z polskim komentarzem


This device is designed to provide grammaticality feedback for sentences of your choice.


Please click on the Troll picture Troll1.jpeg to get to the Grammar Checker.


In the window that comes up, write one or more sentences (up to ten sentences at the time, with line-shift between, and each sentence no more than 10 words) into the open mask, and push the button 'Analyze'.

If a string is grammatically wellformed, you will get the response:

          A wellformed Norwegian sentence


If the string is not grammatically wellformed, there are two possibilities:


Error diagnosis

The first possibility is that the system tells you what is wrong about the string. For instance, for the ungrammatical string

          Jeg liker du.

where the subject form "du" is used as an object, you will get the response:

      The word "du" is marked with the wrong case, try using "deg" instead. 

Accompanying such an error message, there may appear a button 'Generate'. By clicking it, you can get a new window showing a recommended version of the intended sentence, in the present case:

         Jeg liker deg.

(To write a new sentence for feedback, return to the previous window.)

Next to the 'Generate' button, there is also a button saying More description, which takes you to a brief description of the relevant part of Norwegian grammar.


Ungrammaticality report

The second possibility is that the grammar recognizes a string as ungrammatical, but no specific message has been designed for the error type. The interface will then simply report:

          Ungrammatical in Norwegian.


Usage of the grammar checker

The sentences entered should always have a verb. Apart from imperatives, sentences should also have a subject. Moreover, interjections (like "yes", "hi!", and so) are not accepted.

If the system does not contain a certain word used in the input string, the response will inform you that this is so:

            Lexicon entry `...' is missing

Please note that the system does not have many non-Norwegian proper names in its repository, so that writing Jeg heter ... with a non-Norwegian proper name in the dotted area may well result in the above message.

Phenomena for which you can get feedback, and possible feedback messages

For an overview of phenomena for which can get feedback messages, see Feedback messages.


For some background for this system, see A Norwegian Grammar Sparrer.


For background on the computational grammar running the system, see Norwegian HPSG grammar NorSource.



--Lars Hellan 15:11, 14 April 2014 (UTC)


www.typecraft.org-thumb.jpg