Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    theolivenbaum
    @theolivenbaum
    btw the link I sent you is the wrong one: this is what you need: https://github.com/henon/Python.Included
    or this is you would manage the python installation locally: https://github.com/henon/pythonnet_netstandard
    Daniel Ellison
    @zigguratt
    Thanks for the links! I'll definitely look into it. And an extra thank you because this now has nothing to do with Catalyst. :)
    theolivenbaum
    @theolivenbaum
    image.png
    just wrote an wrapper for spacy under catalyst, works like a charm :)
    will publish a nuget package over the weeknd for it with some sample code for how to use it
    Daniel Ellison
    @zigguratt
    Nice!
    theolivenbaum
    @theolivenbaum
    There's a sample project in the repository on github... Very much wip, need to connect better with some of the data from spacy, and expose more functionality from it. If you've any suggestions feel free to send a PR!
    Daniel Ellison
    @zigguratt
    Thanks for that! I took a look at Python.Included. It's pretty fantastic but only works on Windows right now. Python.NET covers Windows, Mac, and Linux, but would require the user to have Python installed. These look like fantastic solutions for the future, but for my particular project, to use any Python-based solution I would have to set up a public server that can be queried by the Unity game engine at runtime. I'm not eager to do that, however, so it looks like I'm stuck using IKVM/OpenNLP for the time being. Ah well. It works, anyway. Thank you for your help, @theolivenbaum !
    Roberto
    @GalawynRM
    Good evening, I need some help to write my first pattern
    i would recognize patterns of this type: C01 or C01 col. 2 where technically, one letter + 1 or 2 numerig digits, and optional token (col or col.) and 1 or 2 numeric digits
    mp => mp.Add(
    new PatternUnit(P.Single().WithTokens(quadriTokens)),
    new PatternUnit(P.Single().HasNumeric())
    )
    this one, is not working. (quadriTokens contains a list of acceptable letters A->H
    and of course, the one i would write is
    mp => mp.Add(
    new PatternUnit(P.Single().WithTokens(quadriTokens)),
    new PatternUnit(P.Single().WithLength(1, 2).HasNumeric()),
    new PatternUnit(P.SingleOptional().WithTokens(colTokens)),
    new PatternUnit(P.SingleOptional().WithLength(1, 2).HasNumeric())
    )
    where i mistake?
    theolivenbaum
    @theolivenbaum
    Hi Roberto,
    You text is probably being tokenized as "C01" and not as "C" + "02" (i.e. one token). You probably want to set the pattern as a Prefix + Shape (for example: X99)
    it's useful to try how the text is tokenized first to see how the patterns should look like
    Andrew Lishchytovych
    @alishchytovych
    Hi guys, help me please to find out the best way to do the following. I have the text phrases like this "please tell the person, she needs to stop doing that" among others, I need to identify that sentence as "call to action" (tell) and identify the part of the sentence with "what to do" (she needs to stop doing ...). I'm very new to CatalystNLP, so can't figure out similar to spaCy's intent parsing approach. What should I use from the Calayst to achieve the goal?
    CodeRabbit957
    @CodeRabbit957
    Hi. What's the difference between the catalyst.models and conceptNet language packages?
    theolivenbaum
    @theolivenbaum
    Hi @CodeRabbit957, the models package contains base shared models for the language. The concept net ones are for extra metadata like synonyms, antonyms, etc that come from the ConceptNet project.
    CodeRabbit957
    @CodeRabbit957

    Hi. How do load from a json file?

    I've tried and I got an external error:
    System.NullReferenceException
    HResult=0x80004003
    Message=Object reference not set to an instance of an object.
    Source=Mosaik.Core
    StackTrace:
    at Mosaik.Core.Languages.CodeToEnum(String input)
    at Catalyst.Document.FromJObject(JObject jo)
    at MyraTest3.Chatbot.Train.LoadIntentsFromJson(String json) in C:\Users....

    I'm not sure if it's an error on my end or a bug in Mosaik.Core. Any advice?

    The line that threw the error was return Document.FromJson(json);
    theolivenbaum
    @theolivenbaum
    Hi @CodeRabbit957 - that message seems to indicate that the language field was null - do you have a sample of the json you're trying to load that I coudl take a look at?