guesslang icon indicating copy to clipboard operation
guesslang copied to clipboard

Detect the programming language of a source code

Results 33 guesslang issues
Sort by recently updated
recently updated
newest added

Repro with latest VS Code. Example: ```json {"name":"John", "age":30, "car":null} ``` Result: Plain text Expected: JSON I can also repro with a very large JSON file.

prediction improvements

So I was investigating https://github.com/microsoft/vscode/issues/129597 And I noticed that that issue was happening was because [the file is absolutely massive](https://raw.githubusercontent.com/microsoft/TypeScript/main/src/compiler/checker.ts). That might be a tfjs issue (cc @pyu10055) What's interesting...

prediction improvements

I'm not sure how much can be done here but I thought I'd start a discussion. Here's the following TypeScript snippet: ```ts function makeThing(): Thing { let size = 0;...

prediction improvements

Has anyone been able to convert the default model to either ONNX or TFJS ? I have tried but mostly it seems to be an issue of unsupported operators. I...

Hello, does the tool detect if a source code is developed either in python 2 or 3? Thank you, GP

**Here is the example, it should identify as Python language but detects as YAML.** ``` >>> from guesslang import Guess >>> guess = Guess() >>> input_code = "def swap(a,b): c=a...

Made a update to the tensorflow requirement in guesslang module to work around this error: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts

Bumps [tensorflow](https://github.com/tensorflow/tensorflow) from 2.5.0 to 2.11.1. Release notes Sourced from tensorflow's releases. TensorFlow 2.11.1 Release 2.11.1 Note: TensorFlow 2.10 was the last TensorFlow release that supported GPU on native-Windows. Starting...

dependencies

how does vscode process with guesslang model, I am doing experiments using guesslang(python version), but i get different result when i put the same text into vscode.

I installed GuessLang2.2.2,based TensorFlow2.14.0,and I make a test, from guesslang import Guess, but when I run the code, there is Exception, No Module anmed 'tensorflow.python.training.tracking'. I find that the training.tracking...