Typecraft v2.5
Jump to: navigation, search

Classroom:Norwegian Grammar Checking

Revision as of 20:45, 21 May 2014 by Lars Hellan (Talk | contribs) (Phenomena for which you can get feedback, and possible feedback messages)

Norwegian Grammar Checking

This gadget 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 be grammatically full sentences. Moreover, interjections (like "yes", "hi!", and so) are not accepted.

If the lexicon of the parser does not contain a certain word used in the input string, the response will inform you that this is so.

Please note in particular that the grammar 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 message

 Lexicon entry `...' is missing

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

For an overview of phenomena for which you can get articulated error feedback, please go to the following page: Grammar sparring phenomena

For an overview of feedback messages available, go to 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