Skip to main content

sbx-swe-phrasestructure-sparv

Analysis citation Information

Språkbanken Text (2018). sbx-swe-phrasestructure-sparv (updated: 2018-03-28). [Analysis]. Språkbanken Text. https://doi.org/10.23695/3m42-qk02
BibTeX Additional ways to cite the dataset.
Swedish phrase structure parsing based on Mamba-Dep dependency analysis

Converts swedish phrase structures from Mamba-Dep dependency analysis using a rule-based heuristic. Below is the complete list of possible phrase structure labels:

NP: noun phrase
NP-wh: noun phrase with a relativizer, e.g. "whose mother"
PrP: prepositional phrase
PrP-wh: prepositional phrase with a relativizer, t.e. "in which"
SBAR: subordinate clause introduced by a subordinator
S: clause
S-wh: clause introduced by a relativizer
S-imp: clause in the imperative
VP-sup: verb phrase using the supine
VP-att: verb phrase with the infinitive, including the infinitive marker "att"
VP-inf: verb phrase with the infinitive, without an infinitive marker
VP-fin: finite verb phrase
ADJP: adjective phrase
ADVP: adverb phrase
ADVP-wh: adverb phrase with a relativizer
QP: numeral phrase

Example

This analysis is used with Sparv. Check out Sparv's quick start guide to get started!

To use this analysis, add the following lines under export.annotations in the Sparv corpus configuration file:

- phrase_structure.phrase  # Phrase segments
- phrase_structure.phrase:phrase_structure.name  # Phrase names
- phrase_structure.phrase:phrase_structure.func  # Phrase functions

For more info on how to use Sparv, check out the Sparv documentation.

Example output:


  
    Alfred
    Bernhard
    Nobel
  
  var
  
    
      en
      
        svensk
        
          kemist
        
      
      och
    
    stiftare
    
      av
      
        Nobelpriset
        .
      
    
  

Type

  • Analysis

Task

  • phrase structure parsing

Licence

MIT

Tagset

See description below

Trained on

Created

2018-03-28

Updated

2018-03-28

Contact

sb-info@svenska.gu.se