This web is for holding topics deemed as old or irrelevant for KitWiki. If you think the topic doesn't belong here, please check that it's named properly (is a WikiWord) and descriptively, contains relevant data, and is put back to a relevant web.


Machine Syntax for Swedish, functional dependency grammar parser for Swedish


sv-fdg analyses Swedish text according to a functional dependency grammar. The output is either in text format or a proprietary XML format.

Version and Copyright Information

version: Conexor FDG 3.7 (sv 2.2)


Conexor FDG 3.7 (sv 2.2)  
(c) Conexor oy, 1997-2002


example 1

[]$ echo "Jag har en hund. Hunden är min" | sv-fdg --text

1       Jag     jag     subj:>2 %NH PRON SG NOM
2       har     ha      main:>0 %MV V PRES
3       en      en      det:>4  %>N DET SG NOM
4       hund    hund    obj:>2  %NH N SG NOM
5       .       .
1       Hunden  hund    subj:>2 %NH N SG NOM
2       är      vara    main:>0 %MV V PRES
3       min     min     sc:>2   %NH N SG NOM
4       <s>     <s>

example 2


[]$ echo "Jag har en hund. Hunden är min" | sv-fdg

Conexor FDG 3.7 (sv 2.2)  
(c) Conexor oy, 1997-2002
Academic licence: CSC Tieteellinen laskenta
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE analysis SYSTEM "">
<analysis><sentence id="w:1">
<token id="w:2">        <text>Jag</text>        <lemma>jag</lemma>      <depend head="w:3">subj:</depend>   <tags><syntax>%NH</syntax> <morpho>PRON SG NOM</morpho></tags></token>
<token id="w:3">        <text>har</text>        <lemma>ha</lemma>       <depend head="w:1">main:</depend>   <tags><syntax>%MV</syntax> <morpho>V PRES</morpho></tags></token>
<token id="w:4">        <text>en</text> <lemma>en</lemma>       <depend head="w:5">det:</depend>   <tags><syntax>%>N</syntax> <morpho>DET SG NOM</morpho></tags></token>
<token id="w:5">        <text>hund</text>       <lemma>hund</lemma>     <depend head="w:3">obj:</depend>    <tags><syntax>%NH</syntax> <morpho>N SG NOM</morpho></tags></token>
<token id="w:6">        <text>.</text>  <lemma>.</lemma>        </token>
<sentence id="w:7">
<token id="w:8">        <text>Hunden</text>     <lemma>hund</lemma>     <depend head="w:9">subj:</depend>   <tags><syntax>%NH</syntax> <morpho>N SG NOM</morpho></tags></token>
<token id="w:9">        <text>är</text> <lemma>vara</lemma>     <depend head="w:7">main:</depend>  <tags><syntax>%MV</syntax> <morpho>V PRES</morpho></tags></token>
<token id="w:10">       <text>min</text>        <lemma>min</lemma>      <depend head="w:9">sc:</depend>     <tags><syntax>%NH</syntax> <morpho>N SG NOM</morpho></tags></token>

Help, Manuals and Documentation

help commands:
man sv-fdg

further information:

usage: sv-fdg [-flags] files
 -h             -- print this page
 -v             -- print version
 -k --keep-sgml -- let markup codes and comments pass through the parser
 --xml          -- print output as XML (only in FDG; default)
 --text         -- print output as text
 --dtd          -- print XML output with the DTD (only in FDG)
 --tagset       -- output starts with the tag descriptions (in XML; only in FDG)
 --tagset-dtd   -- with the DTD for the tag descriptions (only in FDG)
 --custom=file  -- apply a custom lexicon
 --port=number  -- start the server mode and listen to the given port
 --message      -- each message is analysed separately

More documentation related to the Connexor tools is available in the CSC Scientist´s User Interface at This documentation is only available to CSC's customers.


License Text

Academic licence: CSC Tieteellinen laskenta

Other Information

Field of science: Linguistics


License: LicenseTypeACSCPaysTheCopy

To be copied to:
To be seen at:
See also: KitWiki.SuomenKielipankki:Dev:Linguistics_Software, Old.ToolResources
The users may add their own comments to: ToolResource_sv-fdg_Comments

When editing, please move cursor to the form below. Do not add anything here.
Topic revision: r8 - 2008-11-21 - HennaRiikkaLaitinen
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback