Commit 517099b0 authored by Neeme Kahusk's avatar Neeme Kahusk

long

parent 348aae6d
0.4.0
\ No newline at end of file
0.4.1
\ No newline at end of file
SIMPLE = ['ressursi nimed','doi']
#NAMES = ['eestikeelne ressursi nimi','ingliskeelne ressursi nimi','kontaktisiku asutus','doi']
NAMES_ATA = ['eestikeelne ressursi nimi','ingliskeelne ressursi nimi','kontaktisik asutuseta','doi']
NAMES = ['eestikeelne ressursi nimi','ingliskeelne ressursi nimi','kontaktisik asutuseta','kontaktisiku asutus','doi']
\ No newline at end of file
NAMES = ['eestikeelne ressursi nimi','ingliskeelne ressursi nimi','kontaktisik asutuseta','kontaktisiku asutus','doi']
LONG = ['eestikeelne ressursi nimi','ingliskeelne ressursi nimi','kontaktisik asutuseta','kontaktisiku asutus',
'litsentsi valdaja', 'ressursi looja', 'doi', 'identifikaatorid']
\ No newline at end of file
......@@ -13,10 +13,11 @@ from pathlib import Path
from lxml import etree
from prepare import read_xml
from configure_columns import SIMPLE, NAMES, NAMES_ATA
from configure_columns import SIMPLE, NAMES, NAMES_ATA, LONG
#XPATHLIST = NAMES_ATA
XPATHLIST = NAMES
#XPATHLIST = NAMES
XPATHLIST = LONG
class Name(object):
def __init__(self):
......
......@@ -75,7 +75,7 @@
"resourceComponentType/lexicalConceptualResourceInfo/lexicalConceptualResourceMediaType/lexicalConceptualResourceTextInfo/sizeInfo/sizeUnit" ".//x:resourceComponentType/x:lexicalConceptualResourceInfo/x:lexicalConceptualResourceMediaType/x:lexicalConceptualResourceTextInfo/x:sizeInfo/x:sizeUnit" "entries" 224 "{http://www.ilsp.gr/META-XMLSchema}resourceComponentType/{http://www.ilsp.gr/META-XMLSchema}lexicalConceptualResourceInfo/{http://www.ilsp.gr/META-XMLSchema}lexicalConceptualResourceMediaType/{http://www.ilsp.gr/META-XMLSchema}lexicalConceptualResourceTextInfo/{http://www.ilsp.gr/META-XMLSchema}sizeInfo/{http://www.ilsp.gr/META-XMLSchema}sizeUnit"
"resourceComponentType/lexicalConceptualResourceInfo/lexicalConceptualResourceMediaType/lexicalConceptualResourceTextInfo/characterEncodingInfo/characterEncoding" ".//x:resourceComponentType/x:lexicalConceptualResourceInfo/x:lexicalConceptualResourceMediaType/x:lexicalConceptualResourceTextInfo/x:characterEncodingInfo/x:characterEncoding" "UTF-8" 224 "{http://www.ilsp.gr/META-XMLSchema}resourceComponentType/{http://www.ilsp.gr/META-XMLSchema}lexicalConceptualResourceInfo/{http://www.ilsp.gr/META-XMLSchema}lexicalConceptualResourceMediaType/{http://www.ilsp.gr/META-XMLSchema}lexicalConceptualResourceTextInfo/{http://www.ilsp.gr/META-XMLSchema}characterEncodingInfo/{http://www.ilsp.gr/META-XMLSchema}characterEncoding"
"ingliskeelne ressursi lühinimi" "identificationInfo/resourceShortName" "lang=en" ".//x:identificationInfo/x:resourceShortName[@lang=""en""]" "ESTMORFCORP" 225 "{http://www.ilsp.gr/META-XMLSchema}identificationInfo/{http://www.ilsp.gr/META-XMLSchema}resourceShortName"
"identifikaator" "identificationInfo/identifier" ".//x:identificationInfo/x:identifier" "http://hdl.handle.net/11297/1-00-0000-0000-0000-0002-5" 225 "{http://www.ilsp.gr/META-XMLSchema}identificationInfo/{http://www.ilsp.gr/META-XMLSchema}identifier[1]"
"identifikaatorid" "identificationInfo/identifier" ".//x:identificationInfo/x:identifier" "http://hdl.handle.net/11297/1-00-0000-0000-0000-0002-5" 225 "{http://www.ilsp.gr/META-XMLSchema}identificationInfo/{http://www.ilsp.gr/META-XMLSchema}identifier[1]"
"distributionInfo/licenceInfo/userNature" ".//x:distributionInfo/x:licenceInfo/x:userNature" "academic" 225 "{http://www.ilsp.gr/META-XMLSchema}distributionInfo/{http://www.ilsp.gr/META-XMLSchema}licenceInfo/{http://www.ilsp.gr/META-XMLSchema}userNature"
"contactPerson/surname" "lang=et" ".//x:contactPerson/x:surname[@lang=""et""]" "Muischnek" 225 "{http://www.ilsp.gr/META-XMLSchema}contactPerson/{http://www.ilsp.gr/META-XMLSchema}surname"
"contactPerson/givenName" "lang=et" ".//x:contactPerson/x:givenName[@lang=""et""]" "Kadri" 225 "{http://www.ilsp.gr/META-XMLSchema}contactPerson/{http://www.ilsp.gr/META-XMLSchema}givenName"
......@@ -139,6 +139,7 @@
"resourceComponentType/corpusInfo/corpusMediaType/corpusAudioInfo/audioSizeInfo/sizeInfo/size" ".//x:resourceComponentType/x:corpusInfo/x:corpusMediaType/x:corpusAudioInfo/x:audioSizeInfo/x:sizeInfo/x:size" 1234 229 "{http://www.ilsp.gr/META-XMLSchema}resourceComponentType/{http://www.ilsp.gr/META-XMLSchema}corpusInfo/{http://www.ilsp.gr/META-XMLSchema}corpusMediaType/{http://www.ilsp.gr/META-XMLSchema}corpusAudioInfo/{http://www.ilsp.gr/META-XMLSchema}audioSizeInfo/{http://www.ilsp.gr/META-XMLSchema}sizeInfo/{http://www.ilsp.gr/META-XMLSchema}size"
"resourceComponentType/corpusInfo/corpusMediaType/corpusAudioInfo/audioSizeInfo/sizeInfo/sizeUnit" ".//x:resourceComponentType/x:corpusInfo/x:corpusMediaType/x:corpusAudioInfo/x:audioSizeInfo/x:sizeInfo/x:sizeUnit" "sentences" 229 "{http://www.ilsp.gr/META-XMLSchema}resourceComponentType/{http://www.ilsp.gr/META-XMLSchema}corpusInfo/{http://www.ilsp.gr/META-XMLSchema}corpusMediaType/{http://www.ilsp.gr/META-XMLSchema}corpusAudioInfo/{http://www.ilsp.gr/META-XMLSchema}audioSizeInfo/{http://www.ilsp.gr/META-XMLSchema}sizeInfo/{http://www.ilsp.gr/META-XMLSchema}sizeUnit"
"distributionInfo/iprHolder/organizationInfo/organizationShortName" "lang=et" ".//x:distributionInfo/x:iprHolder/x:organizationInfo/x:organizationShortName[@lang=""et""]" "TÜ" 230 "{http://www.ilsp.gr/META-XMLSchema}distributionInfo/{http://www.ilsp.gr/META-XMLSchema}iprHolder/{http://www.ilsp.gr/META-XMLSchema}organizationInfo/{http://www.ilsp.gr/META-XMLSchema}organizationShortName[1]"
"litsentsi valdaja" "distributionInfo/iprHolder" ".//x:distributionInfo/x:iprHolder"
"distributionInfo/iprHolder/organizationInfo/organizationShortName" "lang=en" ".//x:distributionInfo/x:iprHolder/x:organizationInfo/x:organizationShortName[@lang=""en""]" "UT" 230 "{http://www.ilsp.gr/META-XMLSchema}distributionInfo/{http://www.ilsp.gr/META-XMLSchema}iprHolder/{http://www.ilsp.gr/META-XMLSchema}organizationInfo/{http://www.ilsp.gr/META-XMLSchema}organizationShortName[2]"
"distributionInfo/iprHolder/organizationInfo/departmentName" "lang=et" ".//x:distributionInfo/x:iprHolder/x:organizationInfo/x:departmentName[@lang=""et""]" "Arvutiteaduse instituut" 230 "{http://www.ilsp.gr/META-XMLSchema}distributionInfo/{http://www.ilsp.gr/META-XMLSchema}iprHolder/{http://www.ilsp.gr/META-XMLSchema}organizationInfo/{http://www.ilsp.gr/META-XMLSchema}departmentName[1]"
"distributionInfo/iprHolder/organizationInfo/departmentName" "lang=en" ".//x:distributionInfo/x:iprHolder/x:organizationInfo/x:departmentName[@lang=""en""]" "Institute of Computer Science" 230 "{http://www.ilsp.gr/META-XMLSchema}distributionInfo/{http://www.ilsp.gr/META-XMLSchema}iprHolder/{http://www.ilsp.gr/META-XMLSchema}organizationInfo/{http://www.ilsp.gr/META-XMLSchema}departmentName[2]"
......@@ -409,6 +410,7 @@ http://ekkam.ut.ee/ru/index.php?id=teadustoo (RUS)" 541 "{http://www.ilsp.gr/ME
"distributionInfo/licenceInfo/licensor/organizationInfo/departmentName" "lang=et" ".//x:distributionInfo/x:licenceInfo/x:licensor/x:organizationInfo/x:departmentName[@lang=""et""]" "Arvutiteaduse instituut" 547 "{http://www.ilsp.gr/META-XMLSchema}distributionInfo/{http://www.ilsp.gr/META-XMLSchema}licenceInfo[1]/{http://www.ilsp.gr/META-XMLSchema}licensor/{http://www.ilsp.gr/META-XMLSchema}organizationInfo/{http://www.ilsp.gr/META-XMLSchema}departmentName[1]"
"distributionInfo/licenceInfo/licensor/organizationInfo/departmentName" "lang=en" ".//x:distributionInfo/x:licenceInfo/x:licensor/x:organizationInfo/x:departmentName[@lang=""en""]" "Institute of Computer Science" 547 "{http://www.ilsp.gr/META-XMLSchema}distributionInfo/{http://www.ilsp.gr/META-XMLSchema}licenceInfo[1]/{http://www.ilsp.gr/META-XMLSchema}licensor/{http://www.ilsp.gr/META-XMLSchema}organizationInfo/{http://www.ilsp.gr/META-XMLSchema}departmentName[2]"
"resourceCreationInfo/resourceCreator/personInfo/givenName" "lang=et" ".//x:resourceCreationInfo/x:resourceCreator/x:personInfo/x:givenName[@lang=""et""]" "Kadri" 548 "{http://www.ilsp.gr/META-XMLSchema}resourceCreationInfo/{http://www.ilsp.gr/META-XMLSchema}resourceCreator[1]/{http://www.ilsp.gr/META-XMLSchema}personInfo/{http://www.ilsp.gr/META-XMLSchema}givenName"
"ressursi looja" "resourceCreationInfo/resourceCreator/personInfo" ".//x:resourceCreationInfo/x:resourceCreator/x:personInfo"
"resourceComponentType/corpusInfo/corpusMediaType/corpusVideoInfo/mediaType" ".//x:resourceComponentType/x:corpusInfo/x:corpusMediaType/x:corpusVideoInfo/x:mediaType" "video" 554 "{http://www.ilsp.gr/META-XMLSchema}resourceComponentType/{http://www.ilsp.gr/META-XMLSchema}corpusInfo/{http://www.ilsp.gr/META-XMLSchema}corpusMediaType/{http://www.ilsp.gr/META-XMLSchema}corpusVideoInfo/{http://www.ilsp.gr/META-XMLSchema}mediaType"
"resourceComponentType/corpusInfo/corpusMediaType/corpusVideoInfo/sizeInfo/size" ".//x:resourceComponentType/x:corpusInfo/x:corpusMediaType/x:corpusVideoInfo/x:sizeInfo/x:size" 30 554 "{http://www.ilsp.gr/META-XMLSchema}resourceComponentType/{http://www.ilsp.gr/META-XMLSchema}corpusInfo/{http://www.ilsp.gr/META-XMLSchema}corpusMediaType/{http://www.ilsp.gr/META-XMLSchema}corpusVideoInfo/{http://www.ilsp.gr/META-XMLSchema}sizeInfo/{http://www.ilsp.gr/META-XMLSchema}size"
"resourceComponentType/corpusInfo/corpusMediaType/corpusVideoInfo/sizeInfo/sizeUnit" ".//x:resourceComponentType/x:corpusInfo/x:corpusMediaType/x:corpusVideoInfo/x:sizeInfo/x:sizeUnit" "hours" 554 "{http://www.ilsp.gr/META-XMLSchema}resourceComponentType/{http://www.ilsp.gr/META-XMLSchema}corpusInfo/{http://www.ilsp.gr/META-XMLSchema}corpusMediaType/{http://www.ilsp.gr/META-XMLSchema}corpusVideoInfo/{http://www.ilsp.gr/META-XMLSchema}sizeInfo/{http://www.ilsp.gr/META-XMLSchema}sizeUnit"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment