Giter Site home page Giter Site logo

Add examples of output about wikicompiler HOT 7 CLOSED

iwasingh avatar iwasingh commented on August 16, 2024
Add examples of output

from wikicompiler.

Comments (7)

iwasingh avatar iwasingh commented on August 16, 2024 1

@hugolpz Thank you for the feedback, i'll put some output examples and update the README accordingly

from wikicompiler.

hugolpz avatar hugolpz commented on August 16, 2024 1

Side note: I cited your project in google/corpuscrawler#78 , a linguistic diversity project who kick started Google Android keyboard input suggestions (if i understood well), and whom's data (UNILEX) now helps wiktionaries for words to document. The corpuscrawler projects is lowly active thanks to few volunteers, but initially generated data for ~1000 languages. They both could gain from clean corpus extrated from Wikipedia's 300+ languages.

from wikicompiler.

iwasingh avatar iwasingh commented on August 16, 2024 1

@hugolpz Added some examples https://github.com/iwasingh/Wikicompiler#examples.
Thank your for the citation
I would like to let you know that this project was born inside a search engine project https://github.com/iwasingh/Wikoogle i made a while ago. I needed a clean corpus to do some information retrieval tasks similar to corpuscrawler and at the time i was able to find only two ways to get a clean text:

from wikicompiler.

iwasingh avatar iwasingh commented on August 16, 2024 1

I'm gonna close the issue, feel free to open another one for other questions or discussions

from wikicompiler.

hugolpz avatar hugolpz commented on August 16, 2024

API calls and Wikiextrator are the two ways i found so far. WCC is a new avenue. Similarly, i am not convinced that templates would had value to a linguistic project. Most templates are infoboxes (data) or community warnings. Minority are inline templates, by example to help convert US miles into SI km. But then again, it isnt of high value for high frequency lexical linguistic.

Also, do you have a built in way to ignore the == See also == and == References == sections ? Or is there a recommended way to remove such content ? Ortherwise i think some brutal regex will do.

Thank you for the project history & review. 🙏🏼

from wikicompiler.

iwasingh avatar iwasingh commented on August 16, 2024

Well, there are several way to ignore those headers,
the simplest one that came up in my mind is to add these 2 headers inside the IGNORED_TAGS of symbols in the lexer module https://github.com/iwasingh/Wikicompiler/blob/master/lexer/symbols.py#L219

r'== See also =='
r'== References =='

from wikicompiler.

hugolpz avatar hugolpz commented on August 16, 2024

Yes, thank for the readme fix 👍🏼

from wikicompiler.

Related Issues (1)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.