Code Monkey home page Code Monkey logo

Comments (8)

dan-zeman avatar dan-zeman commented on August 18, 2024

"nondeterministic" also caught my attention, although not so much to raise the question. But it is misleading. I think it should read "dependent on morphosyntax of the given language".

from docs.

spyysalo avatar spyysalo commented on August 18, 2024

Related in updated http://universaldependencies.github.io/docs/tokenization.html: "word segmentation is itself a complex non-deterministic process", "word segmentation is simple and deterministic", ", in languages where there is a nondeterministic mapping".

from docs.

jnivre avatar jnivre commented on August 18, 2024

Thanks for picking my nits. I agree that the examples are not good for illustrating the issue of nondeterminism (which I nevertheless think is important). They were originally chosen to illustrate the need to extract words out of whitespace separated tokens (whether nondeterministic or not) but have now ended up in the wrong context. I will try to rework the text.

from docs.

jnivre avatar jnivre commented on August 18, 2024

I revised the text. Let me know what you think!

from docs.

spyysalo avatar spyysalo commented on August 18, 2024

Thank you, this fully clarifies the issue for me! (Closing)

from docs.

dan-zeman avatar dan-zeman commented on August 18, 2024

I also like the current version, thanks!

from docs.

manning avatar manning commented on August 18, 2024

I did one more edit to remove the final use of "deterministic". I think that what Joakim means by "deterministic" is that there's a simple python script that could do the job, without lexicons, morphological analysis, etc. I agree that "deterministic" seems the wrong term, since for something like Arabic, you might use tools like SAMA and Amira, for which the output for a token is deterministic, but it would be very useful to have a two-level representation.

from docs.

jnivre avatar jnivre commented on August 18, 2024

Thanks, guys. I removed some redundancy in the sentence that had two "simple" close to each other, but was careful not to reinsert the word "deterministic". :) What I meant was simply that the mapping can be performed by a deterministic transducer that does not consider anything but the character sequence itself. If ABCD always splits into AB and CD, then it is deterministic. But if ABCD can correspond either to AB and CD, or to A and BCD, then it is nondeterministic. But I agree that it is better not to use this terminology.

from docs.

Related Issues (20)

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.