Comments (10)
OK, this seems very reasonable.
This option is now implemented. But with a default of 'full' for now, because i want to investigate the impact of changing that first.
from ucto.
seems reasonable, and easy to do
from ucto.
I added a --noredundanttext option to ucto.
a better name is welcome
please test!
from ucto.
Test seems to work fine.
from ucto.
One important remark about this option:
When an incoming FoLiA already has some text on <p> or <s> nodes this text is left 'as-is' AND
from FoLiA v1.5 text compatibility rules will be enforced. (the normalized deeper text must equal the normalized text of the nodes)
We could decide on REMOVING the text on <p> or <s> nodes on the fly....
from ucto.
Perhaps change it into a --textredundancy
/-T
parameter that takes one of three modes?
full
- Add full text redundancy (currently the default)minimal
- Do not introduce extra redundancy, but do not remove any input textnone
- No text redundancy (actively strip and only keep the deepest level (w by definition)
I'd also propose changing the default to minimal then. Full text redundancy is not necessary usually.
from ucto.
Is this option accessible already from the frog configuration?
from ucto.
no.
I assume this is a wish :P
from ucto.
yep ;)
from ucto.
your wish is our command. So a -T / --textredundancy option is added now.
Also the default is set to 'minimal'
from ucto.
Related Issues (20)
- passthru mode should not be combined with other language options
- ucto creates invalid folia HOT 2
- Update debian package for v0.21
- Byte-order mark followed by space or tab results in Folia error HOT 7
- is this correct handling of FoLiA paragraphs with embedded Part nodes? HOT 4
- -T full option produces invalid FoLiA HOT 1
- Tokenization of t-style element that has font_typeface Feature HOT 19
- Validation of ucto output fails due to space character in FoLiA output from Piereling HOT 7
- ucto sometimes misses out on the <t> for <p> HOT 3
- IDs in UCTO in concert with tei2folia HOT 3
- Language detection default for 'unknown' language HOT 9
- Ucto with 'detectlanguages' : failure HOT 3
- remove some deprecated options HOT 6
- Ucto aborts on FoLiA creation
- Question: Concatenating word parts at soft hyphens HOT 77
- Develop a tokenizer for Premodern Slavic
- Implement (soft)hyphen handling in Ucto analogues to foliautils
- Ucto fails on some UTF-8 characters in tei2folia generated FoLiA HOT 12
- add a batch option HOT 6
- Setting -m in container does not supress punctuation-based sentence splitting HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ucto.