Added some translation + csv output changed to tsl.

This commit is contained in:
Luka 2019-04-26 10:00:11 +02:00
parent 3dbc5841dd
commit e103bfa38d
2 changed files with 27 additions and 27 deletions

View File

@ -117,7 +117,7 @@ public class Export {
title = statistics.generateResultTitle();
fileName = title.replace(": ", "-");
fileName = fileName.replace(" ", "_").concat(".csv");
fileName = fileName.replace(" ", "_").concat(".tsv");
fileName = resultsPath.toString().concat(File.separator).concat(fileName);
@ -130,7 +130,7 @@ public class Export {
CSVPrinter csvFilePrinter = null;
//Create the CSVFormat object with "\n" as a record delimiter it puts all words in braces
CSVFormat csvFileFormat = CSVFormat.DEFAULT.withRecordSeparator(NEW_LINE_SEPARATOR).withDelimiter(';').withQuoteMode(QuoteMode.ALL);
CSVFormat csvFileFormat = CSVFormat.DEFAULT.withRecordSeparator(NEW_LINE_SEPARATOR).withDelimiter('\t').withQuoteMode(QuoteMode.ALL);
try {
//initialize FileWriter object
@ -300,7 +300,7 @@ public class Export {
CSVPrinter csvFilePrinter = null;
//Create the CSVFormat object with "\n" as a record delimiter
CSVFormat csvFileFormat = CSVFormat.DEFAULT.withRecordSeparator(NEW_LINE_SEPARATOR).withDelimiter(';');
CSVFormat csvFileFormat = CSVFormat.DEFAULT.withRecordSeparator(NEW_LINE_SEPARATOR).withDelimiter('\t');
try {
//initialize FileWriter object

View File

@ -203,24 +203,24 @@ exportHeader.analysis.letters=characters
exportHeader.analysis.wordParts=word parts
exportHeader.analysis.words=words
exportHeader.analysis.wordSets=word sets
exportHeader.numberLetters=Number of characters:
exportHeader.numberLetters=Length of character strings:
exportHeader.calculateFor=Calculate for:
exportHeader.alsoFilter=Also split by:
exportHeader.displayTaxonomies=Display taxonomy branches:
exportHeader.ngramLevel=N-gram level:
exportHeader.ngramLevel=N-gram length:
exportHeader.skipValue=Skip value:
exportHeader.notePunctuations=Include punctuation:
exportHeader.collocability=Collocability:
exportHeader.writeMSDAtTheEnd=Write tag at the end:
exportHeader.writeMSDAtTheEnd=Split MSD tag:
exportHeader.prefixLength=Initial part length:
exportHeader.suffixLength=Final part length:
exportHeader.prefixList=Initial part list:
exportHeader.suffixList=Final part list:
exportHeader.prefixList=List of initial parts:
exportHeader.suffixList=List of final parts:
exportHeader.msd=Morphosyntactic tag:
exportHeader.taxonomy=Filter by taxonomy:
exportHeader.minOccurrences=Min. nr. occurrences:
exportHeader.minTaxonomies=Min. nr. taxonomy branches:
exportHeader.minRelFre=Min. rel. frequency nr.:
exportHeader.minRelFre=Min. rel. frequency:
exportHeader.additionalFilters=Additional filters:
exportHeader.yes=yes
exportHeader.no=no
@ -243,39 +243,39 @@ exportTable.part.word=words:
exportTable.part.lowercaseWord=lowercase words:
exportTable.part.normalizedWord=normalized words:
exportTable.part.lemma=lemmas:
exportTable.part.msd=msd:
exportTable.part.msdProperty=msd property:
exportTable.part.wordType=word type:
exportTable.part.msd=morphosyntactic tags:
exportTable.part.msdProperty=morphosyntactic properties:
exportTable.part.wordType=parts of speech:
exportTable.part.letterSet=character set
exportTable.part.letterSet=character string
exportTable.part.word2=word
exportTable.part.lowercaseWord2=lowercase word
exportTable.part.normalizedWord2=normalized word
exportTable.part.lemma2=lemma
exportTable.part.msd2=msd
exportTable.part.msdProperty2=msd property
exportTable.part.wordType2=word type
exportTable.part.msd2=morphosyntactic tag
exportTable.part.msdProperty2=morphosyntactic property
exportTable.part.wordType2=part of speech
exportTable.part.letterSet2=Share of total sum of all letter sets
exportTable.part.letterSet3=Letter set
exportTable.part.letterSet2=Percentage based on the total sum of all found character strings
exportTable.part.letterSet3=Character string
exportTable.part.word3=Word
exportTable.part.lowercaseWord3=Lowercase word
exportTable.part.normalizedWord3=Normalized word
exportTable.part.lemma3=Lemma
exportTable.part.msd3=Msd
exportTable.part.msdProperty3=Msd property
exportTable.part.wordType3=Word type
exportTable.part.msd3=Morphosyntactic tag
exportTable.part.msdProperty3=Morphosyntactic property
exportTable.part.wordType3=Part of speech
exportTable.part.set=set
exportTable.part.share=Absolute share of
exportTable.part.share=Percentage of all hits
exportTable.part.absoluteFrequency=Absolute frequency of
exportTable.part.totalFound=Total sum of all
exportTable.part.totalFoundLetters=Total sum of all found letters of
exportTable.part.totalSumString=Total sum of
exportTable.part.totalSumLetters=Total sum of all letters of
exportTable.part.totalFound=Total sum of all found
exportTable.part.totalFoundLetters=Total sum of all found character strings of
exportTable.part.totalSumString=Total sum of all
exportTable.part.totalSumLetters=Total sum of all character strings
# generated files names
exportFileName.letters=letters
exportFileName.letters=characters
exportFileName.wordParts=word-parts
exportFileName.words=words
exportFileName.wordSets=word-sets