Difference: OMorFiDemo (11 vs. 12)

Revision 122008-05-05 - KristerLinden

Line: 1 to 1
 
META TOPICPARENT name="OMorFiHome"

OMorFi: HDemo Outline

Line: 146 to 146
 Analysis.baseform='talonpoika' Analysis.paradigm='<10>' Analysis.tags=''
Added:
>
>

Web Demo API Interface

The following code is used for calling the web interface:

#! /usr/bin/env python
# -*- coding: utf8 -*-

from omorcgidemo import *

def main():
    initialize_variables(
        analyser         = './OMorFiAnalyser',
        generator        = './OMorFiGenerator',
        guesser          = './OMorFiGuesser',
        language         = 'Finnish',
        lang_code        = 'fi',
        title            = 'Omorfi - Demo of Finnish Morphology',
        lexicon_source   = 'http://kaino.kotus.fi/sanat/nykysuomi/',
        lexicon_name     = 'Nykysuomen sanalista',
        script           = 'omorfi-cgi-demo.py')
    interact()

main()
 

 
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