metafacture / metafacture-documentation Goto Github PK
View Code? Open in Web Editor NEWThe central place for documentation about metafacture
Home Page: http://metafacture.github.io/metafacture-documentation/
License: Apache License 2.0
The central place for documentation about metafacture
Home Page: http://metafacture.github.io/metafacture-documentation/
License: Apache License 2.0
reset
, flushWith
and sameEntity
attributes on the various collector artefacts but also on the entity tag of MetamorphflushWith
and reset=true
is used in the MorphScript_case_1 whereas sameEntity=true
and reset=false
delivers the correct result in this Morph script_case_2combine
uses the sameEntity=true
attribute for collecting the various values of an Entity
in combination with an If
Statement (and no inside collectors) while concat
needs the flushWith
Attribute in combination with IF
and combine
with reset=true
attribute as the outer collectorThanks for any replies!!
Günter
https://github.com/metafacture/metafacture-documentation/blob/master/flux-commands.md
Other decoder as decode-aseq
and decode-mab
have documented that they need UTF-8 but decode-marc
has not. So where do we have to document this?
We realized that the documentation of Metafacture is scattered, often not linked to each other and sometimes outdated.
To improve the documentation we first have to get an overview of the existing documenation. To examine all parts of the documentation we want to create a table in this repository and add the following informationen to this table:
The goal of this ticket is to create the table as described above to form a basis with wich we can discuss the next steps.
In our get together at SWIB15 (see [1]) we decided to create a metafacture account on Twitter that should automatically tweet updates to the issues in this repo.
In lobid we use the gdata PercentEscaper ,which implements RFC 3986, instead of the java URLEncoder. With the former it's easy to escape URIs which have e.g. slashes in their URI path, see lobid/lodmill#517.
It's deliberately a new morph function (and not just a bug fix of the existing URLEncode) because it uses a foreign library, gdata
, and it is agreed to keep these at a minimum. For the ease of use it would be nice, though, if it would be part of metafacture-core.
We get in trouble because of insufficient memory and had to split the data in smaller sets for processing which is not only cumbersome but also gives wrong results because analysis has to be done on the complete data set.
I have seen there is a mechanism triggered by a flag called 'memorylow'
https://github.com/culturegraph/metafacture-core/blob/master/src/main/java/org/culturegraph/mf/stream/pipe/sort/AbstractTripleSort.java#L99
which makes it possible to swap triples to the file system as temporary store
Thanks for any hints - Günter!
Is there already a way to remove duplicates from metamorph arrays?
Preferably, a "unique" attribute or option would exist within the "entity" tag.
Otherwise, the implementation of an ArrayDuplicateRemover would be the way to go, I guess. This solution should be more expensive in terms of calculation duration.
Corresponding issue: hbz/lobid-organisations#18
Morph code used so far: https://github.com/hbz/lobid-organisations/blob/c72429235ddd3fe713449e39b8456df921f32b6b/src/main/resources/morph-enriched.xml#L304
Morph output: http://beta.lobid.org/organisations/DE-9
The occurrence of this duplicate is caused by input data. Nevertheless, it is desirable to have a removal option.
The signature is the central info when constructing an FLUX workflow it shows which input is needed and what output is created by an modul. This gives orientation which modul can be combined.
It should be highlighted so one can combiner flux moduls more easily.
change-id
---------
- description: By default changes the record ID to the value of the '_id' literal (if present). Use the contructor to choose another literal as ID source.
- options: keepidliteral (boolean), idliteral (String), keeprecordswithoutidliteral (boolean)
- signature: StreamReceiver -> StreamReceiver
- java class: org.metafacture.mangling.RecordIdChanger
In our get together at SWIB15 (see [1]) we decided to use the issue tracker in this repo as our central place for all kinds of documentation. Since issues are not part of the Git repo, we decided to set up automatic backups for the issues using the GitHub API.
https://github.com/metafacture/metafacture-documentation/blob/master/flux-commands.md#template
Some strange font.
@fsteeg could you fix that?
This option is not supported. So I would just delete it.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.