siiptuo / kriobot Goto Github PK
View Code? Open in Web Editor NEWWikidata bot
Wikidata bot
Line 32 in 5937a88
Based on Böja svenska verb by Om svenska.
For example lexeme "chest of drawers" combines lexemes "chest", "of" and "drawer".
Something like this:
SELECT ?lexeme ?lemma ?dateModified WHERE {
?lexeme dct:language wd:Q1860;
wikibase:lemma ?lemma;
schema:dateModified ?dateModified.
hint:Prior hint:rangeSafe true.
FILTER(?dateModified > "+2023-01-10T00:00:00Z"^^xsd:dateTime)
}
WMF has a policy that makes it easier for them to find malicious code hitting their endpoints. See opencitationsbot for how to set a user agent with WBI.
In https://www.wikidata.org/w/index.php?title=Lexeme%3AL242808&diff=1495165027&oldid=1407681033 kriobot split förvarning into "förvara" and "-ning", which seems wrong to me, since the noun for förvara is "förvaring".
Compare:
https://sv.wiktionary.org/wiki/f%C3%B6rvaring
https://sv.wiktionary.org/wiki/f%C3%B6rvarning
I changed the item in https://www.wikidata.org/w/index.php?title=Lexeme%3AL242808&diff=1791659518&oldid=1511281980, but wanted to give a heads up on this problem case.
Find candidates with something like this:
SELECT ?lexemeId ?lemma WHERE {
?lexemeId dct:language wd:Q1860;
wikibase:lemma ?lemma;
wdt:P5238 ?lexemes.
FILTER(NOT EXISTS { ?lexemeId ontolex:lexicalForm ?form. })
}
Maybe skip idioms and other multi-word lexemes as these can be difficult to inflect correctly.
I suggest simplifying by checking if len() == 1 and return None in all other cases
Line 16 in 5937a88
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.