Difference: OMorFiDemo (8 vs. 9)

Revision 92008-04-30 - KristerLinden

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

OMorFi: HDemo Outline

Line: 8 to 8
 of unknown words in the language.

Ideally, all language related information is encoded in the transducers:

Changed:
<
<
OmorXXAnalyser, OmorXXWeightedAnalyser and OmorXXGenerator
>
>
OmorXXAnalyser, OmorXXGuesser and OmorXXGenerator
 (where XX is the language code) run with the hfst software. However, the lexicographer may have created language-specific components for some other purpose that can be reused, in which case the HAnalyse, HGuess and HGenerate methods may be implemented
Line: 76 to 76
  Method:
Analyses = HAnalyse(Word,OmorXXAnalyser)
Changed:
<
<
if(len(Analyses)=0): HGuess(Word,OmorXXWeightedAnalyser) else Analyses
>
>
if(not Analyses): HGuess(Word,OmorXXGuesser)
  See: HGuess, HAnalyse
Line: 93 to 92
  Method:
Analyses = HAnalyse(Word,OmorXXAnalyser)
Changed:
<
<
if(len(Analyses)=0): for Analysis in HGuess(Word,OmorXXWeightedAnalyser):
>
>
if(not Analyses): for Analysis in HGuess(Word,OmorXXGuesser):
  if(Analysis.baseform=Word.baseform and not [Analysis.baseform, Analysis.paradigm] in Output)): Output = Output + Analysis.baseform, Analysis.paradigm HGenerate(Analysis,OmorXXGenerator)
Changed:
<
<
else for Analysis in Analyses:
>
>
else: for Analysis in Analyses:
  if(Analysis.baseform=Word.baseform and not [Analysis.baseform, Analysis.paradigm] in Output)): Output = Output + Analysis.baseform, Analysis.paradigm HGenerate(Analysis,OmorXXGenerator)
 
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