Python LMF library
 All Classes Namespaces Files Functions Variables
Functions | Variables
pylmflib.pylmflib.config.mdf Namespace Reference

Functions

def set_bw
 Functions to process some MDF fields (input) More...
 
def get_bw
 Functions to process some MDF fields (output) More...
 

Variables

tuple mdf_lmf
 Mapping between MDF markers and LMF representation (input) More...
 
list mdf_order
 Order in which MDF markers must be written (output) This is the standard order defined in Appendix B of "Making Dictionaries. A guide to lexicography and the Multi-Dictionary Formatter", Software version 1.0, David F. More...
 
tuple lmf_mdf
 Mapping between LMF representation and MDF markers (output) More...
 
tuple ps_range
 Possible values allowed for 'ps' MDF marker. More...
 
tuple ps_partOfSpeech
 Mapping between 'ps' MDF marker value and LMF part of speech LexicalEntry attribute value (input) Source: http://www.isocat.org/rest/dcs/119. More...
 
tuple mdf_semanticRelation
 Mapping between MDF markers and LMF semantic relation RelatedForm attribute value (input) More...
 
tuple pd_person
 Mapping between 'pd' MDF markers and LMF person WordForm attribute value (input) More...
 
tuple pd_anymacy
 Mapping between 'pd' MDF markers and LMF anymacy WordForm attribute value (input) More...
 
tuple pd_grammaticalNumber
 Mapping between 'pd' MDF markers and LMF grammatical number WordForm attribute value (input) More...
 
tuple pd_clusivity
 Mapping between 'pd' MDF markers and LMF clusivity WordForm attribute value (input) More...
 
tuple pdl_paradigmLabel
 Mapping between 'pdl' MDF marker value and LMF paradigm label Paradigm attribute value (input) More...
 
tuple sd_range
 Possible values allowed for 'sd' MDF marker. More...
 
tuple lf_range
 Possible values allowed for 'lf' MDF marker. More...
 

Function Documentation

def pylmflib.pylmflib.config.mdf.get_bw (   lexical_entry)

Functions to process some MDF fields (output)

Definition at line 248 of file mdf.py.

def pylmflib.pylmflib.config.mdf.set_bw (   bw,
  lexical_entry 
)

Functions to process some MDF fields (input)

Definition at line 10 of file mdf.py.

Variable Documentation

tuple pylmflib.pylmflib.config.mdf.lf_range

Possible values allowed for 'lf' MDF marker.

Definition at line 635 of file mdf.py.

tuple pylmflib.pylmflib.config.mdf.lmf_mdf

Mapping between LMF representation and MDF markers (output)

Definition at line 255 of file mdf.py.

tuple pylmflib.pylmflib.config.mdf.mdf_lmf

Mapping between MDF markers and LMF representation (input)

Definition at line 22 of file mdf.py.

list pylmflib.pylmflib.config.mdf.mdf_order

Order in which MDF markers must be written (output) This is the standard order defined in Appendix B of "Making Dictionaries. A guide to lexicography and the Multi-Dictionary Formatter", Software version 1.0, David F.

Coward, Charles E. Grimes, SIL International, Waxhaw, North Carolina, 2000

Definition at line 131 of file mdf.py.

tuple pylmflib.pylmflib.config.mdf.mdf_semanticRelation
Initial value:
1 = dict({
2  "sy" : "synonym",
3  "an" : "antonym",
4  "hm" : "homonym",
5  "et" : "etymology",
6  "se" : "subentry",
7  "mn" : "main entry",
8  "cf" : "simple link",
9  "cp" : "complex predicate",
10  "lf" : None,
11  "ev" : None,
12  "ee" : None,
13  "en" : None,
14  "er" : None
15  # "derived form",
16  # "root",
17  # "stem",
18  # "collocation"
19 })

Mapping between MDF markers and LMF semantic relation RelatedForm attribute value (input)

Definition at line 515 of file mdf.py.

tuple pylmflib.pylmflib.config.mdf.pd_anymacy
Initial value:
1 = dict({
2  4 : "inanimate"
3 })

Mapping between 'pd' MDF markers and LMF anymacy WordForm attribute value (input)

Definition at line 543 of file mdf.py.

tuple pylmflib.pylmflib.config.mdf.pd_clusivity
Initial value:
1 = dict({
2  'i' : "inclusive",
3  'e' : "exclusive"
4 })

Mapping between 'pd' MDF markers and LMF clusivity WordForm attribute value (input)

Definition at line 557 of file mdf.py.

tuple pylmflib.pylmflib.config.mdf.pd_grammaticalNumber
Initial value:
1 = dict({
2  'd' : "dual",
3  'p' : "plural",
4  "pl" : "plural",
5  's' : "singular",
6  "sg" : "singular"
7 })

Mapping between 'pd' MDF markers and LMF grammatical number WordForm attribute value (input)

Definition at line 548 of file mdf.py.

tuple pylmflib.pylmflib.config.mdf.pd_person
Initial value:
1 = dict({
2  1 : "first person",
3  2 : "second person",
4  3 : "third person"
5 })

Mapping between 'pd' MDF markers and LMF person WordForm attribute value (input)

Definition at line 536 of file mdf.py.

tuple pylmflib.pylmflib.config.mdf.pdl_paradigmLabel
Initial value:
1 = dict({
2  "la" : "lexicalized affix",
3  "cc" : "conjugation class",
4  "past" : "past stem",
5  "comit" : "comitative",
6  "constr" : "construction",
7  "dir" : "directional",
8  "ir" : "irregularity",
9  "cl" : "classifier"
10 })

Mapping between 'pdl' MDF marker value and LMF paradigm label Paradigm attribute value (input)

Definition at line 563 of file mdf.py.

tuple pylmflib.pylmflib.config.mdf.ps_partOfSpeech

Mapping between 'ps' MDF marker value and LMF part of speech LexicalEntry attribute value (input) Source: http://www.isocat.org/rest/dcs/119.

Definition at line 441 of file mdf.py.

tuple pylmflib.pylmflib.config.mdf.ps_range

Possible values allowed for 'ps' MDF marker.

Definition at line 366 of file mdf.py.

tuple pylmflib.pylmflib.config.mdf.sd_range

Possible values allowed for 'sd' MDF marker.

Definition at line 575 of file mdf.py.