Giter Club home page Giter Club logo

Comments (7)

desilinguist avatar desilinguist commented on August 26, 2024

Are you using text files or xml files? The fakedoc trick is used for text
files since it can't contain any metadata.
On Fri, Sep 18, 2015 at 2:40 AM Nathan Glenn [email protected]
wrote:

Whatever the name of the document I load, the DocId is presented as
"fakedoc".


Reply to this email directly or view it on GitHub
#1.

from ibleu.

garfieldnate avatar garfieldnate commented on August 26, 2024

Yes, I'm using text files. After debugging the application for #2 I saw how this trick worked. As a user it surprised me, though, because my text files were not named "fakedoc", and I was expecting the display to show the name of the hypothesis file (minus .txt).

from ibleu.

desilinguist avatar desilinguist commented on August 26, 2024

Indeed. That would be a better option. It just didn't occur to me to do
that when I first wrote this originally. Pull request welcome :)

Thanks for the Chrome stuff too.
On Fri, Sep 18, 2015 at 7:02 PM Nathan Glenn [email protected]
wrote:

Yes, I'm using text files. After debugging the application for #2
#2 I saw how this trick
worked. As a user it surprised me, though, because my text files were not
named "fakedoc", and I was expecting the display to show the name of the
hypothesis file (minus .txt).


Reply to this email directly or view it on GitHub
#1 (comment).

from ibleu.

desilinguist avatar desilinguist commented on August 26, 2024

BTW, the fakedoc trick is fully documented in the readme so I don't think
it's that big a deal.
On Fri, Sep 18, 2015 at 7:03 PM Nitin Madnani [email protected] wrote:

Indeed. That would be a better option. It just didn't occur to me to do
that when I first wrote this originally. Pull request welcome :)

Thanks for the Chrome stuff too.
On Fri, Sep 18, 2015 at 7:02 PM Nathan Glenn [email protected]
wrote:

Yes, I'm using text files. After debugging the application for #2
#2 I saw how this trick
worked. As a user it surprised me, though, because my text files were not
named "fakedoc", and I was expecting the display to show the name of the
hypothesis file (minus .txt).


Reply to this email directly or view it on GitHub
#1 (comment).

from ibleu.

garfieldnate avatar garfieldnate commented on August 26, 2024

Yeah, it's not a show-stopper. I just think it would make more sense to the user to use a file name or something.

from ibleu.

desilinguist avatar desilinguist commented on August 26, 2024

I agree.
On Fri, Sep 18, 2015 at 19:44 Nathan Glenn [email protected] wrote:

Yeah, it's not a show-stopper. I just think it would make more sense to
the user to use a file name or something.


Reply to this email directly or view it on GitHub
#1 (comment).

from ibleu.

desilinguist avatar desilinguist commented on August 26, 2024

I am happy to take pull requests for this as I don't really have time to work on this for now.

from ibleu.

Related Issues (5)

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.